web-tct_2.4_wrt 89/50289/1 tizen_2.4
authorjh0219.han <jh0219.han@samsung.com>
Tue, 27 Oct 2015 12:06:43 +0000 (21:06 +0900)
committerjh0219.han <jh0219.han@samsung.com>
Tue, 27 Oct 2015 12:06:43 +0000 (21:06 +0900)
Change-Id: I88f6e66a2371d54553c76dc06c0fb8cbaaf6da49

1005 files changed:
Makefile.am
common/Makefile.am
common/tct-appwgt-wrt-tests/configure.ac
common/tct-appwgt-wrt-tests/tct-appwgt-wrt-tests.spec
common/tct-appwgt-wrt-tests/tests.xml
common/tct-ext02-wrt-tests/configure.ac
common/tct-ext02-wrt-tests/tct-ext02-wrt-tests.spec
common/tct-ext02-wrt-tests/tests.xml
common/tct-maxLength-wrt-tests/configure.ac
common/tct-maxLength-wrt-tests/manifest.json
common/tct-maxLength-wrt-tests/tct-maxLength-wrt-tests.spec
common/tct-maxLength-wrt-tests/tests.full.xml
common/tct-maxLength-wrt-tests/tests.xml
common/tct-pm-wrt-tests/Sample-widget/config.xml
common/tct-pm-wrt-tests/WIdgetIDAppID-different/config.xml
common/tct-pm-wrt-tests/WIdgetIDAppID-same1/config.xml
common/tct-pm-wrt-tests/WIdgetIDAppID-same2/config.xml
common/tct-pm-wrt-tests/configure.ac
common/tct-pm-wrt-tests/feature-element-be-ignored/config.xml
common/tct-pm-wrt-tests/tct-pm-wrt-tests.spec
common/tct-pm-wrt-tests/test-hosted-widget/config.xml
common/tct-pm-wrt-tests/test-widget/config.xml
common/tct-pm-wrt-tests/tests.xml
common/tct-pm-wrt-tests/uninstallation-application-erased/config.xml
common/tct-pm-wrt-tests/widget-version-1-1/config.xml
common/tct-pm-wrt-tests/widget-version-1-2/config.xml
common/tct-pm-wrt-tests/widget-version-1/config.xml
common/tct-pm-wrt-tests/widget-version-2-1/config.xml
common/tct-pm-wrt-tests/widget-version-2/config.xml
common/tct-pm-wrt-tests/widget-version-3-1/config.xml
common/tct-pm-wrt-tests/widget-version-3/config.xml
common/tct-rt01-wrt-tests/configure.ac
common/tct-rt01-wrt-tests/dom-events-audio-onerror/testrunner.js
common/tct-rt01-wrt-tests/dom-events-video-onerror/testrunner.js
common/tct-rt01-wrt-tests/lifecycle-hide-running-app/testrunner.js
common/tct-rt01-wrt-tests/lifecycle-load-event/testrunner.js
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-get-false/testrunner.js
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-get/testrunner.js
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-head-false/testrunner.js
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-head/testrunner.js
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-invalid/testrunner.js
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-null/testrunner.js
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-post-false/testrunner.js
common/tct-rt01-wrt-tests/other-uri-XMLHttpRequest-post/testrunner.js
common/tct-rt01-wrt-tests/tct-rt01-wrt-tests.spec
common/tct-rt01-wrt-tests/tests.xml
common/tct-rt02-wrt-tests/README
common/tct-rt02-wrt-tests/configure.ac
common/tct-rt02-wrt-tests/lifecycle-exit-running-app/config.xml
common/tct-rt02-wrt-tests/lifecycle-hide-running-app/config.xml
common/tct-rt02-wrt-tests/lifecycle-launch-installed-app/config.xml
common/tct-rt02-wrt-tests/lifecycle-launch-removed-app/config.xml
common/tct-rt02-wrt-tests/tct-rt02-wrt-tests.spec
common/tct-rt02-wrt-tests/tests.xml
common/tct-sp01-wrt-tests/configure.ac
common/tct-sp01-wrt-tests/protection-decrypt-css/testrunner.js
common/tct-sp01-wrt-tests/protection-decrypt-html/testrunner.js
common/tct-sp01-wrt-tests/protection-decrypt-js/testrunner.js
common/tct-sp01-wrt-tests/storage-cookies-check/testrunner.js
common/tct-sp01-wrt-tests/tct-sp01-wrt-tests.spec
common/tct-sp01-wrt-tests/tests.xml
common/tct-sp02-wrt-tests/configure.ac
common/tct-sp02-wrt-tests/tct-sp02-wrt-tests.spec
common/tct-sp02-wrt-tests/tests.xml
common/tct-stab-wrt-tests/configure.ac
common/tct-stab-wrt-tests/setting-bs-enable/index.html
common/tct-stab-wrt-tests/tct-stab-wrt-tests.spec
common/tct-stab-wrt-tests/tests.xml
configure.ac
mobile/Makefile.am
mobile/tct-ext01-wrt-tests/configure.ac
mobile/tct-ext01-wrt-tests/tct-ext01-wrt-tests.spec
mobile/tct-ext01-wrt-tests/tests.xml
mobile/tct-privilege-wrt-tests/configure.ac
mobile/tct-privilege-wrt-tests/tct-privilege-wrt-tests.spec
mobile/tct-ui01-wrt-tests/configure.ac
mobile/tct-ui01-wrt-tests/multiple-other-alarm/multiple-other-alarm-test.html
mobile/tct-ui01-wrt-tests/multiple-other-application-launch/multiple-other-application-launch-test.html
mobile/tct-ui01-wrt-tests/multiple-other-application-read/multiple-other-application-read-test.html
mobile/tct-ui01-wrt-tests/multiple-other-bluetooth-admin/multiple-other-bluetooth-admin-test.html
mobile/tct-ui01-wrt-tests/multiple-other-bluetooth-gap/multiple-other-bluetooth-gap-test.html
mobile/tct-ui01-wrt-tests/multiple-other-bluetooth-spp/multiple-other-bluetooth-spp-test.html
mobile/tct-ui01-wrt-tests/multiple-other-calendar-read/multiple-other-calendar-read-test.html
mobile/tct-ui01-wrt-tests/multiple-other-calendar-write/multiple-other-calendar-write-test.html
mobile/tct-ui01-wrt-tests/multiple-other-callhistory-read/multiple-other-callhistory-read-test.html
mobile/tct-ui01-wrt-tests/multiple-other-callhistory-write/multiple-other-callhistory-write-test.html
mobile/tct-ui01-wrt-tests/multiple-other-contact-read/multiple-other-contact-read-test.html
mobile/tct-ui01-wrt-tests/multiple-other-contact-write/multiple-other-contact-write-test.html
mobile/tct-ui01-wrt-tests/multiple-other-content-read/multiple-other-content-read-test.html
mobile/tct-ui01-wrt-tests/multiple-other-content-write/multiple-other-content-write-test.html
mobile/tct-ui01-wrt-tests/multiple-other-download/multiple-other-download-test.html
mobile/tct-ui01-wrt-tests/multiple-other-filesystem-read/multiple-other-filesystem-read-test.html
mobile/tct-ui01-wrt-tests/multiple-other-filesystem-write/multiple-other-filesystem-write-test.html
mobile/tct-ui01-wrt-tests/multiple-other-messaging-read/multiple-other-messaging-read-test.html
mobile/tct-ui01-wrt-tests/multiple-other-messaging-send/multiple-other-messaging-send-test.html
mobile/tct-ui01-wrt-tests/multiple-other-messaging-write/multiple-other-messaging-write-test.html
mobile/tct-ui01-wrt-tests/multiple-other-nfc-admin/multiple-other-nfc-admin-test.html
mobile/tct-ui01-wrt-tests/multiple-other-nfc-common/multiple-other-nfc-common-test.html
mobile/tct-ui01-wrt-tests/multiple-other-nfc-p2p/multiple-other-nfc-p2p-test.html
mobile/tct-ui01-wrt-tests/multiple-other-nfc-tag/multiple-other-nfc-tag-test.html
mobile/tct-ui01-wrt-tests/multiple-other-notification/multiple-other-notification-test.html
mobile/tct-ui01-wrt-tests/multiple-other-power/multiple-other-power-test.html
mobile/tct-ui01-wrt-tests/multiple-other-systeminfo/multiple-other-systeminfo-test.html
mobile/tct-ui01-wrt-tests/multiple-other-systemsetting/multiple-other-systemsetting-test.html
mobile/tct-ui01-wrt-tests/multiple-other-time/config.xml
mobile/tct-ui01-wrt-tests/multiple-other-time/multiple-other-time-test.html
mobile/tct-ui01-wrt-tests/multiple-other-tizen/multiple-other-tizen-test.html
mobile/tct-ui01-wrt-tests/tct-ui01-wrt-tests.spec
mobile/tct-ui01-wrt-tests/tests.xml
packall.sh
wearable/Makefile.am [deleted file]
wearable/README [deleted file]
wearable/packall.sh [deleted file]
wearable/tct-ext01-wrt-tests/COPYING [deleted file]
wearable/tct-ext01-wrt-tests/Makefile.am [deleted file]
wearable/tct-ext01-wrt-tests/README [deleted file]
wearable/tct-ext01-wrt-tests/application-privilege/config.xml [deleted file]
wearable/tct-ext01-wrt-tests/application-privilege/icon.png [deleted file]
wearable/tct-ext01-wrt-tests/application-privilege/index.html [deleted file]
wearable/tct-ext01-wrt-tests/application-privilege/jquery-1.10.2.min.js [deleted file]
wearable/tct-ext01-wrt-tests/application-privilege/resources/testharness.css [deleted file]
wearable/tct-ext01-wrt-tests/application-privilege/resources/testharness.js [deleted file]
wearable/tct-ext01-wrt-tests/application-privilege/resources/testharnessreport.js [deleted file]
wearable/tct-ext01-wrt-tests/application-privilege/test_index.html [deleted file]
wearable/tct-ext01-wrt-tests/application-privilege/testrunner.js [deleted file]
wearable/tct-ext01-wrt-tests/autogen [deleted file]
wearable/tct-ext01-wrt-tests/configure.ac [deleted file]
wearable/tct-ext01-wrt-tests/inst.sh.wgt [deleted file]
wearable/tct-ext01-wrt-tests/metadata-support/config.xml [deleted file]
wearable/tct-ext01-wrt-tests/metadata-support/icon.png [deleted file]
wearable/tct-ext01-wrt-tests/metadata-support/index.html [deleted file]
wearable/tct-ext01-wrt-tests/metadata-support/jquery-1.10.2.min.js [deleted file]
wearable/tct-ext01-wrt-tests/metadata-support/resources/testharness.css [deleted file]
wearable/tct-ext01-wrt-tests/metadata-support/resources/testharness.js [deleted file]
wearable/tct-ext01-wrt-tests/metadata-support/resources/testharnessreport.js [deleted file]
wearable/tct-ext01-wrt-tests/metadata-support/test_index.html [deleted file]
wearable/tct-ext01-wrt-tests/metadata-support/testrunner.js [deleted file]
wearable/tct-ext01-wrt-tests/pack.sh [deleted file]
wearable/tct-ext01-wrt-tests/setting-install-location-auto/config.xml [deleted file]
wearable/tct-ext01-wrt-tests/setting-install-location-auto/icon.png [deleted file]
wearable/tct-ext01-wrt-tests/setting-install-location-auto/index.html [deleted file]
wearable/tct-ext01-wrt-tests/setting-install-location-auto/jquery-1.10.2.min.js [deleted file]
wearable/tct-ext01-wrt-tests/setting-install-location-auto/resources/testharness.css [deleted file]
wearable/tct-ext01-wrt-tests/setting-install-location-auto/resources/testharness.js [deleted file]
wearable/tct-ext01-wrt-tests/setting-install-location-auto/resources/testharnessreport.js [deleted file]
wearable/tct-ext01-wrt-tests/setting-install-location-auto/test_index.html [deleted file]
wearable/tct-ext01-wrt-tests/setting-install-location-auto/testrunner.js [deleted file]
wearable/tct-ext01-wrt-tests/signing_whitedirs [deleted file]
wearable/tct-ext01-wrt-tests/tct-ext01-wrt-tests.spec [deleted file]
wearable/tct-ext01-wrt-tests/testcase.xsl [deleted file]
wearable/tct-ext01-wrt-tests/testresult.xsl [deleted file]
wearable/tct-ext01-wrt-tests/tests.css [deleted file]
wearable/tct-ext01-wrt-tests/tests.full.xml [deleted file]
wearable/tct-ext01-wrt-tests/tests.xml [deleted file]
wearable/tct-privilege-wrt-tests/COPYING [deleted file]
wearable/tct-privilege-wrt-tests/LICENSE.Apache-2.0 [deleted file]
wearable/tct-privilege-wrt-tests/Makefile.am [deleted file]
wearable/tct-privilege-wrt-tests/README [deleted file]
wearable/tct-privilege-wrt-tests/autogen [deleted file]
wearable/tct-privilege-wrt-tests/configure.ac [deleted file]
wearable/tct-privilege-wrt-tests/inst.sh.wgt [deleted file]
wearable/tct-privilege-wrt-tests/pack.sh [deleted file]
wearable/tct-privilege-wrt-tests/scripts/Makefile.am [deleted file]
wearable/tct-privilege-wrt-tests/scripts/wrt_appwgt_installer.sh [deleted file]
wearable/tct-privilege-wrt-tests/scripts/wrt_appwgt_installfail.sh [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/author-signature.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/config.xml [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/icon.png [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/index.html [deleted file]
wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/signature1.xml [deleted file]
wearable/tct-privilege-wrt-tests/tct-privilege-wrt-tests.spec [deleted file]
wearable/tct-privilege-wrt-tests/testcase.xsl [deleted file]
wearable/tct-privilege-wrt-tests/testresult.xsl [deleted file]
wearable/tct-privilege-wrt-tests/tests.css [deleted file]
wearable/tct-privilege-wrt-tests/tests.full.xml [deleted file]
wearable/tct-privilege-wrt-tests/tests.xml [deleted file]
wearable/tct-ui01-wrt-tests/COPYING [deleted file]
wearable/tct-ui01-wrt-tests/Makefile.am [deleted file]
wearable/tct-ui01-wrt-tests/README [deleted file]
wearable/tct-ui01-wrt-tests/autogen [deleted file]
wearable/tct-ui01-wrt-tests/configure.ac [deleted file]
wearable/tct-ui01-wrt-tests/inst.sh.wgt [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-alarm/config.xml [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-alarm/icon.png [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-alarm/index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-alarm/jquery-1.10.2.min.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-alarm/multiple-other-alarm-test.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-alarm/resources/testharness.css [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-alarm/resources/testharness.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-alarm/resources/testharnessreport.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-alarm/testkit_index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-alarm/testrunner.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-launch/config.xml [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-launch/icon.png [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-launch/index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-launch/jquery-1.10.2.min.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-launch/multiple-other-application-launch-test.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-launch/resources/testharness.css [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-launch/resources/testharness.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-launch/resources/testharnessreport.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-launch/testkit_index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-launch/testrunner.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-read/config.xml [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-read/icon.png [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-read/index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-read/jquery-1.10.2.min.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-read/multiple-other-application-read-test.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-read/resources/testharness.css [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-read/resources/testharness.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-read/resources/testharnessreport.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-read/testkit_index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-application-read/testrunner.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-read/config.xml [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-read/icon.png [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-read/index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-read/jquery-1.10.2.min.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-read/multiple-other-content-read-test.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-read/resources/testharness.css [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-read/resources/testharness.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-read/resources/testharnessreport.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-read/testkit_index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-read/testrunner.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-write/config.xml [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-write/icon.png [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-write/index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-write/jquery-1.10.2.min.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-write/multiple-other-content-write-test.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-write/resources/testharness.css [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-write/resources/testharness.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-write/resources/testharnessreport.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-write/testkit_index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-content-write/testrunner.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/config.xml [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/icon.png [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/jquery-1.10.2.min.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/multiple-other-filesystem-read-test.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/resources/testharness.css [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/resources/testharness.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/resources/testharnessreport.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/testkit_index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/testrunner.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/config.xml [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/icon.png [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/jquery-1.10.2.min.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/multiple-other-filesystem-write-test.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/resources/testharness.css [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/resources/testharness.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/resources/testharnessreport.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/testkit_index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/testrunner.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-power/config.xml [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-power/icon.png [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-power/index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-power/jquery-1.10.2.min.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-power/multiple-other-power-test.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-power/resources/testharness.css [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-power/resources/testharness.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-power/resources/testharnessreport.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-power/testkit_index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-power/testrunner.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/config.xml [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/icon.png [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/jquery-1.10.2.min.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/multiple-other-systeminfo-test.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/resources/testharness.css [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/resources/testharness.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/resources/testharnessreport.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/testkit_index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/testrunner.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-time/config.xml [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-time/icon.png [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-time/index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-time/jquery-1.10.2.min.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-time/multiple-other-time-test.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-time/resources/testharness.css [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-time/resources/testharness.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-time/resources/testharnessreport.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-time/testkit_index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-time/testrunner.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-tizen/config.xml [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-tizen/icon.png [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-tizen/index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-tizen/jquery-1.10.2.min.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-tizen/multiple-other-tizen-test.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-tizen/resources/testharness.css [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-tizen/resources/testharness.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-tizen/resources/testharnessreport.js [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-tizen/testkit_index.html [deleted file]
wearable/tct-ui01-wrt-tests/multiple-other-tizen/testrunner.js [deleted file]
wearable/tct-ui01-wrt-tests/pack.sh [deleted file]
wearable/tct-ui01-wrt-tests/signing_whitedirs [deleted file]
wearable/tct-ui01-wrt-tests/tct-ui01-wrt-tests.spec [deleted file]
wearable/tct-ui01-wrt-tests/testcase.xsl [deleted file]
wearable/tct-ui01-wrt-tests/testresult.xsl [deleted file]
wearable/tct-ui01-wrt-tests/tests.css [deleted file]
wearable/tct-ui01-wrt-tests/tests.full.xml [deleted file]
wearable/tct-ui01-wrt-tests/tests.xml [deleted file]

index c66f709..287280e 100755 (executable)
@@ -28,4 +28,5 @@
 #               Fan, Yugang <yugang.fan@intel.com>
 #
 
-SUBDIRS = mobile
+SUBDIRS = mobile \
+common
index e8a9a43..3233a7a 100755 (executable)
@@ -1,5 +1,5 @@
 SUBDIRS = 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 28130d6..2545701 100755 (executable)
@@ -29,7 +29,7 @@
 #               Lin Guo <lin87.guo@samsung.com>
 #
 
-AC_INIT([tct-appwgt-wrt-tests], [2.3.1], [yunfenx.hao@intel.com])
+AC_INIT([tct-appwgt-wrt-tests], [2.4], [yunfenx.hao@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index f64c4f0..9009c4d 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3.1"
+main_version="2.4"
 release=""
 version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
index f409f4e..432093a 100755 (executable)
@@ -3,37 +3,37 @@
 <test_definition>
   <suite category="Web Runtime" name="tct-appwgt-wrt-tests">
     <set name="WebAppWidget">
-      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="app-widget-install" purpose="Check that WRT must support Web AppWidget installation.">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="app-widget-install" priority="P1" purpose="Check that WRT must support Web AppWidget installation.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-appwgt-wrt-tests/scripts/wrt_appwgt_install.sh</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="app-widget-uninstall" purpose="Check that the WRT must support Web AppWidget uninstallation.">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="app-widget-uninstall" priority="P1" purpose="Check that the WRT must support Web AppWidget uninstallation.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-appwgt-wrt-tests/scripts/wrt_appwgt_uninstall.sh</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="app-widget-signature-invalid" purpose="Check that WRT does not allow Web AppWidget which is signed with an invalid signature to be installed.">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="app-widget-signature-invalid" priority="P1" purpose="Check that WRT does not allow Web AppWidget which is signed with an invalid signature to be installed.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-appwgt-wrt-tests/scripts/wrt_appwgt_installfail.sh app-widget-signature-invalid.wgt</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="sp-widget-valid-signature" purpose="Check if widget have valid signature, the widget can be install.">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="sp-widget-valid-signature" priority="P1" 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-appwgt-wrt-tests/scripts/wrt_appwgt_install_valid_signature.sh</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="sp-widget-only-author-signature" purpose="Check if widget only contained author signature, the widget can be install.">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="sp-widget-only-author-signature" priority="P1" 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-appwgt-wrt-tests/scripts/wrt_appwgt_install_only_author_signature.sh</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="sp-widget-no-signature" purpose="Check if widget does not included signature, the widget can be install.">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="sp-widget-no-signature" priority="P1" 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-appwgt-wrt-tests/scripts/wrt_appwgt_install_no_signature.sh</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="sp-widget-invalid-signature" purpose="Check if widget have invalid signature, the widget can not be install.">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="sp-widget-invalid-signature" priority="P1" 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-appwgt-wrt-tests/scripts/wrt_appwgt_installfail.sh sp-widget-invalid-signature.wgt</test_script_entry>
         </description>
index c69db7c..2649802 100755 (executable)
@@ -29,7 +29,7 @@
 #               Lin Guo <lin87.guo@samsung.com>
 #
 
-AC_INIT([tct-ext02-wrt-tests], [2.3.1], [yugang.fan@intel.com])
+AC_INIT([tct-ext02-wrt-tests], [2.4], [yugang.fan@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index f64c4f0..9009c4d 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3.1"
+main_version="2.4"
 release=""
 version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
index 6504ef4..d220dc9 100755 (executable)
@@ -3,42 +3,42 @@
 <test_definition>
   <suite category="Web Runtime" name="tct-ext02-wrt-tests">
     <set name="ConfigExtension">
-      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="application-id-exist" purpose="Check that the web runtime is able to identify a valid application id.">
+      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="application-id-exist" priority="P1" purpose="Check that the web runtime is able to identify a valid application id.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-ext02-wrt-tests/scripts/wrt_ext_application-id-exist.sh</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="application-required-version-support" purpose="Check that the web runtime can install the app which has a required valid version successfully.">
+      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="application-required-version-support" priority="P1" purpose="Check that the web runtime can install the app which has a required valid version successfully.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-ext02-wrt-tests/scripts/WRTInstaller application-required-version-support.wgt</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="setting-install-location-internal-only-no-card" purpose="Check that the widget can be installed when install-location is set at 'internal-only' and external storage is not available.">
+      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="setting-install-location-internal-only-no-card" priority="P3" purpose="Check that the widget can be installed when install-location is set at 'internal-only' and external storage is not available.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-ext02-wrt-tests/scripts/WRTInstaller setting-install-location-internal-only-no-card.wgt</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="web-applications-with-namespace-xmlns-enable" purpose="Check that the WRT support Web Applications with namespace declared in configuration file.">
+      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="web-applications-with-namespace-xmlns-enable" priority="P2" purpose="Check that the WRT support Web Applications with namespace declared in configuration file.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-ext02-wrt-tests/scripts/WRTInstaller web-applications-with-namespace-xmlns-enable.wgt</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="tizen-application-id-is-one-bytes" purpose="Check that web application can be installed when the length of application id is 1 byte.">
+      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="tizen-application-id-is-one-bytes" priority="P2" purpose="Check that web application can be installed when the length of application id is 1 byte.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-ext02-wrt-tests/scripts/WRTInstaller tizen-application-id-is-one-bytes.wgt</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="tizen-application-id-is-rightful" purpose="Check that web application with valid id can be installed.">
+      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="tizen-application-id-is-rightful" priority="P1" purpose="Check that web application with valid id can be installed.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-ext02-wrt-tests/scripts/WRTInstaller tizen-application-id-is-rightful.wgt</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="tizen-application-id-is-all-right" purpose="Check web application which the length of application id is valid can be installed.">
+      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="tizen-application-id-is-all-right" priority="P0" purpose="Check web application which the length of application id is valid can be installed.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-ext02-wrt-tests/scripts/WRTInstaller tizen-application-id-is-all-right.wgt</test_script_entry>
         </description>
       </testcase>
-      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="test-hosted-widget-with-invalid-tizencontent" purpose="Check if local hosted Web Application with invalid tizen:content can be installed successfully.">
+      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="test-hosted-widget-with-invalid-tizencontent" priority="P2" purpose="Check if local hosted Web Application with invalid tizen:content can be installed successfully.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-ext02-wrt-tests/scripts/wrt_ext_WRTInstaller.sh test-hosted-widget-with-invalid-tizencontent.wgt</test_script_entry>
         </description>
index ff332e5..8ce761b 100755 (executable)
@@ -1,4 +1,4 @@
-AC_INIT([tct-maxLength-wrt-tests], [2.3.1], [jun1.gao@samsung.com])
+AC_INIT([tct-maxLength-wrt-tests], [2.4], [jun1.gao@samsung.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 AC_CONFIG_FILES([Makefile \
index d268152..2e3ca69 100755 (executable)
@@ -1,5 +1,5 @@
 {
-    "version": "2.3.1",
+    "version": "2.4",
     "name": "tct-maxLength-wrt-tests",
     "permissions": ["tabs", "unlimited_storage", "notifications", "http://*/*", "https://*/*"],
     "description": "tct-maxLength-wrt-tests",
index 984e255..96712a6 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3.1"
+main_version="2.4"
 release=""
 version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
index 9329ac7..23ffa69 100755 (executable)
@@ -2,8 +2,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">
+    <set launcher="WRTLauncher -iuz" 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="Web/Runtime/WebAppWidget" 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>
@@ -16,8 +16,8 @@
         </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">
+    <set launcher="WRTLauncher -iuz" name="WGT_ContentEncoding_L2048">
+      <testcase purpose="Verify WRT support for Content encoding attribute with max length of 2048 characters." type="compliance" status="approved" component="Web/Runtime/WebAppWidget" 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>
@@ -30,8 +30,8 @@
         </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">
+    <set launcher="WRTLauncher -iuz" 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="Web/Runtime/WebAppWidget" 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>
@@ -44,8 +44,8 @@
         </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">
+    <set launcher="WRTLauncher -iuz" 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="Web/Runtime/WebAppWidget" 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>
@@ -58,8 +58,8 @@
         </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">
+    <set launcher="WRTLauncher -iuz" 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="Web/Runtime/WebAppWidget" 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>
@@ -72,8 +72,8 @@
         </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">
+    <set launcher="WRTLauncher -iuz" 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="Web/Runtime/WebAppWidget" 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>
@@ -86,8 +86,8 @@
         </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">
+    <set launcher="WRTLauncher -iuz" 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="Web/Runtime/WebAppWidget" 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>
       </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">
+    <set launcher="WRTLauncher -iuz" 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="Web/Runtime/WebAppWidget" 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>
       </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">
+    <set launcher="WRTLauncher -iuz" 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="Web/Runtime/WebAppWidget" 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>
       </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">
+    <set launcher="WRTLauncher -iuz" name="WGT_ShortName_LG2048">
+      <testcase 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." type="compliance" status="approved" component="Web/Runtime/WebAppWidget" execution_type="auto" priority="P3" id="WGT_ShortName_LG2048">
         <description>
           <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
         </description>
         </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">
+    <set launcher="WRTLauncher -iuz" 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="Web/Runtime/WebAppWidget" 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>
       </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">
+    <set launcher="WRTLauncher -iuz" 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="Web/Runtime/WebAppWidget" 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>
       </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">
+    <set launcher="WRTLauncher -iuz" 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="Web/Runtime/WebAppWidget" 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 launcher="WRTLauncher -iuz" 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="Web/Runtime/WebAppWidget" 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>
index b2b5f7a..59a2217 100755 (executable)
 <?xml version="1.0" encoding="UTF-8"?>
-    <?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
+<?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.">
+  <suite category="Web Runtime" launcher="WRTLauncher -iu" name="tct-maxLength-wrt-tests">
+    <set launcher="WRTLauncher -iuz" name="WGT_AuthorHREF_L2048">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="WGT_AuthorHREF_L2048" priority="P3" purpose="Verify 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_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.">
+    <set launcher="WRTLauncher -iuz" name="WGT_ContentEncoding_L2048">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="WGT_ContentEncoding_L2048" priority="P3" purpose="Verify WRT support for Content encoding 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.">
+    <set launcher="WRTLauncher -iuz" name="WGT_ContentEncoding_LG2048">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="WGT_ContentEncoding_LG2048" priority="P3" purpose="Verify 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_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.">
+    <set launcher="WRTLauncher -iuz" name="WGT_Email_L2048">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="WGT_Email_L2048" priority="P3" purpose="Verify 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_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.">
+    <set launcher="WRTLauncher -iuz" name="WGT_PreferenceName_L80">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="WGT_PreferenceName_L80" priority="P3" purpose="Verify 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_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.">
+    <set launcher="WRTLauncher -iuz" name="WGT_PreferenceName_LG80">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="WGT_PreferenceName_LG80" priority="P3" purpose="Verify 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_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.">
+    <set launcher="WRTLauncher -iuz" name="WGT_PreferenceValue_L8192">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="WGT_PreferenceValue_L8192" priority="P3" purpose="Verify 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_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.">
+    <set launcher="WRTLauncher -iuz" name="WGT_PreferenceValue_LG8192">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="WGT_PreferenceValue_LG8192" priority="P3" purpose="Verify 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_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.">
+    <set launcher="WRTLauncher -iuz" name="WGT_ShortName_L2048">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="WGT_ShortName_L2048" priority="P3" purpose="Verify 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_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.">
+    <set launcher="WRTLauncher -iuz" name="WGT_ShortName_LG2048">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="WGT_ShortName_LG2048" priority="P3" 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_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.">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="WGT_MetaKey_L80_Public" priority="P3" purpose="Verify WRT support for tizen: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.">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="WGT_MetaKey_LG80_Public" priority="P3" purpose="Verify WRT should strip to 80 chracters for tizen: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.">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="WGT_MetaValue_L8192_Public" priority="P3" purpose="Verify WRT support for tizen: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.">
+      <testcase component="Web/Runtime/WebAppWidget" execution_type="auto" id="WGT_MetaValue_LG8192_Public" priority="P3" purpose="Verify WRT should strip to 8192 for tizen: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>
index 89cfcb6..371be3b 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/Sample-widget" version="1.0.0" viewmodes="maximized">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/Sample-widget" version="2.4" viewmodes="maximized">
   <tizen:application id="wrt1smt007.Samplewidget" package="wrt1smt007" required_version="2.3"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>Sample-widget</name>
-</widget>
\ No newline at end of file
+</widget>
index 5c9a639..e1e5c7e 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/WIdgetIDAppID" version="2.0.0" viewmodes="maximized">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/WIdgetIDAppID" version="2.4" viewmodes="maximized">
   <tizen:application id="wrt1wai008.WIdgetIDAppID" package="wrt1wai008" required_version="2.3"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>WIdgetIDAppID</name>
-</widget>
\ No newline at end of file
+</widget>
index f170f0f..e1e5c7e 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/WIdgetIDAppID" version="1.0.0" viewmodes="maximized">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/WIdgetIDAppID" version="2.4" viewmodes="maximized">
   <tizen:application id="wrt1wai008.WIdgetIDAppID" package="wrt1wai008" required_version="2.3"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>WIdgetIDAppID</name>
-</widget>
\ No newline at end of file
+</widget>
index 5c9a639..e1e5c7e 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/WIdgetIDAppID" version="2.0.0" viewmodes="maximized">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/WIdgetIDAppID" version="2.4" viewmodes="maximized">
   <tizen:application id="wrt1wai008.WIdgetIDAppID" package="wrt1wai008" required_version="2.3"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>WIdgetIDAppID</name>
-</widget>
\ No newline at end of file
+</widget>
index 8a670e1..8fa2db7 100755 (executable)
@@ -28,7 +28,7 @@
 #               Gang, Feng<gangx.feng@intel.com>
 #
 
-AC_INIT([tct-pm-wrt-tests], [2.3.1], [gangx.feng@intel.com])
+AC_INIT([tct-pm-wrt-tests], [2.4], [gangx.feng@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index 20b7f5a..0938211 100755 (executable)
@@ -1,8 +1,8 @@
 <?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/feature-element-be-ignored" version="1.0.0" viewmodes="maximized">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/feature-element-be-ignored" version="2.4" viewmodes="maximized">
   <tizen:application id="wrt1apm018.featureelementbeignored" package="wrt1apm018" required_version="2.3"/>
   <feature name="http://example.org/api.geolocation" required="false"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>feature-element-be-ignored</name>
-</widget>
\ No newline at end of file
+</widget>
index f64c4f0..9009c4d 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3.1"
+main_version="2.4"
 release=""
 version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
index 865d0e0..582a852 100755 (executable)
@@ -4,4 +4,4 @@
   <icon src="icon.png" height="117" width="117"/>
   <name>test-hosted-widget</name>
   <tizen:application id="wrt1pkm005.testhostedwidget" package="wrt1pkm005" required_version="2.3"/>
-</widget>
\ No newline at end of file
+</widget>
index 0520b30..d649bd3 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/test-widget" version="1.0.0" viewmodes="maximized">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/test-widget" version="2.4" viewmodes="maximized">
   <tizen:application id="wrt1tes005.testwidget" package="wrt1tes005" required_version="2.3"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>test-widget</name>
-</widget>
\ No newline at end of file
+</widget>
index 36e894f..9464910 100755 (executable)
 <?xml version="1.0" encoding="UTF-8"?>
-    <?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
 <test_definition>
-  <suite name="tct-pm-wrt-tests" category="Web Runtime">
+  <suite category="Web Runtime" name="tct-pm-wrt-tests">
     <set name="PackageManagement">
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_PackagedAPP_Install" purpose="Check if Packaged Web Application can be installed successfully.">
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_PackagedAPP_Install" priority="P0" purpose="Check if Packaged Web Application can be installed successfully.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_WRTInstaller.sh Sample-widget.wgt</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_local_HostedAPP_Install" purpose="Check if local hosted Web Application can be installed successfully.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_local_HostedAPP_Install" priority="P1" purpose="Check if local hosted Web Application can be installed successfully.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_WRTInstaller.sh test-hosted-widget.wgt</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_LocalAPP_Install" purpose="Check if Web Application can be installed successfully by using command.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_LocalAPP_Install" priority="P1" purpose="Check if Web Application can be installed successfully by using command.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_WRTInstaller.sh Sample-widget.wgt</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_APP_WithW3CFormat_Install" purpose="Check if Web Application which is packed with WGT format can be installed successfully.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_APP_WithW3CFormat_Install" priority="P1" purpose="Check if Web Application which is packed with WGT format can be installed successfully.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_WRTInstaller.sh Sample-widget.wgt</test_script_entry>
         </description>
-        </testcase>
-     <!-- <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_PackagedWGTFile_without_WGT_extention_Install" purpose="Check if the widget renamed extension from 'WGT' to 'EXE' can be installed successfully.">
+      </testcase>
+     <!-- <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_PackagedWGTFile_without_WGT_extention_Install" priority="P1" purpose="Check if the widget renamed extension from 'WGT' to 'EXE' can be installed successfully.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_Install_EXE.sh</test_script_entry>
         </description>
-        </testcase>-->
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_PackagedZIPFile_with_WGT_extention_Install" purpose="Check if the widget that is renamed with the same extension 'WGT' can be installed successfully.">
+      </testcase>-->
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_PackagedZIPFile_with_WGT_extention_Install" priority="P1" purpose="Check if the widget that is renamed with the same extension 'WGT' can be installed successfully.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_Install_changename.sh</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_InstallFailed_Inform" purpose="Check if user is informed when the Web Application cannot be installed.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_InstallFailed_Inform" priority="P1" purpose="Check if user is informed when the Web Application cannot be installed.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_InstallerFail.sh test-broken-widget.wgt</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_WRTVersionLower_Install_1" purpose="Check if WRT can update the widget when the widget has been installed.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_WRTVersionLower_Install_1" priority="P1" purpose="Check if WRT can update the widget when the widget has been installed.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_Install_TwoWidget.sh</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_sidedLoaded_Update_AppId" purpose="Check if Web Applications with same Tizen AppID and Widget ID can be updated successfully.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_sidedLoaded_Update_AppId" priority="P1" purpose="Check if Web Applications with same Tizen AppID and Widget ID can be updated successfully.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_Install_Update_Widget.sh</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_DifferentWidgetID_Update" purpose="Check if Web Applications with same Tizen AppID and different Widget IDs can be updated successfully.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_DifferentWidgetID_Update" priority="P1" purpose="Check if Web Applications with same Tizen AppID and different Widget IDs can be updated successfully.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_WidgetID_Update.sh</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_dataStored_Update" purpose="Check if Web Application resources inside of widget are erased after updated.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_dataStored_Update" priority="P1" purpose="Check if Web Application resources inside of widget are erased after updated.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_dataStored_Update.sh</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_WebApp_Uninstall" purpose="Check if Web Application can be un-installed successfully.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_WebApp_Uninstall" priority="P0" purpose="Check if Web Application can be un-installed successfully.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_Uninstaller.sh Sample-widget.wgt</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="uninstallation-application-erased" purpose="Check if all Web Application resources and data (Tizen settings, widget preferences, cookies, local storage) should be erased after uninstalled.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="uninstallation-application-erased" priority="P0" purpose="Check if all Web Application resources and data (Tizen settings, widget preferences, cookies, local storage) should be erased after uninstalled.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_uninstallation_application_erased.sh</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_OfflineInstall_uninstalling" purpose="Check if UA can install and uninstall different applications offline at the same time.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_OfflineInstall_uninstalling" priority="P2" purpose="Check if UA can install and uninstall different applications offline at the same time.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_OfflineInstall_uninstalling.sh</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_OfflineInstall_updating" purpose="Check if UA can install and update different applications offline at the same time.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_OfflineInstall_updating" priority="P2" purpose="Check if UA can install and update different applications offline at the same time.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_OfflineInstall_updating.sh</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_Inform_Uninstall_Running" purpose="Check if the WebApp can be uninstalled during running.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_Inform_Uninstall_Running" priority="P2" purpose="Check if the WebApp can be uninstalled during running.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_Uninstall_Running.sh Sample-widget.wgt</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_Uninstall_Inform" purpose="Check if user will be informed failure of uninstallation when the WebApp has been uninstalled.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_Uninstall_Inform" priority="P2" purpose="Check if user will be informed failure of uninstallation when the WebApp has been uninstalled.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_Uninstall_Inform.sh</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="WebApp_OfflineUpdate_ReUpdate" purpose="Check if application could be updated when the application is running.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="WebApp_OfflineUpdate_ReUpdate" priority="P2" purpose="Check if application could be updated when the application is running.">
         <description>
           <test_script_entry timeout="90">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_OfflineUpdate_ReUpdate.sh</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="WebApp_OfflineUpdate_TwoApp" purpose="Check if package management can upgrade(offline) two webapps respectively.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="WebApp_OfflineUpdate_TwoApp" priority="P2" purpose="Check if package management can upgrade(offline) two webapps respectively.">
         <description>
           <test_script_entry timeout="90">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_OfflineUpdate_TwoApp.sh</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_OfflineUpdate_MultiApp" purpose="Check if package management can upgrade(offline) multiple webapps respectively.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="PKManagement_OfflineUpdate_MultiApp" priority="P0" purpose="Check if package management can upgrade(offline) multiple webapps respectively.">
         <description>
           <test_script_entry timeout="150">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_OfflineUpdate_MultiApp.sh</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="widget-distributor-sig-dsp" purpose="Check if the WRT cannot install the widget which contains distributor signature without a dsp:Role signature property.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="widget-distributor-sig-dsp" priority="P1" purpose="Check if the WRT cannot install the widget which contains distributor signature without a dsp:Role signature property.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_InstallerFail.sh 11a.wgt</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="widget-distributor-sig-uri" purpose="Check if the WRT cannot install the widget which contains distributor signature with a dsp:Role signature property that does not contain an URI for a distributor role.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="widget-distributor-sig-uri" priority="P1" purpose="Check if the WRT cannot install the widget which contains distributor signature with a dsp:Role signature property that does not contain an URI for a distributor role.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_InstallerFail.sh 11b.wgt</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="widget-partner-privilege" purpose="Check if the WRT cannot install the widget which is announced with one or more partner API privileges in configuration file.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="widget-partner-privilege" priority="P1" purpose="Check if the WRT cannot install the widget which is announced with one or more partner API privileges in configuration file.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_InstallerFail.sh widget-partner-privilege.wgt</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="feature-element-be-ignored" purpose="Check if the 'feature' element should be ignored during installation process.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="feature-element-be-ignored" priority="P1" purpose="Check if the 'feature' element should be ignored during installation process.">
         <description>
           <test_script_entry timeout="90">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_WRTInstaller.sh feature-element-be-ignored.wgt</test_script_entry>
         </description>
-        </testcase>
-      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="web-api-version" purpose="Check if WRT should abort installation when the version of Tizen Web API supported by the WRT is lower than the minimum version required by the Web Application.">
+      </testcase>
+      <testcase component="Web/Runtime/PackageManagement" execution_type="auto" id="web-api-version" priority="P1" purpose="Check if WRT should abort installation when the version of Tizen Web API supported by the WRT is lower than the minimum version required by the Web Application.">
         <description>
           <test_script_entry timeout="90">/opt/usr/media/tct/opt/tct-pm-wrt-tests/scripts/wrt_pm_InstallerFail.sh web-api-version.wgt</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
   </suite>
 </test_definition>
index 78bfdb4..1791893 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://tizen.org/uninstallation-application-erased" version="1.0.0" viewmodes="maximized">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/uninstallation-application-erased" version="2.4" viewmodes="maximized">
   <tizen:application id="wrt1uae011.uninstallationapplicationerased" package="wrt1uae011" required_version="2.3"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>uninstallation-application-erased</name>
-</widget>
\ No newline at end of file
+</widget>
index ca2ea8a..7519218 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-version" version="1.1.0" viewmodes="maximized">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/widget-version" version="2.4" viewmodes="maximized">
   <tizen:application id="wrt1wvt006.widgetversion" package="wrt1wvt006" required_version="2.3"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>widget-version</name>
-</widget>
\ No newline at end of file
+</widget>
index 53e01dd..7519218 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-version" version="1.2.0" viewmodes="maximized">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/widget-version" version="2.4" viewmodes="maximized">
   <tizen:application id="wrt1wvt006.widgetversion" package="wrt1wvt006" required_version="2.3"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>widget-version</name>
-</widget>
\ No newline at end of file
+</widget>
index 94544ca..7519218 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-version" version="1.0.0" viewmodes="maximized">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/widget-version" version="2.4" viewmodes="maximized">
   <tizen:application id="wrt1wvt006.widgetversion" package="wrt1wvt006" required_version="2.3"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>widget-version</name>
-</widget>
\ No newline at end of file
+</widget>
index 50e6f00..3530dd3 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-version2" version="2.1.0" viewmodes="maximized">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/widget-version2" version="2.4" viewmodes="maximized">
   <tizen:application id="wrt1wvt009.widgetversion2" package="wrt1wvt009" required_version="2.3"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>widget-version2</name>
-</widget>
\ No newline at end of file
+</widget>
index aeee489..3530dd3 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-version2" version="2.0.0" viewmodes="maximized">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/widget-version2" version="2.4" viewmodes="maximized">
   <tizen:application id="wrt1wvt009.widgetversion2" package="wrt1wvt009" required_version="2.3"/>
   <content src="index.html"/>
   <icon src="icon.png" height="117" width="117"/>
   <name>widget-version2</name>
-</widget>
\ No newline at end of file
+</widget>
index 89d26f1..dec978c 100755 (executable)
@@ -1,5 +1,5 @@
 <?xml 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="2.3.1" viewmodes="maximized">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/widget-version3" version="2.4" 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"/>
index 999f6a6..dec978c 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.0.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.4" 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 c1cb5db..be952b1 100755 (executable)
@@ -28,7 +28,7 @@
 #               Hao, Yunfei <yunfenx.hao@intel.com>
 #
 
-AC_INIT([tct-rt01-wrt-tests], [2.3.1], [yunfenx.hao@intel.com])
+AC_INIT([tct-rt01-wrt-tests], [2.4], [yunfenx.hao@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index 0c557bc..7955e82 100755 (executable)
@@ -1,9 +1,7 @@
 /*
 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,
@@ -12,7 +10,6 @@ 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
@@ -23,127 +20,56 @@ 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.ui = null;
                this.submitResult = null;
+               this.ui = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
+               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
+               var autoflag = false;
                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();
+               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
+               };
                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;
                        },
 
-                       runAll: function () {
-                               testContext = newTestContext();
-                               this.ui.updateView(VIEWFLAGS.add("batch"));
-                               this.ui.updateView(VIEWFLAGS.del("list"));
-                               this.testIndex(-1);     
-                               this.doTest();
-                       },
-       
-                       cleanTests: function () {
-                               Tests = [];
+                       getTestIndex: function () {
+                               return index;
                        },
 
-                       testIndex: function (ind) {
-                               if (typeof ind === "undefined")
-                                       return index;
+                       setTestIndex: function (ind) {
                                index = ind;
                        },
 
@@ -154,32 +80,32 @@ $(function(){
                        },
 
                        addTest: function (test) {
-                               if (test instanceof Array)
-                                       Tests = Tests.concat(test);
-                               else
-                                       Tests.push(test);
+                               Tests.push(test);
+                       },
+
+                       getTestLength: function () {
+                               if (Tests === null)
+                                       return 0;
+                               return Tests.length;
                        },
 
                        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, set) {
-                               if (oldRes !== null) {
+                       sumUpdate: function (oldRes, newRes) {
+                               if (oldRes !== null)
                                        sum[oldRes]--;
-                                       if (set !== null) Sets[set][oldRes]--;
-                               }
-                               if (newRes !== null) {
+                               if (newRes !== null)
                                        sum[newRes]++;
-                                       if (set != null) Sets[set][newRes]++;
-                               }
                        },
 
-                       checkResult: function (oTestDoc) {
+                       checkResult: function () {
                                var message = "";
+                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -187,11 +113,13 @@ $(function(){
                                                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);
+                                       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');
                                        return true;
                                }
 
@@ -215,13 +143,13 @@ $(function(){
                                return false;
                        },
 
-                       testInfo: function (ind) {
+                       testinfo: function () {
                                var info = "";
+                               for (var n in sum)
+                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               if (!tc) return info;
-                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
-                               info += tc.test_script_entry;
-                               info += "\nPurpose: " +  tc.purpose;
+                               info += "\n\nTest\t: " + tc.test_script_entry;
+                               info += "\nPurpose\t: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -229,12 +157,18 @@ $(function(){
                                return info;
                        },
 
-                       getTestCaseUrl: function () {
+                       getTestCase: function (name, ind) {
+                               if (ind === null)
+                                       ind = this.getTestIndex();
+                               var tc = this.getTest(ind);
+                               return tc[name];
+                       },
+
+                       getTestCase: 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 "";
@@ -245,7 +179,6 @@ $(function(){
                                        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;
@@ -253,17 +186,14 @@ $(function(){
                                        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
+                               if (val && tc.execution_type == "auto") { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri)
+                                       if (testContext.uri == testContext.prev_uri) {
+                                               this.load_ready();
                                                return "";
+                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -273,14 +203,14 @@ $(function(){
                                return testContext.uri;
                        },
 
-                       loadReady: function () {
-                               if (!VIEWFLAGS.has("batch"))
+                       load_ready: function () {
+                               if (!autoflag)
                                        return;
-                               if (!this.ui.testComplete()){
+                               if (!this.checkResult()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.loadReady();}, tval);
+                                               setTimeout(function() {self.load_ready();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -289,78 +219,25 @@ $(function(){
                                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;
+                       setAutomode: function (flag) {
+                               if (this.ui)
+                                       this.ui.setAutotestView(flag);
+                               autoflag = flag;
                        },
 
-                       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;
+                       autoTest: function () {
+                               index = -1;
+                               this.setAutomode(true);
+                               this.doTest();
                        },
 
-                       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: "",
@@ -372,89 +249,89 @@ $(function(){
        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++;
+                       $(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);
                        });
-                       self.addTest(manuals);
+               }
+
+               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 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");
+               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");
        };
 
        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);
+               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());
                        return;
                }
-               this.ui.updateTest();   
+               self.ui.updateList();
+               this.setAutomode(false);
+               setTimeout(function () {self.submitResult();}, 2000);
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
-               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result, tc.set);
+               this.sumUpdate(oldresult, result);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -463,14 +340,56 @@ $(function(){
                                   "</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);
+               this.ui.updateResult(result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var contents = (new XMLSerializer()).serializeToString(xmldoc);
-               if (window.opener) window.opener.postMessage(contents, "*");
+               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);
        };
 
        master_runner.internal = {xmldoc: null};
@@ -489,23 +408,22 @@ $(function(){
                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.ui.updateView(VIEWFLAGS.add("batch"));
-               self.ui.updateView(VIEWFLAGS.del("list"));
-               setTimeout(f, 1000);
+               self.setAutomode(true);
+               setTimeout(f, 2000);
                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();
+                       self.setAutomode(false);
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -513,28 +431,27 @@ $(function(){
                        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.goNext();
-                               self.ui.updateTestInfo(self.testInfo(), null, null);
-                               self.ui.runTest(self.getTestCaseUrl());
+                               self.setTestIndex(0);
+                               self.ui.runTest(self.getTestCase());
                                return;
                        } else {  //handle manual test
-                               self.ui.updateView(VIEWFLAGS.del("batch"));
+                               self.setAutomode(false);
                                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();
@@ -543,8 +460,6 @@ $(function(){
                                                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";
@@ -553,9 +468,8 @@ $(function(){
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateTest(-1);
+                                       self.ui.updateList();
                                        self.sumInit();
-                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -572,6 +486,7 @@ $(function(){
                                {"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,
@@ -580,13 +495,13 @@ $(function(){
                                  "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);
+               this.sumUpdate(oldresult, result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
+               close_window();
        };
 
        slave_runner.internal = {
@@ -606,26 +521,32 @@ $(function(){
        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 selTestlist  = $("#selTestlist").get(0);
+               var radPass = $("#radPass").get(0);
+               var radFail = $("#radFail").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 divNav      = $("#navbar").get(0);
+               var divFoot = $("#footbar").get(0);
+               var chkBatch = $("#chkBatch").get(0);
+               var chkManualonly = $("#chkManualonly").get(0);
                var runner = null;
-               var listmode = null;
                var nextTest = function () {
-                       runner.goNext();
-                       selectTest();
+                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
+                               selTestlist.selectedIndex = 0;
+                       else
+                               selTestlist.selectedIndex++;
+                       selectTest.call(selTestlist);
                };
 
                var prevTest = function() {
-                       runner.goPrev();
-                       selectTest();
+                       if (selTestlist.selectedIndex <= 0)
+                               selTestlist.selectedIndex = selTestlist.options.length - 1;
+                       else
+                               selTestlist.selectedIndex--;
+                       selectTest.call(selTestlist);
                };
 
                var selectResult = function() {
@@ -633,118 +554,106 @@ $(function(){
                };
 
                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;
+                       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;
                        }
-                       testinfo.value = runner.testInfo();
-                       $(divSum).html(runner.getTestSum(false));
-                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
-                       changeColor(tc.result);
+                       frmTest.src = "";
+                       testinfo.value = runner.testinfo();
                };
 
-               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");
-               }
+               var changeOptColor = function (result, opt) {
+                       if (result == "PASS")
+                               $(opt).css("backgroundColor", "greenyellow");
+                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
+                               $(opt).css("backgroundColor", "orangered");
+               };
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(btnPass).on("click", selectResult);
-                               $(btnFail).on("click", selectResult);
-                               $(btnBlock).on("click", selectResult);
+                               $(radPass).on("click", selectResult);
+                               $(radFail).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());
+                                       if (chkBatch.checked && !chkManualonly.checked)
+                                               runner.autoTest();
+                                       else {
+                                               var opt = selTestlist.options[selTestlist.selectedIndex];
+                                               runner.setTestIndex(parseInt(opt.value));
+                                               self.runTest(runner.getTestCase());
+                                       }
                                });
-                               $(frmTest).on("load",  function () {runner.loadReady();});
+                               $(frmTest).on("load",  function () {runner.load_ready();});
                                $(btnDone).on("click", function () {
-                                       runner.submitResult();
-                                       close_window();
-                               });
-                               $(btnList).on("click", function () {
-                                       frmTest.src = "";
-                                       //self.updateTest(-1);
-                                       setTimeout(function () {self.browse();}, 300);
+                                       setTimeout(function () {runner.submitResult();}, 300);
+                                       frmTest.src = "";});
+                               $(chkManualonly).on("click", function () {
+                                       chkBatch.disabled = this.checked;
+                                       chkBatch.checked = false;
+                                       self.updateList();
                                });
                                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();
+                       setAutotestView: function (autoflag) {
+                               if (autoflag){
+                                       $(divNav).hide();
+                                       $(divFoot).hide();
                                } else {
-                                       $(".listmode").hide();
-                                       $(".singlemode").show();
+                                       $(divNav).show();
+                                       $(divFoot).show();
+                                       frmTest.src = "";
                                }
-                               if (flags & VIEWFLAGS.flags.batch)
-                                       $(".batchmode").hide();
-                               else
-                                       $(".batchmode").show();
                        },
 
-                       testComplete: function () {
-                               return runner.checkResult(frmTest.contentWindow.document);
+                       getTestfrmDoc: function () {
+                               return 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);
+                       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) {
+                          testinfo.value = info;
+                       }
           };
        } ());
 
@@ -770,12 +679,6 @@ $(function(){
                        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 0c557bc..7955e82 100755 (executable)
@@ -1,9 +1,7 @@
 /*
 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,
@@ -12,7 +10,6 @@ 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
@@ -23,127 +20,56 @@ 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.ui = null;
                this.submitResult = null;
+               this.ui = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
+               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
+               var autoflag = false;
                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();
+               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
+               };
                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;
                        },
 
-                       runAll: function () {
-                               testContext = newTestContext();
-                               this.ui.updateView(VIEWFLAGS.add("batch"));
-                               this.ui.updateView(VIEWFLAGS.del("list"));
-                               this.testIndex(-1);     
-                               this.doTest();
-                       },
-       
-                       cleanTests: function () {
-                               Tests = [];
+                       getTestIndex: function () {
+                               return index;
                        },
 
-                       testIndex: function (ind) {
-                               if (typeof ind === "undefined")
-                                       return index;
+                       setTestIndex: function (ind) {
                                index = ind;
                        },
 
@@ -154,32 +80,32 @@ $(function(){
                        },
 
                        addTest: function (test) {
-                               if (test instanceof Array)
-                                       Tests = Tests.concat(test);
-                               else
-                                       Tests.push(test);
+                               Tests.push(test);
+                       },
+
+                       getTestLength: function () {
+                               if (Tests === null)
+                                       return 0;
+                               return Tests.length;
                        },
 
                        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, set) {
-                               if (oldRes !== null) {
+                       sumUpdate: function (oldRes, newRes) {
+                               if (oldRes !== null)
                                        sum[oldRes]--;
-                                       if (set !== null) Sets[set][oldRes]--;
-                               }
-                               if (newRes !== null) {
+                               if (newRes !== null)
                                        sum[newRes]++;
-                                       if (set != null) Sets[set][newRes]++;
-                               }
                        },
 
-                       checkResult: function (oTestDoc) {
+                       checkResult: function () {
                                var message = "";
+                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -187,11 +113,13 @@ $(function(){
                                                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);
+                                       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');
                                        return true;
                                }
 
@@ -215,13 +143,13 @@ $(function(){
                                return false;
                        },
 
-                       testInfo: function (ind) {
+                       testinfo: function () {
                                var info = "";
+                               for (var n in sum)
+                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               if (!tc) return info;
-                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
-                               info += tc.test_script_entry;
-                               info += "\nPurpose: " +  tc.purpose;
+                               info += "\n\nTest\t: " + tc.test_script_entry;
+                               info += "\nPurpose\t: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -229,12 +157,18 @@ $(function(){
                                return info;
                        },
 
-                       getTestCaseUrl: function () {
+                       getTestCase: function (name, ind) {
+                               if (ind === null)
+                                       ind = this.getTestIndex();
+                               var tc = this.getTest(ind);
+                               return tc[name];
+                       },
+
+                       getTestCase: 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 "";
@@ -245,7 +179,6 @@ $(function(){
                                        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;
@@ -253,17 +186,14 @@ $(function(){
                                        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
+                               if (val && tc.execution_type == "auto") { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri)
+                                       if (testContext.uri == testContext.prev_uri) {
+                                               this.load_ready();
                                                return "";
+                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -273,14 +203,14 @@ $(function(){
                                return testContext.uri;
                        },
 
-                       loadReady: function () {
-                               if (!VIEWFLAGS.has("batch"))
+                       load_ready: function () {
+                               if (!autoflag)
                                        return;
-                               if (!this.ui.testComplete()){
+                               if (!this.checkResult()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.loadReady();}, tval);
+                                               setTimeout(function() {self.load_ready();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -289,78 +219,25 @@ $(function(){
                                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;
+                       setAutomode: function (flag) {
+                               if (this.ui)
+                                       this.ui.setAutotestView(flag);
+                               autoflag = flag;
                        },
 
-                       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;
+                       autoTest: function () {
+                               index = -1;
+                               this.setAutomode(true);
+                               this.doTest();
                        },
 
-                       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: "",
@@ -372,89 +249,89 @@ $(function(){
        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++;
+                       $(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);
                        });
-                       self.addTest(manuals);
+               }
+
+               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 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");
+               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");
        };
 
        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);
+               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());
                        return;
                }
-               this.ui.updateTest();   
+               self.ui.updateList();
+               this.setAutomode(false);
+               setTimeout(function () {self.submitResult();}, 2000);
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
-               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result, tc.set);
+               this.sumUpdate(oldresult, result);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -463,14 +340,56 @@ $(function(){
                                   "</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);
+               this.ui.updateResult(result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var contents = (new XMLSerializer()).serializeToString(xmldoc);
-               if (window.opener) window.opener.postMessage(contents, "*");
+               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);
        };
 
        master_runner.internal = {xmldoc: null};
@@ -489,23 +408,22 @@ $(function(){
                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.ui.updateView(VIEWFLAGS.add("batch"));
-               self.ui.updateView(VIEWFLAGS.del("list"));
-               setTimeout(f, 1000);
+               self.setAutomode(true);
+               setTimeout(f, 2000);
                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();
+                       self.setAutomode(false);
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -513,28 +431,27 @@ $(function(){
                        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.goNext();
-                               self.ui.updateTestInfo(self.testInfo(), null, null);
-                               self.ui.runTest(self.getTestCaseUrl());
+                               self.setTestIndex(0);
+                               self.ui.runTest(self.getTestCase());
                                return;
                        } else {  //handle manual test
-                               self.ui.updateView(VIEWFLAGS.del("batch"));
+                               self.setAutomode(false);
                                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();
@@ -543,8 +460,6 @@ $(function(){
                                                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";
@@ -553,9 +468,8 @@ $(function(){
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateTest(-1);
+                                       self.ui.updateList();
                                        self.sumInit();
-                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -572,6 +486,7 @@ $(function(){
                                {"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,
@@ -580,13 +495,13 @@ $(function(){
                                  "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);
+               this.sumUpdate(oldresult, result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
+               close_window();
        };
 
        slave_runner.internal = {
@@ -606,26 +521,32 @@ $(function(){
        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 selTestlist  = $("#selTestlist").get(0);
+               var radPass = $("#radPass").get(0);
+               var radFail = $("#radFail").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 divNav      = $("#navbar").get(0);
+               var divFoot = $("#footbar").get(0);
+               var chkBatch = $("#chkBatch").get(0);
+               var chkManualonly = $("#chkManualonly").get(0);
                var runner = null;
-               var listmode = null;
                var nextTest = function () {
-                       runner.goNext();
-                       selectTest();
+                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
+                               selTestlist.selectedIndex = 0;
+                       else
+                               selTestlist.selectedIndex++;
+                       selectTest.call(selTestlist);
                };
 
                var prevTest = function() {
-                       runner.goPrev();
-                       selectTest();
+                       if (selTestlist.selectedIndex <= 0)
+                               selTestlist.selectedIndex = selTestlist.options.length - 1;
+                       else
+                               selTestlist.selectedIndex--;
+                       selectTest.call(selTestlist);
                };
 
                var selectResult = function() {
@@ -633,118 +554,106 @@ $(function(){
                };
 
                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;
+                       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;
                        }
-                       testinfo.value = runner.testInfo();
-                       $(divSum).html(runner.getTestSum(false));
-                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
-                       changeColor(tc.result);
+                       frmTest.src = "";
+                       testinfo.value = runner.testinfo();
                };
 
-               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");
-               }
+               var changeOptColor = function (result, opt) {
+                       if (result == "PASS")
+                               $(opt).css("backgroundColor", "greenyellow");
+                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
+                               $(opt).css("backgroundColor", "orangered");
+               };
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(btnPass).on("click", selectResult);
-                               $(btnFail).on("click", selectResult);
-                               $(btnBlock).on("click", selectResult);
+                               $(radPass).on("click", selectResult);
+                               $(radFail).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());
+                                       if (chkBatch.checked && !chkManualonly.checked)
+                                               runner.autoTest();
+                                       else {
+                                               var opt = selTestlist.options[selTestlist.selectedIndex];
+                                               runner.setTestIndex(parseInt(opt.value));
+                                               self.runTest(runner.getTestCase());
+                                       }
                                });
-                               $(frmTest).on("load",  function () {runner.loadReady();});
+                               $(frmTest).on("load",  function () {runner.load_ready();});
                                $(btnDone).on("click", function () {
-                                       runner.submitResult();
-                                       close_window();
-                               });
-                               $(btnList).on("click", function () {
-                                       frmTest.src = "";
-                                       //self.updateTest(-1);
-                                       setTimeout(function () {self.browse();}, 300);
+                                       setTimeout(function () {runner.submitResult();}, 300);
+                                       frmTest.src = "";});
+                               $(chkManualonly).on("click", function () {
+                                       chkBatch.disabled = this.checked;
+                                       chkBatch.checked = false;
+                                       self.updateList();
                                });
                                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();
+                       setAutotestView: function (autoflag) {
+                               if (autoflag){
+                                       $(divNav).hide();
+                                       $(divFoot).hide();
                                } else {
-                                       $(".listmode").hide();
-                                       $(".singlemode").show();
+                                       $(divNav).show();
+                                       $(divFoot).show();
+                                       frmTest.src = "";
                                }
-                               if (flags & VIEWFLAGS.flags.batch)
-                                       $(".batchmode").hide();
-                               else
-                                       $(".batchmode").show();
                        },
 
-                       testComplete: function () {
-                               return runner.checkResult(frmTest.contentWindow.document);
+                       getTestfrmDoc: function () {
+                               return 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);
+                       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) {
+                          testinfo.value = info;
+                       }
           };
        } ());
 
@@ -770,12 +679,6 @@ $(function(){
                        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 0c557bc..7955e82 100755 (executable)
@@ -1,9 +1,7 @@
 /*
 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,
@@ -12,7 +10,6 @@ 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
@@ -23,127 +20,56 @@ 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.ui = null;
                this.submitResult = null;
+               this.ui = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
+               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
+               var autoflag = false;
                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();
+               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
+               };
                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;
                        },
 
-                       runAll: function () {
-                               testContext = newTestContext();
-                               this.ui.updateView(VIEWFLAGS.add("batch"));
-                               this.ui.updateView(VIEWFLAGS.del("list"));
-                               this.testIndex(-1);     
-                               this.doTest();
-                       },
-       
-                       cleanTests: function () {
-                               Tests = [];
+                       getTestIndex: function () {
+                               return index;
                        },
 
-                       testIndex: function (ind) {
-                               if (typeof ind === "undefined")
-                                       return index;
+                       setTestIndex: function (ind) {
                                index = ind;
                        },
 
@@ -154,32 +80,32 @@ $(function(){
                        },
 
                        addTest: function (test) {
-                               if (test instanceof Array)
-                                       Tests = Tests.concat(test);
-                               else
-                                       Tests.push(test);
+                               Tests.push(test);
+                       },
+
+                       getTestLength: function () {
+                               if (Tests === null)
+                                       return 0;
+                               return Tests.length;
                        },
 
                        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, set) {
-                               if (oldRes !== null) {
+                       sumUpdate: function (oldRes, newRes) {
+                               if (oldRes !== null)
                                        sum[oldRes]--;
-                                       if (set !== null) Sets[set][oldRes]--;
-                               }
-                               if (newRes !== null) {
+                               if (newRes !== null)
                                        sum[newRes]++;
-                                       if (set != null) Sets[set][newRes]++;
-                               }
                        },
 
-                       checkResult: function (oTestDoc) {
+                       checkResult: function () {
                                var message = "";
+                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -187,11 +113,13 @@ $(function(){
                                                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);
+                                       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');
                                        return true;
                                }
 
@@ -215,13 +143,13 @@ $(function(){
                                return false;
                        },
 
-                       testInfo: function (ind) {
+                       testinfo: function () {
                                var info = "";
+                               for (var n in sum)
+                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               if (!tc) return info;
-                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
-                               info += tc.test_script_entry;
-                               info += "\nPurpose: " +  tc.purpose;
+                               info += "\n\nTest\t: " + tc.test_script_entry;
+                               info += "\nPurpose\t: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -229,12 +157,18 @@ $(function(){
                                return info;
                        },
 
-                       getTestCaseUrl: function () {
+                       getTestCase: function (name, ind) {
+                               if (ind === null)
+                                       ind = this.getTestIndex();
+                               var tc = this.getTest(ind);
+                               return tc[name];
+                       },
+
+                       getTestCase: 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 "";
@@ -245,7 +179,6 @@ $(function(){
                                        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;
@@ -253,17 +186,14 @@ $(function(){
                                        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
+                               if (val && tc.execution_type == "auto") { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri)
+                                       if (testContext.uri == testContext.prev_uri) {
+                                               this.load_ready();
                                                return "";
+                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -273,14 +203,14 @@ $(function(){
                                return testContext.uri;
                        },
 
-                       loadReady: function () {
-                               if (!VIEWFLAGS.has("batch"))
+                       load_ready: function () {
+                               if (!autoflag)
                                        return;
-                               if (!this.ui.testComplete()){
+                               if (!this.checkResult()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.loadReady();}, tval);
+                                               setTimeout(function() {self.load_ready();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -289,78 +219,25 @@ $(function(){
                                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;
+                       setAutomode: function (flag) {
+                               if (this.ui)
+                                       this.ui.setAutotestView(flag);
+                               autoflag = flag;
                        },
 
-                       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;
+                       autoTest: function () {
+                               index = -1;
+                               this.setAutomode(true);
+                               this.doTest();
                        },
 
-                       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: "",
@@ -372,89 +249,89 @@ $(function(){
        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++;
+                       $(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);
                        });
-                       self.addTest(manuals);
+               }
+
+               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 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");
+               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");
        };
 
        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);
+               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());
                        return;
                }
-               this.ui.updateTest();   
+               self.ui.updateList();
+               this.setAutomode(false);
+               setTimeout(function () {self.submitResult();}, 2000);
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
-               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result, tc.set);
+               this.sumUpdate(oldresult, result);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -463,14 +340,56 @@ $(function(){
                                   "</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);
+               this.ui.updateResult(result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var contents = (new XMLSerializer()).serializeToString(xmldoc);
-               if (window.opener) window.opener.postMessage(contents, "*");
+               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);
        };
 
        master_runner.internal = {xmldoc: null};
@@ -489,23 +408,22 @@ $(function(){
                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.ui.updateView(VIEWFLAGS.add("batch"));
-               self.ui.updateView(VIEWFLAGS.del("list"));
-               setTimeout(f, 1000);
+               self.setAutomode(true);
+               setTimeout(f, 2000);
                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();
+                       self.setAutomode(false);
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -513,28 +431,27 @@ $(function(){
                        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.goNext();
-                               self.ui.updateTestInfo(self.testInfo(), null, null);
-                               self.ui.runTest(self.getTestCaseUrl());
+                               self.setTestIndex(0);
+                               self.ui.runTest(self.getTestCase());
                                return;
                        } else {  //handle manual test
-                               self.ui.updateView(VIEWFLAGS.del("batch"));
+                               self.setAutomode(false);
                                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();
@@ -543,8 +460,6 @@ $(function(){
                                                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";
@@ -553,9 +468,8 @@ $(function(){
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateTest(-1);
+                                       self.ui.updateList();
                                        self.sumInit();
-                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -572,6 +486,7 @@ $(function(){
                                {"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,
@@ -580,13 +495,13 @@ $(function(){
                                  "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);
+               this.sumUpdate(oldresult, result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
+               close_window();
        };
 
        slave_runner.internal = {
@@ -606,26 +521,32 @@ $(function(){
        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 selTestlist  = $("#selTestlist").get(0);
+               var radPass = $("#radPass").get(0);
+               var radFail = $("#radFail").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 divNav      = $("#navbar").get(0);
+               var divFoot = $("#footbar").get(0);
+               var chkBatch = $("#chkBatch").get(0);
+               var chkManualonly = $("#chkManualonly").get(0);
                var runner = null;
-               var listmode = null;
                var nextTest = function () {
-                       runner.goNext();
-                       selectTest();
+                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
+                               selTestlist.selectedIndex = 0;
+                       else
+                               selTestlist.selectedIndex++;
+                       selectTest.call(selTestlist);
                };
 
                var prevTest = function() {
-                       runner.goPrev();
-                       selectTest();
+                       if (selTestlist.selectedIndex <= 0)
+                               selTestlist.selectedIndex = selTestlist.options.length - 1;
+                       else
+                               selTestlist.selectedIndex--;
+                       selectTest.call(selTestlist);
                };
 
                var selectResult = function() {
@@ -633,118 +554,106 @@ $(function(){
                };
 
                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;
+                       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;
                        }
-                       testinfo.value = runner.testInfo();
-                       $(divSum).html(runner.getTestSum(false));
-                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
-                       changeColor(tc.result);
+                       frmTest.src = "";
+                       testinfo.value = runner.testinfo();
                };
 
-               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");
-               }
+               var changeOptColor = function (result, opt) {
+                       if (result == "PASS")
+                               $(opt).css("backgroundColor", "greenyellow");
+                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
+                               $(opt).css("backgroundColor", "orangered");
+               };
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(btnPass).on("click", selectResult);
-                               $(btnFail).on("click", selectResult);
-                               $(btnBlock).on("click", selectResult);
+                               $(radPass).on("click", selectResult);
+                               $(radFail).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());
+                                       if (chkBatch.checked && !chkManualonly.checked)
+                                               runner.autoTest();
+                                       else {
+                                               var opt = selTestlist.options[selTestlist.selectedIndex];
+                                               runner.setTestIndex(parseInt(opt.value));
+                                               self.runTest(runner.getTestCase());
+                                       }
                                });
-                               $(frmTest).on("load",  function () {runner.loadReady();});
+                               $(frmTest).on("load",  function () {runner.load_ready();});
                                $(btnDone).on("click", function () {
-                                       runner.submitResult();
-                                       close_window();
-                               });
-                               $(btnList).on("click", function () {
-                                       frmTest.src = "";
-                                       //self.updateTest(-1);
-                                       setTimeout(function () {self.browse();}, 300);
+                                       setTimeout(function () {runner.submitResult();}, 300);
+                                       frmTest.src = "";});
+                               $(chkManualonly).on("click", function () {
+                                       chkBatch.disabled = this.checked;
+                                       chkBatch.checked = false;
+                                       self.updateList();
                                });
                                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();
+                       setAutotestView: function (autoflag) {
+                               if (autoflag){
+                                       $(divNav).hide();
+                                       $(divFoot).hide();
                                } else {
-                                       $(".listmode").hide();
-                                       $(".singlemode").show();
+                                       $(divNav).show();
+                                       $(divFoot).show();
+                                       frmTest.src = "";
                                }
-                               if (flags & VIEWFLAGS.flags.batch)
-                                       $(".batchmode").hide();
-                               else
-                                       $(".batchmode").show();
                        },
 
-                       testComplete: function () {
-                               return runner.checkResult(frmTest.contentWindow.document);
+                       getTestfrmDoc: function () {
+                               return 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);
+                       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) {
+                          testinfo.value = info;
+                       }
           };
        } ());
 
@@ -770,12 +679,6 @@ $(function(){
                        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 0c557bc..7955e82 100755 (executable)
@@ -1,9 +1,7 @@
 /*
 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,
@@ -12,7 +10,6 @@ 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
@@ -23,127 +20,56 @@ 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.ui = null;
                this.submitResult = null;
+               this.ui = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
+               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
+               var autoflag = false;
                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();
+               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
+               };
                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;
                        },
 
-                       runAll: function () {
-                               testContext = newTestContext();
-                               this.ui.updateView(VIEWFLAGS.add("batch"));
-                               this.ui.updateView(VIEWFLAGS.del("list"));
-                               this.testIndex(-1);     
-                               this.doTest();
-                       },
-       
-                       cleanTests: function () {
-                               Tests = [];
+                       getTestIndex: function () {
+                               return index;
                        },
 
-                       testIndex: function (ind) {
-                               if (typeof ind === "undefined")
-                                       return index;
+                       setTestIndex: function (ind) {
                                index = ind;
                        },
 
@@ -154,32 +80,32 @@ $(function(){
                        },
 
                        addTest: function (test) {
-                               if (test instanceof Array)
-                                       Tests = Tests.concat(test);
-                               else
-                                       Tests.push(test);
+                               Tests.push(test);
+                       },
+
+                       getTestLength: function () {
+                               if (Tests === null)
+                                       return 0;
+                               return Tests.length;
                        },
 
                        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, set) {
-                               if (oldRes !== null) {
+                       sumUpdate: function (oldRes, newRes) {
+                               if (oldRes !== null)
                                        sum[oldRes]--;
-                                       if (set !== null) Sets[set][oldRes]--;
-                               }
-                               if (newRes !== null) {
+                               if (newRes !== null)
                                        sum[newRes]++;
-                                       if (set != null) Sets[set][newRes]++;
-                               }
                        },
 
-                       checkResult: function (oTestDoc) {
+                       checkResult: function () {
                                var message = "";
+                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -187,11 +113,13 @@ $(function(){
                                                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);
+                                       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');
                                        return true;
                                }
 
@@ -215,13 +143,13 @@ $(function(){
                                return false;
                        },
 
-                       testInfo: function (ind) {
+                       testinfo: function () {
                                var info = "";
+                               for (var n in sum)
+                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               if (!tc) return info;
-                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
-                               info += tc.test_script_entry;
-                               info += "\nPurpose: " +  tc.purpose;
+                               info += "\n\nTest\t: " + tc.test_script_entry;
+                               info += "\nPurpose\t: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -229,12 +157,18 @@ $(function(){
                                return info;
                        },
 
-                       getTestCaseUrl: function () {
+                       getTestCase: function (name, ind) {
+                               if (ind === null)
+                                       ind = this.getTestIndex();
+                               var tc = this.getTest(ind);
+                               return tc[name];
+                       },
+
+                       getTestCase: 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 "";
@@ -245,7 +179,6 @@ $(function(){
                                        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;
@@ -253,17 +186,14 @@ $(function(){
                                        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
+                               if (val && tc.execution_type == "auto") { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri)
+                                       if (testContext.uri == testContext.prev_uri) {
+                                               this.load_ready();
                                                return "";
+                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -273,14 +203,14 @@ $(function(){
                                return testContext.uri;
                        },
 
-                       loadReady: function () {
-                               if (!VIEWFLAGS.has("batch"))
+                       load_ready: function () {
+                               if (!autoflag)
                                        return;
-                               if (!this.ui.testComplete()){
+                               if (!this.checkResult()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.loadReady();}, tval);
+                                               setTimeout(function() {self.load_ready();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -289,78 +219,25 @@ $(function(){
                                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;
+                       setAutomode: function (flag) {
+                               if (this.ui)
+                                       this.ui.setAutotestView(flag);
+                               autoflag = flag;
                        },
 
-                       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;
+                       autoTest: function () {
+                               index = -1;
+                               this.setAutomode(true);
+                               this.doTest();
                        },
 
-                       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: "",
@@ -372,89 +249,89 @@ $(function(){
        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++;
+                       $(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);
                        });
-                       self.addTest(manuals);
+               }
+
+               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 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");
+               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");
        };
 
        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);
+               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());
                        return;
                }
-               this.ui.updateTest();   
+               self.ui.updateList();
+               this.setAutomode(false);
+               setTimeout(function () {self.submitResult();}, 2000);
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
-               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result, tc.set);
+               this.sumUpdate(oldresult, result);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -463,14 +340,56 @@ $(function(){
                                   "</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);
+               this.ui.updateResult(result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var contents = (new XMLSerializer()).serializeToString(xmldoc);
-               if (window.opener) window.opener.postMessage(contents, "*");
+               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);
        };
 
        master_runner.internal = {xmldoc: null};
@@ -489,23 +408,22 @@ $(function(){
                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.ui.updateView(VIEWFLAGS.add("batch"));
-               self.ui.updateView(VIEWFLAGS.del("list"));
-               setTimeout(f, 1000);
+               self.setAutomode(true);
+               setTimeout(f, 2000);
                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();
+                       self.setAutomode(false);
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -513,28 +431,27 @@ $(function(){
                        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.goNext();
-                               self.ui.updateTestInfo(self.testInfo(), null, null);
-                               self.ui.runTest(self.getTestCaseUrl());
+                               self.setTestIndex(0);
+                               self.ui.runTest(self.getTestCase());
                                return;
                        } else {  //handle manual test
-                               self.ui.updateView(VIEWFLAGS.del("batch"));
+                               self.setAutomode(false);
                                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();
@@ -543,8 +460,6 @@ $(function(){
                                                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";
@@ -553,9 +468,8 @@ $(function(){
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateTest(-1);
+                                       self.ui.updateList();
                                        self.sumInit();
-                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -572,6 +486,7 @@ $(function(){
                                {"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,
@@ -580,13 +495,13 @@ $(function(){
                                  "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);
+               this.sumUpdate(oldresult, result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
+               close_window();
        };
 
        slave_runner.internal = {
@@ -606,26 +521,32 @@ $(function(){
        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 selTestlist  = $("#selTestlist").get(0);
+               var radPass = $("#radPass").get(0);
+               var radFail = $("#radFail").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 divNav      = $("#navbar").get(0);
+               var divFoot = $("#footbar").get(0);
+               var chkBatch = $("#chkBatch").get(0);
+               var chkManualonly = $("#chkManualonly").get(0);
                var runner = null;
-               var listmode = null;
                var nextTest = function () {
-                       runner.goNext();
-                       selectTest();
+                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
+                               selTestlist.selectedIndex = 0;
+                       else
+                               selTestlist.selectedIndex++;
+                       selectTest.call(selTestlist);
                };
 
                var prevTest = function() {
-                       runner.goPrev();
-                       selectTest();
+                       if (selTestlist.selectedIndex <= 0)
+                               selTestlist.selectedIndex = selTestlist.options.length - 1;
+                       else
+                               selTestlist.selectedIndex--;
+                       selectTest.call(selTestlist);
                };
 
                var selectResult = function() {
@@ -633,118 +554,106 @@ $(function(){
                };
 
                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;
+                       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;
                        }
-                       testinfo.value = runner.testInfo();
-                       $(divSum).html(runner.getTestSum(false));
-                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
-                       changeColor(tc.result);
+                       frmTest.src = "";
+                       testinfo.value = runner.testinfo();
                };
 
-               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");
-               }
+               var changeOptColor = function (result, opt) {
+                       if (result == "PASS")
+                               $(opt).css("backgroundColor", "greenyellow");
+                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
+                               $(opt).css("backgroundColor", "orangered");
+               };
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(btnPass).on("click", selectResult);
-                               $(btnFail).on("click", selectResult);
-                               $(btnBlock).on("click", selectResult);
+                               $(radPass).on("click", selectResult);
+                               $(radFail).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());
+                                       if (chkBatch.checked && !chkManualonly.checked)
+                                               runner.autoTest();
+                                       else {
+                                               var opt = selTestlist.options[selTestlist.selectedIndex];
+                                               runner.setTestIndex(parseInt(opt.value));
+                                               self.runTest(runner.getTestCase());
+                                       }
                                });
-                               $(frmTest).on("load",  function () {runner.loadReady();});
+                               $(frmTest).on("load",  function () {runner.load_ready();});
                                $(btnDone).on("click", function () {
-                                       runner.submitResult();
-                                       close_window();
-                               });
-                               $(btnList).on("click", function () {
-                                       frmTest.src = "";
-                                       //self.updateTest(-1);
-                                       setTimeout(function () {self.browse();}, 300);
+                                       setTimeout(function () {runner.submitResult();}, 300);
+                                       frmTest.src = "";});
+                               $(chkManualonly).on("click", function () {
+                                       chkBatch.disabled = this.checked;
+                                       chkBatch.checked = false;
+                                       self.updateList();
                                });
                                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();
+                       setAutotestView: function (autoflag) {
+                               if (autoflag){
+                                       $(divNav).hide();
+                                       $(divFoot).hide();
                                } else {
-                                       $(".listmode").hide();
-                                       $(".singlemode").show();
+                                       $(divNav).show();
+                                       $(divFoot).show();
+                                       frmTest.src = "";
                                }
-                               if (flags & VIEWFLAGS.flags.batch)
-                                       $(".batchmode").hide();
-                               else
-                                       $(".batchmode").show();
                        },
 
-                       testComplete: function () {
-                               return runner.checkResult(frmTest.contentWindow.document);
+                       getTestfrmDoc: function () {
+                               return 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);
+                       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) {
+                          testinfo.value = info;
+                       }
           };
        } ());
 
@@ -770,12 +679,6 @@ $(function(){
                        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 0c557bc..7955e82 100755 (executable)
@@ -1,9 +1,7 @@
 /*
 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,
@@ -12,7 +10,6 @@ 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
@@ -23,127 +20,56 @@ 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.ui = null;
                this.submitResult = null;
+               this.ui = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
+               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
+               var autoflag = false;
                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();
+               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
+               };
                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;
                        },
 
-                       runAll: function () {
-                               testContext = newTestContext();
-                               this.ui.updateView(VIEWFLAGS.add("batch"));
-                               this.ui.updateView(VIEWFLAGS.del("list"));
-                               this.testIndex(-1);     
-                               this.doTest();
-                       },
-       
-                       cleanTests: function () {
-                               Tests = [];
+                       getTestIndex: function () {
+                               return index;
                        },
 
-                       testIndex: function (ind) {
-                               if (typeof ind === "undefined")
-                                       return index;
+                       setTestIndex: function (ind) {
                                index = ind;
                        },
 
@@ -154,32 +80,32 @@ $(function(){
                        },
 
                        addTest: function (test) {
-                               if (test instanceof Array)
-                                       Tests = Tests.concat(test);
-                               else
-                                       Tests.push(test);
+                               Tests.push(test);
+                       },
+
+                       getTestLength: function () {
+                               if (Tests === null)
+                                       return 0;
+                               return Tests.length;
                        },
 
                        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, set) {
-                               if (oldRes !== null) {
+                       sumUpdate: function (oldRes, newRes) {
+                               if (oldRes !== null)
                                        sum[oldRes]--;
-                                       if (set !== null) Sets[set][oldRes]--;
-                               }
-                               if (newRes !== null) {
+                               if (newRes !== null)
                                        sum[newRes]++;
-                                       if (set != null) Sets[set][newRes]++;
-                               }
                        },
 
-                       checkResult: function (oTestDoc) {
+                       checkResult: function () {
                                var message = "";
+                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -187,11 +113,13 @@ $(function(){
                                                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);
+                                       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');
                                        return true;
                                }
 
@@ -215,13 +143,13 @@ $(function(){
                                return false;
                        },
 
-                       testInfo: function (ind) {
+                       testinfo: function () {
                                var info = "";
+                               for (var n in sum)
+                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               if (!tc) return info;
-                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
-                               info += tc.test_script_entry;
-                               info += "\nPurpose: " +  tc.purpose;
+                               info += "\n\nTest\t: " + tc.test_script_entry;
+                               info += "\nPurpose\t: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -229,12 +157,18 @@ $(function(){
                                return info;
                        },
 
-                       getTestCaseUrl: function () {
+                       getTestCase: function (name, ind) {
+                               if (ind === null)
+                                       ind = this.getTestIndex();
+                               var tc = this.getTest(ind);
+                               return tc[name];
+                       },
+
+                       getTestCase: 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 "";
@@ -245,7 +179,6 @@ $(function(){
                                        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;
@@ -253,17 +186,14 @@ $(function(){
                                        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
+                               if (val && tc.execution_type == "auto") { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri)
+                                       if (testContext.uri == testContext.prev_uri) {
+                                               this.load_ready();
                                                return "";
+                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -273,14 +203,14 @@ $(function(){
                                return testContext.uri;
                        },
 
-                       loadReady: function () {
-                               if (!VIEWFLAGS.has("batch"))
+                       load_ready: function () {
+                               if (!autoflag)
                                        return;
-                               if (!this.ui.testComplete()){
+                               if (!this.checkResult()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.loadReady();}, tval);
+                                               setTimeout(function() {self.load_ready();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -289,78 +219,25 @@ $(function(){
                                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;
+                       setAutomode: function (flag) {
+                               if (this.ui)
+                                       this.ui.setAutotestView(flag);
+                               autoflag = flag;
                        },
 
-                       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;
+                       autoTest: function () {
+                               index = -1;
+                               this.setAutomode(true);
+                               this.doTest();
                        },
 
-                       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: "",
@@ -372,89 +249,89 @@ $(function(){
        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++;
+                       $(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);
                        });
-                       self.addTest(manuals);
+               }
+
+               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 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");
+               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");
        };
 
        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);
+               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());
                        return;
                }
-               this.ui.updateTest();   
+               self.ui.updateList();
+               this.setAutomode(false);
+               setTimeout(function () {self.submitResult();}, 2000);
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
-               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result, tc.set);
+               this.sumUpdate(oldresult, result);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -463,14 +340,56 @@ $(function(){
                                   "</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);
+               this.ui.updateResult(result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var contents = (new XMLSerializer()).serializeToString(xmldoc);
-               if (window.opener) window.opener.postMessage(contents, "*");
+               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);
        };
 
        master_runner.internal = {xmldoc: null};
@@ -489,23 +408,22 @@ $(function(){
                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.ui.updateView(VIEWFLAGS.add("batch"));
-               self.ui.updateView(VIEWFLAGS.del("list"));
-               setTimeout(f, 1000);
+               self.setAutomode(true);
+               setTimeout(f, 2000);
                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();
+                       self.setAutomode(false);
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -513,28 +431,27 @@ $(function(){
                        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.goNext();
-                               self.ui.updateTestInfo(self.testInfo(), null, null);
-                               self.ui.runTest(self.getTestCaseUrl());
+                               self.setTestIndex(0);
+                               self.ui.runTest(self.getTestCase());
                                return;
                        } else {  //handle manual test
-                               self.ui.updateView(VIEWFLAGS.del("batch"));
+                               self.setAutomode(false);
                                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();
@@ -543,8 +460,6 @@ $(function(){
                                                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";
@@ -553,9 +468,8 @@ $(function(){
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateTest(-1);
+                                       self.ui.updateList();
                                        self.sumInit();
-                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -572,6 +486,7 @@ $(function(){
                                {"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,
@@ -580,13 +495,13 @@ $(function(){
                                  "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);
+               this.sumUpdate(oldresult, result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
+               close_window();
        };
 
        slave_runner.internal = {
@@ -606,26 +521,32 @@ $(function(){
        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 selTestlist  = $("#selTestlist").get(0);
+               var radPass = $("#radPass").get(0);
+               var radFail = $("#radFail").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 divNav      = $("#navbar").get(0);
+               var divFoot = $("#footbar").get(0);
+               var chkBatch = $("#chkBatch").get(0);
+               var chkManualonly = $("#chkManualonly").get(0);
                var runner = null;
-               var listmode = null;
                var nextTest = function () {
-                       runner.goNext();
-                       selectTest();
+                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
+                               selTestlist.selectedIndex = 0;
+                       else
+                               selTestlist.selectedIndex++;
+                       selectTest.call(selTestlist);
                };
 
                var prevTest = function() {
-                       runner.goPrev();
-                       selectTest();
+                       if (selTestlist.selectedIndex <= 0)
+                               selTestlist.selectedIndex = selTestlist.options.length - 1;
+                       else
+                               selTestlist.selectedIndex--;
+                       selectTest.call(selTestlist);
                };
 
                var selectResult = function() {
@@ -633,118 +554,106 @@ $(function(){
                };
 
                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;
+                       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;
                        }
-                       testinfo.value = runner.testInfo();
-                       $(divSum).html(runner.getTestSum(false));
-                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
-                       changeColor(tc.result);
+                       frmTest.src = "";
+                       testinfo.value = runner.testinfo();
                };
 
-               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");
-               }
+               var changeOptColor = function (result, opt) {
+                       if (result == "PASS")
+                               $(opt).css("backgroundColor", "greenyellow");
+                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
+                               $(opt).css("backgroundColor", "orangered");
+               };
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(btnPass).on("click", selectResult);
-                               $(btnFail).on("click", selectResult);
-                               $(btnBlock).on("click", selectResult);
+                               $(radPass).on("click", selectResult);
+                               $(radFail).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());
+                                       if (chkBatch.checked && !chkManualonly.checked)
+                                               runner.autoTest();
+                                       else {
+                                               var opt = selTestlist.options[selTestlist.selectedIndex];
+                                               runner.setTestIndex(parseInt(opt.value));
+                                               self.runTest(runner.getTestCase());
+                                       }
                                });
-                               $(frmTest).on("load",  function () {runner.loadReady();});
+                               $(frmTest).on("load",  function () {runner.load_ready();});
                                $(btnDone).on("click", function () {
-                                       runner.submitResult();
-                                       close_window();
-                               });
-                               $(btnList).on("click", function () {
-                                       frmTest.src = "";
-                                       //self.updateTest(-1);
-                                       setTimeout(function () {self.browse();}, 300);
+                                       setTimeout(function () {runner.submitResult();}, 300);
+                                       frmTest.src = "";});
+                               $(chkManualonly).on("click", function () {
+                                       chkBatch.disabled = this.checked;
+                                       chkBatch.checked = false;
+                                       self.updateList();
                                });
                                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();
+                       setAutotestView: function (autoflag) {
+                               if (autoflag){
+                                       $(divNav).hide();
+                                       $(divFoot).hide();
                                } else {
-                                       $(".listmode").hide();
-                                       $(".singlemode").show();
+                                       $(divNav).show();
+                                       $(divFoot).show();
+                                       frmTest.src = "";
                                }
-                               if (flags & VIEWFLAGS.flags.batch)
-                                       $(".batchmode").hide();
-                               else
-                                       $(".batchmode").show();
                        },
 
-                       testComplete: function () {
-                               return runner.checkResult(frmTest.contentWindow.document);
+                       getTestfrmDoc: function () {
+                               return 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);
+                       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) {
+                          testinfo.value = info;
+                       }
           };
        } ());
 
@@ -770,12 +679,6 @@ $(function(){
                        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 0c557bc..7955e82 100755 (executable)
@@ -1,9 +1,7 @@
 /*
 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,
@@ -12,7 +10,6 @@ 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
@@ -23,127 +20,56 @@ 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.ui = null;
                this.submitResult = null;
+               this.ui = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
+               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
+               var autoflag = false;
                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();
+               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
+               };
                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;
                        },
 
-                       runAll: function () {
-                               testContext = newTestContext();
-                               this.ui.updateView(VIEWFLAGS.add("batch"));
-                               this.ui.updateView(VIEWFLAGS.del("list"));
-                               this.testIndex(-1);     
-                               this.doTest();
-                       },
-       
-                       cleanTests: function () {
-                               Tests = [];
+                       getTestIndex: function () {
+                               return index;
                        },
 
-                       testIndex: function (ind) {
-                               if (typeof ind === "undefined")
-                                       return index;
+                       setTestIndex: function (ind) {
                                index = ind;
                        },
 
@@ -154,32 +80,32 @@ $(function(){
                        },
 
                        addTest: function (test) {
-                               if (test instanceof Array)
-                                       Tests = Tests.concat(test);
-                               else
-                                       Tests.push(test);
+                               Tests.push(test);
+                       },
+
+                       getTestLength: function () {
+                               if (Tests === null)
+                                       return 0;
+                               return Tests.length;
                        },
 
                        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, set) {
-                               if (oldRes !== null) {
+                       sumUpdate: function (oldRes, newRes) {
+                               if (oldRes !== null)
                                        sum[oldRes]--;
-                                       if (set !== null) Sets[set][oldRes]--;
-                               }
-                               if (newRes !== null) {
+                               if (newRes !== null)
                                        sum[newRes]++;
-                                       if (set != null) Sets[set][newRes]++;
-                               }
                        },
 
-                       checkResult: function (oTestDoc) {
+                       checkResult: function () {
                                var message = "";
+                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -187,11 +113,13 @@ $(function(){
                                                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);
+                                       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');
                                        return true;
                                }
 
@@ -215,13 +143,13 @@ $(function(){
                                return false;
                        },
 
-                       testInfo: function (ind) {
+                       testinfo: function () {
                                var info = "";
+                               for (var n in sum)
+                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               if (!tc) return info;
-                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
-                               info += tc.test_script_entry;
-                               info += "\nPurpose: " +  tc.purpose;
+                               info += "\n\nTest\t: " + tc.test_script_entry;
+                               info += "\nPurpose\t: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -229,12 +157,18 @@ $(function(){
                                return info;
                        },
 
-                       getTestCaseUrl: function () {
+                       getTestCase: function (name, ind) {
+                               if (ind === null)
+                                       ind = this.getTestIndex();
+                               var tc = this.getTest(ind);
+                               return tc[name];
+                       },
+
+                       getTestCase: 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 "";
@@ -245,7 +179,6 @@ $(function(){
                                        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;
@@ -253,17 +186,14 @@ $(function(){
                                        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
+                               if (val && tc.execution_type == "auto") { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri)
+                                       if (testContext.uri == testContext.prev_uri) {
+                                               this.load_ready();
                                                return "";
+                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -273,14 +203,14 @@ $(function(){
                                return testContext.uri;
                        },
 
-                       loadReady: function () {
-                               if (!VIEWFLAGS.has("batch"))
+                       load_ready: function () {
+                               if (!autoflag)
                                        return;
-                               if (!this.ui.testComplete()){
+                               if (!this.checkResult()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.loadReady();}, tval);
+                                               setTimeout(function() {self.load_ready();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -289,78 +219,25 @@ $(function(){
                                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;
+                       setAutomode: function (flag) {
+                               if (this.ui)
+                                       this.ui.setAutotestView(flag);
+                               autoflag = flag;
                        },
 
-                       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;
+                       autoTest: function () {
+                               index = -1;
+                               this.setAutomode(true);
+                               this.doTest();
                        },
 
-                       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: "",
@@ -372,89 +249,89 @@ $(function(){
        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++;
+                       $(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);
                        });
-                       self.addTest(manuals);
+               }
+
+               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 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");
+               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");
        };
 
        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);
+               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());
                        return;
                }
-               this.ui.updateTest();   
+               self.ui.updateList();
+               this.setAutomode(false);
+               setTimeout(function () {self.submitResult();}, 2000);
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
-               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result, tc.set);
+               this.sumUpdate(oldresult, result);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -463,14 +340,56 @@ $(function(){
                                   "</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);
+               this.ui.updateResult(result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var contents = (new XMLSerializer()).serializeToString(xmldoc);
-               if (window.opener) window.opener.postMessage(contents, "*");
+               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);
        };
 
        master_runner.internal = {xmldoc: null};
@@ -489,23 +408,22 @@ $(function(){
                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.ui.updateView(VIEWFLAGS.add("batch"));
-               self.ui.updateView(VIEWFLAGS.del("list"));
-               setTimeout(f, 1000);
+               self.setAutomode(true);
+               setTimeout(f, 2000);
                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();
+                       self.setAutomode(false);
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -513,28 +431,27 @@ $(function(){
                        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.goNext();
-                               self.ui.updateTestInfo(self.testInfo(), null, null);
-                               self.ui.runTest(self.getTestCaseUrl());
+                               self.setTestIndex(0);
+                               self.ui.runTest(self.getTestCase());
                                return;
                        } else {  //handle manual test
-                               self.ui.updateView(VIEWFLAGS.del("batch"));
+                               self.setAutomode(false);
                                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();
@@ -543,8 +460,6 @@ $(function(){
                                                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";
@@ -553,9 +468,8 @@ $(function(){
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateTest(-1);
+                                       self.ui.updateList();
                                        self.sumInit();
-                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -572,6 +486,7 @@ $(function(){
                                {"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,
@@ -580,13 +495,13 @@ $(function(){
                                  "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);
+               this.sumUpdate(oldresult, result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
+               close_window();
        };
 
        slave_runner.internal = {
@@ -606,26 +521,32 @@ $(function(){
        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 selTestlist  = $("#selTestlist").get(0);
+               var radPass = $("#radPass").get(0);
+               var radFail = $("#radFail").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 divNav      = $("#navbar").get(0);
+               var divFoot = $("#footbar").get(0);
+               var chkBatch = $("#chkBatch").get(0);
+               var chkManualonly = $("#chkManualonly").get(0);
                var runner = null;
-               var listmode = null;
                var nextTest = function () {
-                       runner.goNext();
-                       selectTest();
+                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
+                               selTestlist.selectedIndex = 0;
+                       else
+                               selTestlist.selectedIndex++;
+                       selectTest.call(selTestlist);
                };
 
                var prevTest = function() {
-                       runner.goPrev();
-                       selectTest();
+                       if (selTestlist.selectedIndex <= 0)
+                               selTestlist.selectedIndex = selTestlist.options.length - 1;
+                       else
+                               selTestlist.selectedIndex--;
+                       selectTest.call(selTestlist);
                };
 
                var selectResult = function() {
@@ -633,118 +554,106 @@ $(function(){
                };
 
                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;
+                       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;
                        }
-                       testinfo.value = runner.testInfo();
-                       $(divSum).html(runner.getTestSum(false));
-                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
-                       changeColor(tc.result);
+                       frmTest.src = "";
+                       testinfo.value = runner.testinfo();
                };
 
-               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");
-               }
+               var changeOptColor = function (result, opt) {
+                       if (result == "PASS")
+                               $(opt).css("backgroundColor", "greenyellow");
+                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
+                               $(opt).css("backgroundColor", "orangered");
+               };
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(btnPass).on("click", selectResult);
-                               $(btnFail).on("click", selectResult);
-                               $(btnBlock).on("click", selectResult);
+                               $(radPass).on("click", selectResult);
+                               $(radFail).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());
+                                       if (chkBatch.checked && !chkManualonly.checked)
+                                               runner.autoTest();
+                                       else {
+                                               var opt = selTestlist.options[selTestlist.selectedIndex];
+                                               runner.setTestIndex(parseInt(opt.value));
+                                               self.runTest(runner.getTestCase());
+                                       }
                                });
-                               $(frmTest).on("load",  function () {runner.loadReady();});
+                               $(frmTest).on("load",  function () {runner.load_ready();});
                                $(btnDone).on("click", function () {
-                                       runner.submitResult();
-                                       close_window();
-                               });
-                               $(btnList).on("click", function () {
-                                       frmTest.src = "";
-                                       //self.updateTest(-1);
-                                       setTimeout(function () {self.browse();}, 300);
+                                       setTimeout(function () {runner.submitResult();}, 300);
+                                       frmTest.src = "";});
+                               $(chkManualonly).on("click", function () {
+                                       chkBatch.disabled = this.checked;
+                                       chkBatch.checked = false;
+                                       self.updateList();
                                });
                                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();
+                       setAutotestView: function (autoflag) {
+                               if (autoflag){
+                                       $(divNav).hide();
+                                       $(divFoot).hide();
                                } else {
-                                       $(".listmode").hide();
-                                       $(".singlemode").show();
+                                       $(divNav).show();
+                                       $(divFoot).show();
+                                       frmTest.src = "";
                                }
-                               if (flags & VIEWFLAGS.flags.batch)
-                                       $(".batchmode").hide();
-                               else
-                                       $(".batchmode").show();
                        },
 
-                       testComplete: function () {
-                               return runner.checkResult(frmTest.contentWindow.document);
+                       getTestfrmDoc: function () {
+                               return 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);
+                       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) {
+                          testinfo.value = info;
+                       }
           };
        } ());
 
@@ -770,12 +679,6 @@ $(function(){
                        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 0c557bc..7955e82 100755 (executable)
@@ -1,9 +1,7 @@
 /*
 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,
@@ -12,7 +10,6 @@ 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
@@ -23,127 +20,56 @@ 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.ui = null;
                this.submitResult = null;
+               this.ui = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
+               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
+               var autoflag = false;
                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();
+               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
+               };
                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;
                        },
 
-                       runAll: function () {
-                               testContext = newTestContext();
-                               this.ui.updateView(VIEWFLAGS.add("batch"));
-                               this.ui.updateView(VIEWFLAGS.del("list"));
-                               this.testIndex(-1);     
-                               this.doTest();
-                       },
-       
-                       cleanTests: function () {
-                               Tests = [];
+                       getTestIndex: function () {
+                               return index;
                        },
 
-                       testIndex: function (ind) {
-                               if (typeof ind === "undefined")
-                                       return index;
+                       setTestIndex: function (ind) {
                                index = ind;
                        },
 
@@ -154,32 +80,32 @@ $(function(){
                        },
 
                        addTest: function (test) {
-                               if (test instanceof Array)
-                                       Tests = Tests.concat(test);
-                               else
-                                       Tests.push(test);
+                               Tests.push(test);
+                       },
+
+                       getTestLength: function () {
+                               if (Tests === null)
+                                       return 0;
+                               return Tests.length;
                        },
 
                        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, set) {
-                               if (oldRes !== null) {
+                       sumUpdate: function (oldRes, newRes) {
+                               if (oldRes !== null)
                                        sum[oldRes]--;
-                                       if (set !== null) Sets[set][oldRes]--;
-                               }
-                               if (newRes !== null) {
+                               if (newRes !== null)
                                        sum[newRes]++;
-                                       if (set != null) Sets[set][newRes]++;
-                               }
                        },
 
-                       checkResult: function (oTestDoc) {
+                       checkResult: function () {
                                var message = "";
+                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -187,11 +113,13 @@ $(function(){
                                                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);
+                                       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');
                                        return true;
                                }
 
@@ -215,13 +143,13 @@ $(function(){
                                return false;
                        },
 
-                       testInfo: function (ind) {
+                       testinfo: function () {
                                var info = "";
+                               for (var n in sum)
+                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               if (!tc) return info;
-                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
-                               info += tc.test_script_entry;
-                               info += "\nPurpose: " +  tc.purpose;
+                               info += "\n\nTest\t: " + tc.test_script_entry;
+                               info += "\nPurpose\t: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -229,12 +157,18 @@ $(function(){
                                return info;
                        },
 
-                       getTestCaseUrl: function () {
+                       getTestCase: function (name, ind) {
+                               if (ind === null)
+                                       ind = this.getTestIndex();
+                               var tc = this.getTest(ind);
+                               return tc[name];
+                       },
+
+                       getTestCase: 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 "";
@@ -245,7 +179,6 @@ $(function(){
                                        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;
@@ -253,17 +186,14 @@ $(function(){
                                        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
+                               if (val && tc.execution_type == "auto") { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri)
+                                       if (testContext.uri == testContext.prev_uri) {
+                                               this.load_ready();
                                                return "";
+                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -273,14 +203,14 @@ $(function(){
                                return testContext.uri;
                        },
 
-                       loadReady: function () {
-                               if (!VIEWFLAGS.has("batch"))
+                       load_ready: function () {
+                               if (!autoflag)
                                        return;
-                               if (!this.ui.testComplete()){
+                               if (!this.checkResult()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.loadReady();}, tval);
+                                               setTimeout(function() {self.load_ready();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -289,78 +219,25 @@ $(function(){
                                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;
+                       setAutomode: function (flag) {
+                               if (this.ui)
+                                       this.ui.setAutotestView(flag);
+                               autoflag = flag;
                        },
 
-                       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;
+                       autoTest: function () {
+                               index = -1;
+                               this.setAutomode(true);
+                               this.doTest();
                        },
 
-                       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: "",
@@ -372,89 +249,89 @@ $(function(){
        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++;
+                       $(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);
                        });
-                       self.addTest(manuals);
+               }
+
+               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 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");
+               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");
        };
 
        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);
+               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());
                        return;
                }
-               this.ui.updateTest();   
+               self.ui.updateList();
+               this.setAutomode(false);
+               setTimeout(function () {self.submitResult();}, 2000);
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
-               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result, tc.set);
+               this.sumUpdate(oldresult, result);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -463,14 +340,56 @@ $(function(){
                                   "</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);
+               this.ui.updateResult(result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var contents = (new XMLSerializer()).serializeToString(xmldoc);
-               if (window.opener) window.opener.postMessage(contents, "*");
+               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);
        };
 
        master_runner.internal = {xmldoc: null};
@@ -489,23 +408,22 @@ $(function(){
                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.ui.updateView(VIEWFLAGS.add("batch"));
-               self.ui.updateView(VIEWFLAGS.del("list"));
-               setTimeout(f, 1000);
+               self.setAutomode(true);
+               setTimeout(f, 2000);
                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();
+                       self.setAutomode(false);
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -513,28 +431,27 @@ $(function(){
                        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.goNext();
-                               self.ui.updateTestInfo(self.testInfo(), null, null);
-                               self.ui.runTest(self.getTestCaseUrl());
+                               self.setTestIndex(0);
+                               self.ui.runTest(self.getTestCase());
                                return;
                        } else {  //handle manual test
-                               self.ui.updateView(VIEWFLAGS.del("batch"));
+                               self.setAutomode(false);
                                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();
@@ -543,8 +460,6 @@ $(function(){
                                                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";
@@ -553,9 +468,8 @@ $(function(){
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateTest(-1);
+                                       self.ui.updateList();
                                        self.sumInit();
-                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -572,6 +486,7 @@ $(function(){
                                {"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,
@@ -580,13 +495,13 @@ $(function(){
                                  "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);
+               this.sumUpdate(oldresult, result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
+               close_window();
        };
 
        slave_runner.internal = {
@@ -606,26 +521,32 @@ $(function(){
        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 selTestlist  = $("#selTestlist").get(0);
+               var radPass = $("#radPass").get(0);
+               var radFail = $("#radFail").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 divNav      = $("#navbar").get(0);
+               var divFoot = $("#footbar").get(0);
+               var chkBatch = $("#chkBatch").get(0);
+               var chkManualonly = $("#chkManualonly").get(0);
                var runner = null;
-               var listmode = null;
                var nextTest = function () {
-                       runner.goNext();
-                       selectTest();
+                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
+                               selTestlist.selectedIndex = 0;
+                       else
+                               selTestlist.selectedIndex++;
+                       selectTest.call(selTestlist);
                };
 
                var prevTest = function() {
-                       runner.goPrev();
-                       selectTest();
+                       if (selTestlist.selectedIndex <= 0)
+                               selTestlist.selectedIndex = selTestlist.options.length - 1;
+                       else
+                               selTestlist.selectedIndex--;
+                       selectTest.call(selTestlist);
                };
 
                var selectResult = function() {
@@ -633,118 +554,106 @@ $(function(){
                };
 
                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;
+                       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;
                        }
-                       testinfo.value = runner.testInfo();
-                       $(divSum).html(runner.getTestSum(false));
-                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
-                       changeColor(tc.result);
+                       frmTest.src = "";
+                       testinfo.value = runner.testinfo();
                };
 
-               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");
-               }
+               var changeOptColor = function (result, opt) {
+                       if (result == "PASS")
+                               $(opt).css("backgroundColor", "greenyellow");
+                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
+                               $(opt).css("backgroundColor", "orangered");
+               };
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(btnPass).on("click", selectResult);
-                               $(btnFail).on("click", selectResult);
-                               $(btnBlock).on("click", selectResult);
+                               $(radPass).on("click", selectResult);
+                               $(radFail).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());
+                                       if (chkBatch.checked && !chkManualonly.checked)
+                                               runner.autoTest();
+                                       else {
+                                               var opt = selTestlist.options[selTestlist.selectedIndex];
+                                               runner.setTestIndex(parseInt(opt.value));
+                                               self.runTest(runner.getTestCase());
+                                       }
                                });
-                               $(frmTest).on("load",  function () {runner.loadReady();});
+                               $(frmTest).on("load",  function () {runner.load_ready();});
                                $(btnDone).on("click", function () {
-                                       runner.submitResult();
-                                       close_window();
-                               });
-                               $(btnList).on("click", function () {
-                                       frmTest.src = "";
-                                       //self.updateTest(-1);
-                                       setTimeout(function () {self.browse();}, 300);
+                                       setTimeout(function () {runner.submitResult();}, 300);
+                                       frmTest.src = "";});
+                               $(chkManualonly).on("click", function () {
+                                       chkBatch.disabled = this.checked;
+                                       chkBatch.checked = false;
+                                       self.updateList();
                                });
                                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();
+                       setAutotestView: function (autoflag) {
+                               if (autoflag){
+                                       $(divNav).hide();
+                                       $(divFoot).hide();
                                } else {
-                                       $(".listmode").hide();
-                                       $(".singlemode").show();
+                                       $(divNav).show();
+                                       $(divFoot).show();
+                                       frmTest.src = "";
                                }
-                               if (flags & VIEWFLAGS.flags.batch)
-                                       $(".batchmode").hide();
-                               else
-                                       $(".batchmode").show();
                        },
 
-                       testComplete: function () {
-                               return runner.checkResult(frmTest.contentWindow.document);
+                       getTestfrmDoc: function () {
+                               return 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);
+                       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) {
+                          testinfo.value = info;
+                       }
           };
        } ());
 
@@ -770,12 +679,6 @@ $(function(){
                        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 0c557bc..7955e82 100755 (executable)
@@ -1,9 +1,7 @@
 /*
 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,
@@ -12,7 +10,6 @@ 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
@@ -23,127 +20,56 @@ 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.ui = null;
                this.submitResult = null;
+               this.ui = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
+               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
+               var autoflag = false;
                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();
+               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
+               };
                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;
                        },
 
-                       runAll: function () {
-                               testContext = newTestContext();
-                               this.ui.updateView(VIEWFLAGS.add("batch"));
-                               this.ui.updateView(VIEWFLAGS.del("list"));
-                               this.testIndex(-1);     
-                               this.doTest();
-                       },
-       
-                       cleanTests: function () {
-                               Tests = [];
+                       getTestIndex: function () {
+                               return index;
                        },
 
-                       testIndex: function (ind) {
-                               if (typeof ind === "undefined")
-                                       return index;
+                       setTestIndex: function (ind) {
                                index = ind;
                        },
 
@@ -154,32 +80,32 @@ $(function(){
                        },
 
                        addTest: function (test) {
-                               if (test instanceof Array)
-                                       Tests = Tests.concat(test);
-                               else
-                                       Tests.push(test);
+                               Tests.push(test);
+                       },
+
+                       getTestLength: function () {
+                               if (Tests === null)
+                                       return 0;
+                               return Tests.length;
                        },
 
                        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, set) {
-                               if (oldRes !== null) {
+                       sumUpdate: function (oldRes, newRes) {
+                               if (oldRes !== null)
                                        sum[oldRes]--;
-                                       if (set !== null) Sets[set][oldRes]--;
-                               }
-                               if (newRes !== null) {
+                               if (newRes !== null)
                                        sum[newRes]++;
-                                       if (set != null) Sets[set][newRes]++;
-                               }
                        },
 
-                       checkResult: function (oTestDoc) {
+                       checkResult: function () {
                                var message = "";
+                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -187,11 +113,13 @@ $(function(){
                                                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);
+                                       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');
                                        return true;
                                }
 
@@ -215,13 +143,13 @@ $(function(){
                                return false;
                        },
 
-                       testInfo: function (ind) {
+                       testinfo: function () {
                                var info = "";
+                               for (var n in sum)
+                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               if (!tc) return info;
-                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
-                               info += tc.test_script_entry;
-                               info += "\nPurpose: " +  tc.purpose;
+                               info += "\n\nTest\t: " + tc.test_script_entry;
+                               info += "\nPurpose\t: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -229,12 +157,18 @@ $(function(){
                                return info;
                        },
 
-                       getTestCaseUrl: function () {
+                       getTestCase: function (name, ind) {
+                               if (ind === null)
+                                       ind = this.getTestIndex();
+                               var tc = this.getTest(ind);
+                               return tc[name];
+                       },
+
+                       getTestCase: 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 "";
@@ -245,7 +179,6 @@ $(function(){
                                        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;
@@ -253,17 +186,14 @@ $(function(){
                                        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
+                               if (val && tc.execution_type == "auto") { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri)
+                                       if (testContext.uri == testContext.prev_uri) {
+                                               this.load_ready();
                                                return "";
+                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -273,14 +203,14 @@ $(function(){
                                return testContext.uri;
                        },
 
-                       loadReady: function () {
-                               if (!VIEWFLAGS.has("batch"))
+                       load_ready: function () {
+                               if (!autoflag)
                                        return;
-                               if (!this.ui.testComplete()){
+                               if (!this.checkResult()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.loadReady();}, tval);
+                                               setTimeout(function() {self.load_ready();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -289,78 +219,25 @@ $(function(){
                                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;
+                       setAutomode: function (flag) {
+                               if (this.ui)
+                                       this.ui.setAutotestView(flag);
+                               autoflag = flag;
                        },
 
-                       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;
+                       autoTest: function () {
+                               index = -1;
+                               this.setAutomode(true);
+                               this.doTest();
                        },
 
-                       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: "",
@@ -372,89 +249,89 @@ $(function(){
        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++;
+                       $(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);
                        });
-                       self.addTest(manuals);
+               }
+
+               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 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");
+               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");
        };
 
        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);
+               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());
                        return;
                }
-               this.ui.updateTest();   
+               self.ui.updateList();
+               this.setAutomode(false);
+               setTimeout(function () {self.submitResult();}, 2000);
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
-               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result, tc.set);
+               this.sumUpdate(oldresult, result);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -463,14 +340,56 @@ $(function(){
                                   "</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);
+               this.ui.updateResult(result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var contents = (new XMLSerializer()).serializeToString(xmldoc);
-               if (window.opener) window.opener.postMessage(contents, "*");
+               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);
        };
 
        master_runner.internal = {xmldoc: null};
@@ -489,23 +408,22 @@ $(function(){
                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.ui.updateView(VIEWFLAGS.add("batch"));
-               self.ui.updateView(VIEWFLAGS.del("list"));
-               setTimeout(f, 1000);
+               self.setAutomode(true);
+               setTimeout(f, 2000);
                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();
+                       self.setAutomode(false);
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -513,28 +431,27 @@ $(function(){
                        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.goNext();
-                               self.ui.updateTestInfo(self.testInfo(), null, null);
-                               self.ui.runTest(self.getTestCaseUrl());
+                               self.setTestIndex(0);
+                               self.ui.runTest(self.getTestCase());
                                return;
                        } else {  //handle manual test
-                               self.ui.updateView(VIEWFLAGS.del("batch"));
+                               self.setAutomode(false);
                                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();
@@ -543,8 +460,6 @@ $(function(){
                                                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";
@@ -553,9 +468,8 @@ $(function(){
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateTest(-1);
+                                       self.ui.updateList();
                                        self.sumInit();
-                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -572,6 +486,7 @@ $(function(){
                                {"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,
@@ -580,13 +495,13 @@ $(function(){
                                  "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);
+               this.sumUpdate(oldresult, result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
+               close_window();
        };
 
        slave_runner.internal = {
@@ -606,26 +521,32 @@ $(function(){
        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 selTestlist  = $("#selTestlist").get(0);
+               var radPass = $("#radPass").get(0);
+               var radFail = $("#radFail").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 divNav      = $("#navbar").get(0);
+               var divFoot = $("#footbar").get(0);
+               var chkBatch = $("#chkBatch").get(0);
+               var chkManualonly = $("#chkManualonly").get(0);
                var runner = null;
-               var listmode = null;
                var nextTest = function () {
-                       runner.goNext();
-                       selectTest();
+                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
+                               selTestlist.selectedIndex = 0;
+                       else
+                               selTestlist.selectedIndex++;
+                       selectTest.call(selTestlist);
                };
 
                var prevTest = function() {
-                       runner.goPrev();
-                       selectTest();
+                       if (selTestlist.selectedIndex <= 0)
+                               selTestlist.selectedIndex = selTestlist.options.length - 1;
+                       else
+                               selTestlist.selectedIndex--;
+                       selectTest.call(selTestlist);
                };
 
                var selectResult = function() {
@@ -633,118 +554,106 @@ $(function(){
                };
 
                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;
+                       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;
                        }
-                       testinfo.value = runner.testInfo();
-                       $(divSum).html(runner.getTestSum(false));
-                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
-                       changeColor(tc.result);
+                       frmTest.src = "";
+                       testinfo.value = runner.testinfo();
                };
 
-               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");
-               }
+               var changeOptColor = function (result, opt) {
+                       if (result == "PASS")
+                               $(opt).css("backgroundColor", "greenyellow");
+                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
+                               $(opt).css("backgroundColor", "orangered");
+               };
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(btnPass).on("click", selectResult);
-                               $(btnFail).on("click", selectResult);
-                               $(btnBlock).on("click", selectResult);
+                               $(radPass).on("click", selectResult);
+                               $(radFail).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());
+                                       if (chkBatch.checked && !chkManualonly.checked)
+                                               runner.autoTest();
+                                       else {
+                                               var opt = selTestlist.options[selTestlist.selectedIndex];
+                                               runner.setTestIndex(parseInt(opt.value));
+                                               self.runTest(runner.getTestCase());
+                                       }
                                });
-                               $(frmTest).on("load",  function () {runner.loadReady();});
+                               $(frmTest).on("load",  function () {runner.load_ready();});
                                $(btnDone).on("click", function () {
-                                       runner.submitResult();
-                                       close_window();
-                               });
-                               $(btnList).on("click", function () {
-                                       frmTest.src = "";
-                                       //self.updateTest(-1);
-                                       setTimeout(function () {self.browse();}, 300);
+                                       setTimeout(function () {runner.submitResult();}, 300);
+                                       frmTest.src = "";});
+                               $(chkManualonly).on("click", function () {
+                                       chkBatch.disabled = this.checked;
+                                       chkBatch.checked = false;
+                                       self.updateList();
                                });
                                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();
+                       setAutotestView: function (autoflag) {
+                               if (autoflag){
+                                       $(divNav).hide();
+                                       $(divFoot).hide();
                                } else {
-                                       $(".listmode").hide();
-                                       $(".singlemode").show();
+                                       $(divNav).show();
+                                       $(divFoot).show();
+                                       frmTest.src = "";
                                }
-                               if (flags & VIEWFLAGS.flags.batch)
-                                       $(".batchmode").hide();
-                               else
-                                       $(".batchmode").show();
                        },
 
-                       testComplete: function () {
-                               return runner.checkResult(frmTest.contentWindow.document);
+                       getTestfrmDoc: function () {
+                               return 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);
+                       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) {
+                          testinfo.value = info;
+                       }
           };
        } ());
 
@@ -770,12 +679,6 @@ $(function(){
                        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 0c557bc..7955e82 100755 (executable)
@@ -1,9 +1,7 @@
 /*
 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,
@@ -12,7 +10,6 @@ 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
@@ -23,127 +20,56 @@ 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.ui = null;
                this.submitResult = null;
+               this.ui = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
+               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
+               var autoflag = false;
                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();
+               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
+               };
                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;
                        },
 
-                       runAll: function () {
-                               testContext = newTestContext();
-                               this.ui.updateView(VIEWFLAGS.add("batch"));
-                               this.ui.updateView(VIEWFLAGS.del("list"));
-                               this.testIndex(-1);     
-                               this.doTest();
-                       },
-       
-                       cleanTests: function () {
-                               Tests = [];
+                       getTestIndex: function () {
+                               return index;
                        },
 
-                       testIndex: function (ind) {
-                               if (typeof ind === "undefined")
-                                       return index;
+                       setTestIndex: function (ind) {
                                index = ind;
                        },
 
@@ -154,32 +80,32 @@ $(function(){
                        },
 
                        addTest: function (test) {
-                               if (test instanceof Array)
-                                       Tests = Tests.concat(test);
-                               else
-                                       Tests.push(test);
+                               Tests.push(test);
+                       },
+
+                       getTestLength: function () {
+                               if (Tests === null)
+                                       return 0;
+                               return Tests.length;
                        },
 
                        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, set) {
-                               if (oldRes !== null) {
+                       sumUpdate: function (oldRes, newRes) {
+                               if (oldRes !== null)
                                        sum[oldRes]--;
-                                       if (set !== null) Sets[set][oldRes]--;
-                               }
-                               if (newRes !== null) {
+                               if (newRes !== null)
                                        sum[newRes]++;
-                                       if (set != null) Sets[set][newRes]++;
-                               }
                        },
 
-                       checkResult: function (oTestDoc) {
+                       checkResult: function () {
                                var message = "";
+                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -187,11 +113,13 @@ $(function(){
                                                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);
+                                       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');
                                        return true;
                                }
 
@@ -215,13 +143,13 @@ $(function(){
                                return false;
                        },
 
-                       testInfo: function (ind) {
+                       testinfo: function () {
                                var info = "";
+                               for (var n in sum)
+                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               if (!tc) return info;
-                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
-                               info += tc.test_script_entry;
-                               info += "\nPurpose: " +  tc.purpose;
+                               info += "\n\nTest\t: " + tc.test_script_entry;
+                               info += "\nPurpose\t: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -229,12 +157,18 @@ $(function(){
                                return info;
                        },
 
-                       getTestCaseUrl: function () {
+                       getTestCase: function (name, ind) {
+                               if (ind === null)
+                                       ind = this.getTestIndex();
+                               var tc = this.getTest(ind);
+                               return tc[name];
+                       },
+
+                       getTestCase: 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 "";
@@ -245,7 +179,6 @@ $(function(){
                                        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;
@@ -253,17 +186,14 @@ $(function(){
                                        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
+                               if (val && tc.execution_type == "auto") { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri)
+                                       if (testContext.uri == testContext.prev_uri) {
+                                               this.load_ready();
                                                return "";
+                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -273,14 +203,14 @@ $(function(){
                                return testContext.uri;
                        },
 
-                       loadReady: function () {
-                               if (!VIEWFLAGS.has("batch"))
+                       load_ready: function () {
+                               if (!autoflag)
                                        return;
-                               if (!this.ui.testComplete()){
+                               if (!this.checkResult()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.loadReady();}, tval);
+                                               setTimeout(function() {self.load_ready();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -289,78 +219,25 @@ $(function(){
                                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;
+                       setAutomode: function (flag) {
+                               if (this.ui)
+                                       this.ui.setAutotestView(flag);
+                               autoflag = flag;
                        },
 
-                       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;
+                       autoTest: function () {
+                               index = -1;
+                               this.setAutomode(true);
+                               this.doTest();
                        },
 
-                       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: "",
@@ -372,89 +249,89 @@ $(function(){
        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++;
+                       $(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);
                        });
-                       self.addTest(manuals);
+               }
+
+               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 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");
+               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");
        };
 
        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);
+               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());
                        return;
                }
-               this.ui.updateTest();   
+               self.ui.updateList();
+               this.setAutomode(false);
+               setTimeout(function () {self.submitResult();}, 2000);
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
-               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result, tc.set);
+               this.sumUpdate(oldresult, result);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -463,14 +340,56 @@ $(function(){
                                   "</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);
+               this.ui.updateResult(result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var contents = (new XMLSerializer()).serializeToString(xmldoc);
-               if (window.opener) window.opener.postMessage(contents, "*");
+               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);
        };
 
        master_runner.internal = {xmldoc: null};
@@ -489,23 +408,22 @@ $(function(){
                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.ui.updateView(VIEWFLAGS.add("batch"));
-               self.ui.updateView(VIEWFLAGS.del("list"));
-               setTimeout(f, 1000);
+               self.setAutomode(true);
+               setTimeout(f, 2000);
                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();
+                       self.setAutomode(false);
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -513,28 +431,27 @@ $(function(){
                        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.goNext();
-                               self.ui.updateTestInfo(self.testInfo(), null, null);
-                               self.ui.runTest(self.getTestCaseUrl());
+                               self.setTestIndex(0);
+                               self.ui.runTest(self.getTestCase());
                                return;
                        } else {  //handle manual test
-                               self.ui.updateView(VIEWFLAGS.del("batch"));
+                               self.setAutomode(false);
                                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();
@@ -543,8 +460,6 @@ $(function(){
                                                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";
@@ -553,9 +468,8 @@ $(function(){
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateTest(-1);
+                                       self.ui.updateList();
                                        self.sumInit();
-                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -572,6 +486,7 @@ $(function(){
                                {"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,
@@ -580,13 +495,13 @@ $(function(){
                                  "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);
+               this.sumUpdate(oldresult, result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
+               close_window();
        };
 
        slave_runner.internal = {
@@ -606,26 +521,32 @@ $(function(){
        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 selTestlist  = $("#selTestlist").get(0);
+               var radPass = $("#radPass").get(0);
+               var radFail = $("#radFail").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 divNav      = $("#navbar").get(0);
+               var divFoot = $("#footbar").get(0);
+               var chkBatch = $("#chkBatch").get(0);
+               var chkManualonly = $("#chkManualonly").get(0);
                var runner = null;
-               var listmode = null;
                var nextTest = function () {
-                       runner.goNext();
-                       selectTest();
+                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
+                               selTestlist.selectedIndex = 0;
+                       else
+                               selTestlist.selectedIndex++;
+                       selectTest.call(selTestlist);
                };
 
                var prevTest = function() {
-                       runner.goPrev();
-                       selectTest();
+                       if (selTestlist.selectedIndex <= 0)
+                               selTestlist.selectedIndex = selTestlist.options.length - 1;
+                       else
+                               selTestlist.selectedIndex--;
+                       selectTest.call(selTestlist);
                };
 
                var selectResult = function() {
@@ -633,118 +554,106 @@ $(function(){
                };
 
                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;
+                       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;
                        }
-                       testinfo.value = runner.testInfo();
-                       $(divSum).html(runner.getTestSum(false));
-                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
-                       changeColor(tc.result);
+                       frmTest.src = "";
+                       testinfo.value = runner.testinfo();
                };
 
-               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");
-               }
+               var changeOptColor = function (result, opt) {
+                       if (result == "PASS")
+                               $(opt).css("backgroundColor", "greenyellow");
+                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
+                               $(opt).css("backgroundColor", "orangered");
+               };
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(btnPass).on("click", selectResult);
-                               $(btnFail).on("click", selectResult);
-                               $(btnBlock).on("click", selectResult);
+                               $(radPass).on("click", selectResult);
+                               $(radFail).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());
+                                       if (chkBatch.checked && !chkManualonly.checked)
+                                               runner.autoTest();
+                                       else {
+                                               var opt = selTestlist.options[selTestlist.selectedIndex];
+                                               runner.setTestIndex(parseInt(opt.value));
+                                               self.runTest(runner.getTestCase());
+                                       }
                                });
-                               $(frmTest).on("load",  function () {runner.loadReady();});
+                               $(frmTest).on("load",  function () {runner.load_ready();});
                                $(btnDone).on("click", function () {
-                                       runner.submitResult();
-                                       close_window();
-                               });
-                               $(btnList).on("click", function () {
-                                       frmTest.src = "";
-                                       //self.updateTest(-1);
-                                       setTimeout(function () {self.browse();}, 300);
+                                       setTimeout(function () {runner.submitResult();}, 300);
+                                       frmTest.src = "";});
+                               $(chkManualonly).on("click", function () {
+                                       chkBatch.disabled = this.checked;
+                                       chkBatch.checked = false;
+                                       self.updateList();
                                });
                                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();
+                       setAutotestView: function (autoflag) {
+                               if (autoflag){
+                                       $(divNav).hide();
+                                       $(divFoot).hide();
                                } else {
-                                       $(".listmode").hide();
-                                       $(".singlemode").show();
+                                       $(divNav).show();
+                                       $(divFoot).show();
+                                       frmTest.src = "";
                                }
-                               if (flags & VIEWFLAGS.flags.batch)
-                                       $(".batchmode").hide();
-                               else
-                                       $(".batchmode").show();
                        },
 
-                       testComplete: function () {
-                               return runner.checkResult(frmTest.contentWindow.document);
+                       getTestfrmDoc: function () {
+                               return 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);
+                       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) {
+                          testinfo.value = info;
+                       }
           };
        } ());
 
@@ -770,12 +679,6 @@ $(function(){
                        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 0c557bc..7955e82 100755 (executable)
@@ -1,9 +1,7 @@
 /*
 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,
@@ -12,7 +10,6 @@ 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
@@ -23,127 +20,56 @@ 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.ui = null;
                this.submitResult = null;
+               this.ui = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
+               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
+               var autoflag = false;
                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();
+               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
+               };
                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;
                        },
 
-                       runAll: function () {
-                               testContext = newTestContext();
-                               this.ui.updateView(VIEWFLAGS.add("batch"));
-                               this.ui.updateView(VIEWFLAGS.del("list"));
-                               this.testIndex(-1);     
-                               this.doTest();
-                       },
-       
-                       cleanTests: function () {
-                               Tests = [];
+                       getTestIndex: function () {
+                               return index;
                        },
 
-                       testIndex: function (ind) {
-                               if (typeof ind === "undefined")
-                                       return index;
+                       setTestIndex: function (ind) {
                                index = ind;
                        },
 
@@ -154,32 +80,32 @@ $(function(){
                        },
 
                        addTest: function (test) {
-                               if (test instanceof Array)
-                                       Tests = Tests.concat(test);
-                               else
-                                       Tests.push(test);
+                               Tests.push(test);
+                       },
+
+                       getTestLength: function () {
+                               if (Tests === null)
+                                       return 0;
+                               return Tests.length;
                        },
 
                        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, set) {
-                               if (oldRes !== null) {
+                       sumUpdate: function (oldRes, newRes) {
+                               if (oldRes !== null)
                                        sum[oldRes]--;
-                                       if (set !== null) Sets[set][oldRes]--;
-                               }
-                               if (newRes !== null) {
+                               if (newRes !== null)
                                        sum[newRes]++;
-                                       if (set != null) Sets[set][newRes]++;
-                               }
                        },
 
-                       checkResult: function (oTestDoc) {
+                       checkResult: function () {
                                var message = "";
+                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -187,11 +113,13 @@ $(function(){
                                                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);
+                                       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');
                                        return true;
                                }
 
@@ -215,13 +143,13 @@ $(function(){
                                return false;
                        },
 
-                       testInfo: function (ind) {
+                       testinfo: function () {
                                var info = "";
+                               for (var n in sum)
+                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               if (!tc) return info;
-                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
-                               info += tc.test_script_entry;
-                               info += "\nPurpose: " +  tc.purpose;
+                               info += "\n\nTest\t: " + tc.test_script_entry;
+                               info += "\nPurpose\t: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -229,12 +157,18 @@ $(function(){
                                return info;
                        },
 
-                       getTestCaseUrl: function () {
+                       getTestCase: function (name, ind) {
+                               if (ind === null)
+                                       ind = this.getTestIndex();
+                               var tc = this.getTest(ind);
+                               return tc[name];
+                       },
+
+                       getTestCase: 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 "";
@@ -245,7 +179,6 @@ $(function(){
                                        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;
@@ -253,17 +186,14 @@ $(function(){
                                        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
+                               if (val && tc.execution_type == "auto") { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri)
+                                       if (testContext.uri == testContext.prev_uri) {
+                                               this.load_ready();
                                                return "";
+                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -273,14 +203,14 @@ $(function(){
                                return testContext.uri;
                        },
 
-                       loadReady: function () {
-                               if (!VIEWFLAGS.has("batch"))
+                       load_ready: function () {
+                               if (!autoflag)
                                        return;
-                               if (!this.ui.testComplete()){
+                               if (!this.checkResult()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.loadReady();}, tval);
+                                               setTimeout(function() {self.load_ready();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -289,78 +219,25 @@ $(function(){
                                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;
+                       setAutomode: function (flag) {
+                               if (this.ui)
+                                       this.ui.setAutotestView(flag);
+                               autoflag = flag;
                        },
 
-                       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;
+                       autoTest: function () {
+                               index = -1;
+                               this.setAutomode(true);
+                               this.doTest();
                        },
 
-                       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: "",
@@ -372,89 +249,89 @@ $(function(){
        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++;
+                       $(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);
                        });
-                       self.addTest(manuals);
+               }
+
+               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 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");
+               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");
        };
 
        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);
+               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());
                        return;
                }
-               this.ui.updateTest();   
+               self.ui.updateList();
+               this.setAutomode(false);
+               setTimeout(function () {self.submitResult();}, 2000);
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
-               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result, tc.set);
+               this.sumUpdate(oldresult, result);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -463,14 +340,56 @@ $(function(){
                                   "</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);
+               this.ui.updateResult(result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var contents = (new XMLSerializer()).serializeToString(xmldoc);
-               if (window.opener) window.opener.postMessage(contents, "*");
+               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);
        };
 
        master_runner.internal = {xmldoc: null};
@@ -489,23 +408,22 @@ $(function(){
                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.ui.updateView(VIEWFLAGS.add("batch"));
-               self.ui.updateView(VIEWFLAGS.del("list"));
-               setTimeout(f, 1000);
+               self.setAutomode(true);
+               setTimeout(f, 2000);
                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();
+                       self.setAutomode(false);
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -513,28 +431,27 @@ $(function(){
                        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.goNext();
-                               self.ui.updateTestInfo(self.testInfo(), null, null);
-                               self.ui.runTest(self.getTestCaseUrl());
+                               self.setTestIndex(0);
+                               self.ui.runTest(self.getTestCase());
                                return;
                        } else {  //handle manual test
-                               self.ui.updateView(VIEWFLAGS.del("batch"));
+                               self.setAutomode(false);
                                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();
@@ -543,8 +460,6 @@ $(function(){
                                                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";
@@ -553,9 +468,8 @@ $(function(){
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateTest(-1);
+                                       self.ui.updateList();
                                        self.sumInit();
-                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -572,6 +486,7 @@ $(function(){
                                {"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,
@@ -580,13 +495,13 @@ $(function(){
                                  "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);
+               this.sumUpdate(oldresult, result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
+               close_window();
        };
 
        slave_runner.internal = {
@@ -606,26 +521,32 @@ $(function(){
        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 selTestlist  = $("#selTestlist").get(0);
+               var radPass = $("#radPass").get(0);
+               var radFail = $("#radFail").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 divNav      = $("#navbar").get(0);
+               var divFoot = $("#footbar").get(0);
+               var chkBatch = $("#chkBatch").get(0);
+               var chkManualonly = $("#chkManualonly").get(0);
                var runner = null;
-               var listmode = null;
                var nextTest = function () {
-                       runner.goNext();
-                       selectTest();
+                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
+                               selTestlist.selectedIndex = 0;
+                       else
+                               selTestlist.selectedIndex++;
+                       selectTest.call(selTestlist);
                };
 
                var prevTest = function() {
-                       runner.goPrev();
-                       selectTest();
+                       if (selTestlist.selectedIndex <= 0)
+                               selTestlist.selectedIndex = selTestlist.options.length - 1;
+                       else
+                               selTestlist.selectedIndex--;
+                       selectTest.call(selTestlist);
                };
 
                var selectResult = function() {
@@ -633,118 +554,106 @@ $(function(){
                };
 
                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;
+                       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;
                        }
-                       testinfo.value = runner.testInfo();
-                       $(divSum).html(runner.getTestSum(false));
-                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
-                       changeColor(tc.result);
+                       frmTest.src = "";
+                       testinfo.value = runner.testinfo();
                };
 
-               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");
-               }
+               var changeOptColor = function (result, opt) {
+                       if (result == "PASS")
+                               $(opt).css("backgroundColor", "greenyellow");
+                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
+                               $(opt).css("backgroundColor", "orangered");
+               };
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(btnPass).on("click", selectResult);
-                               $(btnFail).on("click", selectResult);
-                               $(btnBlock).on("click", selectResult);
+                               $(radPass).on("click", selectResult);
+                               $(radFail).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());
+                                       if (chkBatch.checked && !chkManualonly.checked)
+                                               runner.autoTest();
+                                       else {
+                                               var opt = selTestlist.options[selTestlist.selectedIndex];
+                                               runner.setTestIndex(parseInt(opt.value));
+                                               self.runTest(runner.getTestCase());
+                                       }
                                });
-                               $(frmTest).on("load",  function () {runner.loadReady();});
+                               $(frmTest).on("load",  function () {runner.load_ready();});
                                $(btnDone).on("click", function () {
-                                       runner.submitResult();
-                                       close_window();
-                               });
-                               $(btnList).on("click", function () {
-                                       frmTest.src = "";
-                                       //self.updateTest(-1);
-                                       setTimeout(function () {self.browse();}, 300);
+                                       setTimeout(function () {runner.submitResult();}, 300);
+                                       frmTest.src = "";});
+                               $(chkManualonly).on("click", function () {
+                                       chkBatch.disabled = this.checked;
+                                       chkBatch.checked = false;
+                                       self.updateList();
                                });
                                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();
+                       setAutotestView: function (autoflag) {
+                               if (autoflag){
+                                       $(divNav).hide();
+                                       $(divFoot).hide();
                                } else {
-                                       $(".listmode").hide();
-                                       $(".singlemode").show();
+                                       $(divNav).show();
+                                       $(divFoot).show();
+                                       frmTest.src = "";
                                }
-                               if (flags & VIEWFLAGS.flags.batch)
-                                       $(".batchmode").hide();
-                               else
-                                       $(".batchmode").show();
                        },
 
-                       testComplete: function () {
-                               return runner.checkResult(frmTest.contentWindow.document);
+                       getTestfrmDoc: function () {
+                               return 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);
+                       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) {
+                          testinfo.value = info;
+                       }
           };
        } ());
 
@@ -770,12 +679,6 @@ $(function(){
                        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 0c557bc..7955e82 100755 (executable)
@@ -1,9 +1,7 @@
 /*
 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,
@@ -12,7 +10,6 @@ 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
@@ -23,127 +20,56 @@ 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.ui = null;
                this.submitResult = null;
+               this.ui = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
+               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
+               var autoflag = false;
                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();
+               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
+               };
                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;
                        },
 
-                       runAll: function () {
-                               testContext = newTestContext();
-                               this.ui.updateView(VIEWFLAGS.add("batch"));
-                               this.ui.updateView(VIEWFLAGS.del("list"));
-                               this.testIndex(-1);     
-                               this.doTest();
-                       },
-       
-                       cleanTests: function () {
-                               Tests = [];
+                       getTestIndex: function () {
+                               return index;
                        },
 
-                       testIndex: function (ind) {
-                               if (typeof ind === "undefined")
-                                       return index;
+                       setTestIndex: function (ind) {
                                index = ind;
                        },
 
@@ -154,32 +80,32 @@ $(function(){
                        },
 
                        addTest: function (test) {
-                               if (test instanceof Array)
-                                       Tests = Tests.concat(test);
-                               else
-                                       Tests.push(test);
+                               Tests.push(test);
+                       },
+
+                       getTestLength: function () {
+                               if (Tests === null)
+                                       return 0;
+                               return Tests.length;
                        },
 
                        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, set) {
-                               if (oldRes !== null) {
+                       sumUpdate: function (oldRes, newRes) {
+                               if (oldRes !== null)
                                        sum[oldRes]--;
-                                       if (set !== null) Sets[set][oldRes]--;
-                               }
-                               if (newRes !== null) {
+                               if (newRes !== null)
                                        sum[newRes]++;
-                                       if (set != null) Sets[set][newRes]++;
-                               }
                        },
 
-                       checkResult: function (oTestDoc) {
+                       checkResult: function () {
                                var message = "";
+                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -187,11 +113,13 @@ $(function(){
                                                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);
+                                       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');
                                        return true;
                                }
 
@@ -215,13 +143,13 @@ $(function(){
                                return false;
                        },
 
-                       testInfo: function (ind) {
+                       testinfo: function () {
                                var info = "";
+                               for (var n in sum)
+                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               if (!tc) return info;
-                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
-                               info += tc.test_script_entry;
-                               info += "\nPurpose: " +  tc.purpose;
+                               info += "\n\nTest\t: " + tc.test_script_entry;
+                               info += "\nPurpose\t: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -229,12 +157,18 @@ $(function(){
                                return info;
                        },
 
-                       getTestCaseUrl: function () {
+                       getTestCase: function (name, ind) {
+                               if (ind === null)
+                                       ind = this.getTestIndex();
+                               var tc = this.getTest(ind);
+                               return tc[name];
+                       },
+
+                       getTestCase: 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 "";
@@ -245,7 +179,6 @@ $(function(){
                                        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;
@@ -253,17 +186,14 @@ $(function(){
                                        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
+                               if (val && tc.execution_type == "auto") { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri)
+                                       if (testContext.uri == testContext.prev_uri) {
+                                               this.load_ready();
                                                return "";
+                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -273,14 +203,14 @@ $(function(){
                                return testContext.uri;
                        },
 
-                       loadReady: function () {
-                               if (!VIEWFLAGS.has("batch"))
+                       load_ready: function () {
+                               if (!autoflag)
                                        return;
-                               if (!this.ui.testComplete()){
+                               if (!this.checkResult()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.loadReady();}, tval);
+                                               setTimeout(function() {self.load_ready();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -289,78 +219,25 @@ $(function(){
                                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;
+                       setAutomode: function (flag) {
+                               if (this.ui)
+                                       this.ui.setAutotestView(flag);
+                               autoflag = flag;
                        },
 
-                       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;
+                       autoTest: function () {
+                               index = -1;
+                               this.setAutomode(true);
+                               this.doTest();
                        },
 
-                       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: "",
@@ -372,89 +249,89 @@ $(function(){
        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++;
+                       $(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);
                        });
-                       self.addTest(manuals);
+               }
+
+               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 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");
+               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");
        };
 
        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);
+               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());
                        return;
                }
-               this.ui.updateTest();   
+               self.ui.updateList();
+               this.setAutomode(false);
+               setTimeout(function () {self.submitResult();}, 2000);
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
-               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result, tc.set);
+               this.sumUpdate(oldresult, result);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -463,14 +340,56 @@ $(function(){
                                   "</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);
+               this.ui.updateResult(result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var contents = (new XMLSerializer()).serializeToString(xmldoc);
-               if (window.opener) window.opener.postMessage(contents, "*");
+               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);
        };
 
        master_runner.internal = {xmldoc: null};
@@ -489,23 +408,22 @@ $(function(){
                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.ui.updateView(VIEWFLAGS.add("batch"));
-               self.ui.updateView(VIEWFLAGS.del("list"));
-               setTimeout(f, 1000);
+               self.setAutomode(true);
+               setTimeout(f, 2000);
                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();
+                       self.setAutomode(false);
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -513,28 +431,27 @@ $(function(){
                        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.goNext();
-                               self.ui.updateTestInfo(self.testInfo(), null, null);
-                               self.ui.runTest(self.getTestCaseUrl());
+                               self.setTestIndex(0);
+                               self.ui.runTest(self.getTestCase());
                                return;
                        } else {  //handle manual test
-                               self.ui.updateView(VIEWFLAGS.del("batch"));
+                               self.setAutomode(false);
                                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();
@@ -543,8 +460,6 @@ $(function(){
                                                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";
@@ -553,9 +468,8 @@ $(function(){
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateTest(-1);
+                                       self.ui.updateList();
                                        self.sumInit();
-                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -572,6 +486,7 @@ $(function(){
                                {"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,
@@ -580,13 +495,13 @@ $(function(){
                                  "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);
+               this.sumUpdate(oldresult, result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
+               close_window();
        };
 
        slave_runner.internal = {
@@ -606,26 +521,32 @@ $(function(){
        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 selTestlist  = $("#selTestlist").get(0);
+               var radPass = $("#radPass").get(0);
+               var radFail = $("#radFail").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 divNav      = $("#navbar").get(0);
+               var divFoot = $("#footbar").get(0);
+               var chkBatch = $("#chkBatch").get(0);
+               var chkManualonly = $("#chkManualonly").get(0);
                var runner = null;
-               var listmode = null;
                var nextTest = function () {
-                       runner.goNext();
-                       selectTest();
+                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
+                               selTestlist.selectedIndex = 0;
+                       else
+                               selTestlist.selectedIndex++;
+                       selectTest.call(selTestlist);
                };
 
                var prevTest = function() {
-                       runner.goPrev();
-                       selectTest();
+                       if (selTestlist.selectedIndex <= 0)
+                               selTestlist.selectedIndex = selTestlist.options.length - 1;
+                       else
+                               selTestlist.selectedIndex--;
+                       selectTest.call(selTestlist);
                };
 
                var selectResult = function() {
@@ -633,118 +554,106 @@ $(function(){
                };
 
                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;
+                       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;
                        }
-                       testinfo.value = runner.testInfo();
-                       $(divSum).html(runner.getTestSum(false));
-                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
-                       changeColor(tc.result);
+                       frmTest.src = "";
+                       testinfo.value = runner.testinfo();
                };
 
-               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");
-               }
+               var changeOptColor = function (result, opt) {
+                       if (result == "PASS")
+                               $(opt).css("backgroundColor", "greenyellow");
+                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
+                               $(opt).css("backgroundColor", "orangered");
+               };
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(btnPass).on("click", selectResult);
-                               $(btnFail).on("click", selectResult);
-                               $(btnBlock).on("click", selectResult);
+                               $(radPass).on("click", selectResult);
+                               $(radFail).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());
+                                       if (chkBatch.checked && !chkManualonly.checked)
+                                               runner.autoTest();
+                                       else {
+                                               var opt = selTestlist.options[selTestlist.selectedIndex];
+                                               runner.setTestIndex(parseInt(opt.value));
+                                               self.runTest(runner.getTestCase());
+                                       }
                                });
-                               $(frmTest).on("load",  function () {runner.loadReady();});
+                               $(frmTest).on("load",  function () {runner.load_ready();});
                                $(btnDone).on("click", function () {
-                                       runner.submitResult();
-                                       close_window();
-                               });
-                               $(btnList).on("click", function () {
-                                       frmTest.src = "";
-                                       //self.updateTest(-1);
-                                       setTimeout(function () {self.browse();}, 300);
+                                       setTimeout(function () {runner.submitResult();}, 300);
+                                       frmTest.src = "";});
+                               $(chkManualonly).on("click", function () {
+                                       chkBatch.disabled = this.checked;
+                                       chkBatch.checked = false;
+                                       self.updateList();
                                });
                                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();
+                       setAutotestView: function (autoflag) {
+                               if (autoflag){
+                                       $(divNav).hide();
+                                       $(divFoot).hide();
                                } else {
-                                       $(".listmode").hide();
-                                       $(".singlemode").show();
+                                       $(divNav).show();
+                                       $(divFoot).show();
+                                       frmTest.src = "";
                                }
-                               if (flags & VIEWFLAGS.flags.batch)
-                                       $(".batchmode").hide();
-                               else
-                                       $(".batchmode").show();
                        },
 
-                       testComplete: function () {
-                               return runner.checkResult(frmTest.contentWindow.document);
+                       getTestfrmDoc: function () {
+                               return 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);
+                       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) {
+                          testinfo.value = info;
+                       }
           };
        } ());
 
@@ -770,12 +679,6 @@ $(function(){
                        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 0c557bc..7955e82 100755 (executable)
@@ -1,9 +1,7 @@
 /*
 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,
@@ -12,7 +10,6 @@ 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
@@ -23,127 +20,56 @@ 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.ui = null;
                this.submitResult = null;
+               this.ui = null;
                this.report = function (result, message) {};
                this.doTest = function () {};
+               this.internal = {};
        }
 
        TestRunner.prototype = (function () {
                var index = -1;
+               var autoflag = false;
                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();
+               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
+               };
                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;
                        },
 
-                       runAll: function () {
-                               testContext = newTestContext();
-                               this.ui.updateView(VIEWFLAGS.add("batch"));
-                               this.ui.updateView(VIEWFLAGS.del("list"));
-                               this.testIndex(-1);     
-                               this.doTest();
-                       },
-       
-                       cleanTests: function () {
-                               Tests = [];
+                       getTestIndex: function () {
+                               return index;
                        },
 
-                       testIndex: function (ind) {
-                               if (typeof ind === "undefined")
-                                       return index;
+                       setTestIndex: function (ind) {
                                index = ind;
                        },
 
@@ -154,32 +80,32 @@ $(function(){
                        },
 
                        addTest: function (test) {
-                               if (test instanceof Array)
-                                       Tests = Tests.concat(test);
-                               else
-                                       Tests.push(test);
+                               Tests.push(test);
+                       },
+
+                       getTestLength: function () {
+                               if (Tests === null)
+                                       return 0;
+                               return Tests.length;
                        },
 
                        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, set) {
-                               if (oldRes !== null) {
+                       sumUpdate: function (oldRes, newRes) {
+                               if (oldRes !== null)
                                        sum[oldRes]--;
-                                       if (set !== null) Sets[set][oldRes]--;
-                               }
-                               if (newRes !== null) {
+                               if (newRes !== null)
                                        sum[newRes]++;
-                                       if (set != null) Sets[set][newRes]++;
-                               }
                        },
 
-                       checkResult: function (oTestDoc) {
+                       checkResult: function () {
                                var message = "";
+                               var oTestDoc = this.ui.getTestfrmDoc();
                                // Handle sub-index test
                                if (testContext.sub_index > 0) {
                                        var oRes = $(oTestDoc).find("table#results");
@@ -187,11 +113,13 @@ $(function(){
                                                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);
+                                       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');
                                        return true;
                                }
 
@@ -215,13 +143,13 @@ $(function(){
                                return false;
                        },
 
-                       testInfo: function (ind) {
+                       testinfo: function () {
                                var info = "";
+                               for (var n in sum)
+                                       info += n + ":" + sum[n] + "  ";
                                var tc = this.getTest();
-                               if (!tc) return info;
-                               info += "Test   : (" + (index + 1) + "/" + sum.TOTAL + ") ";
-                               info += tc.test_script_entry;
-                               info += "\nPurpose: " +  tc.purpose;
+                               info += "\n\nTest\t: " + tc.test_script_entry;
+                               info += "\nPurpose\t: " +  tc.purpose;
                                if (tc.pre_condition)
                                        info += "\nPrecondition: " + tc.pre_condition;
                                if (tc.steps)
@@ -229,12 +157,18 @@ $(function(){
                                return info;
                        },
 
-                       getTestCaseUrl: function () {
+                       getTestCase: function (name, ind) {
+                               if (ind === null)
+                                       ind = this.getTestIndex();
+                               var tc = this.getTest(ind);
+                               return tc[name];
+                       },
+
+                       getTestCase: 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 "";
@@ -245,7 +179,6 @@ $(function(){
                                        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;
@@ -253,17 +186,14 @@ $(function(){
                                        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
+                               if (val && tc.execution_type == "auto") { // Need sub index in TC
                                        testContext.sub_index = parseInt(val);
                                        testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri)
+                                       if (testContext.uri == testContext.prev_uri) {
+                                               this.load_ready();
                                                return "";
+                                       }
                                } else {
                                        testContext.uri = uri;
                                        testContext.sub_index = 0;
@@ -273,14 +203,14 @@ $(function(){
                                return testContext.uri;
                        },
 
-                       loadReady: function () {
-                               if (!VIEWFLAGS.has("batch"))
+                       load_ready: function () {
+                               if (!autoflag)
                                        return;
-                               if (!this.ui.testComplete()){
+                               if (!this.checkResult()){
                                        if (testContext.onload_delay > 0){
                                                var tval = 500;
                                                var self = this;
-                                               setTimeout(function() {self.loadReady();}, tval);
+                                               setTimeout(function() {self.load_ready();}, tval);
                                                testContext.onload_delay -= tval;
                                                return
                                        }
@@ -289,78 +219,25 @@ $(function(){
                                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;
+                       setAutomode: function (flag) {
+                               if (this.ui)
+                                       this.ui.setAutotestView(flag);
+                               autoflag = flag;
                        },
 
-                       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;
+                       autoTest: function () {
+                               index = -1;
+                               this.setAutomode(true);
+                               this.doTest();
                        },
 
-                       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: "",
@@ -372,89 +249,89 @@ $(function(){
        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++;
+                       $(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);
                        });
-                       self.addTest(manuals);
+               }
+
+               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 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");
+               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");
        };
 
        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);
+               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());
                        return;
                }
-               this.ui.updateTest();   
+               self.ui.updateList();
+               this.setAutomode(false);
+               setTimeout(function () {self.submitResult();}, 2000);
        };
 
        master_runner.report = function (result, log) {
                var tc = this.getTest();
-               if (!tc) return;
                var oldresult = tc.result;
-               this.sumUpdate(oldresult, result, tc.set);
+               this.sumUpdate(oldresult, result);
                tc.result = result;
                $(tc.data).find('result_info').remove();
                $(tc.data).attr('result', result);
@@ -463,14 +340,56 @@ $(function(){
                                   "</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);
+               this.ui.updateResult(result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        master_runner.submitResult = function () {
                var xmldoc = this.internal.xmldoc;
-               var contents = (new XMLSerializer()).serializeToString(xmldoc);
-               if (window.opener) window.opener.postMessage(contents, "*");
+               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);
        };
 
        master_runner.internal = {xmldoc: null};
@@ -489,23 +408,22 @@ $(function(){
                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.ui.updateView(VIEWFLAGS.add("batch"));
-               self.ui.updateView(VIEWFLAGS.del("list"));
-               setTimeout(f, 1000);
+               self.setAutomode(true);
+               setTimeout(f, 2000);
                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();
+                       self.setAutomode(false);
                        return;
                }
                var next_step = self.internal.get_json("ask_next_step");
@@ -513,28 +431,27 @@ $(function(){
                        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.goNext();
-                               self.ui.updateTestInfo(self.testInfo(), null, null);
-                               self.ui.runTest(self.getTestCaseUrl());
+                               self.setTestIndex(0);
+                               self.ui.runTest(self.getTestCase());
                                return;
                        } else {  //handle manual test
-                               self.ui.updateView(VIEWFLAGS.del("batch"));
+                               self.setAutomode(false);
                                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();
@@ -543,8 +460,6 @@ $(function(){
                                                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";
@@ -553,9 +468,8 @@ $(function(){
                                                test.steps = steps;
                                                self.addTest(test);
                                        }
-                                       self.ui.updateTest(-1);
+                                       self.ui.updateList();
                                        self.sumInit();
-                                       self.ui.browse();
                                } else
                                        close_window();
                                return;
@@ -572,6 +486,7 @@ $(function(){
                                {"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,
@@ -580,13 +495,13 @@ $(function(){
                                  "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);
+               this.sumUpdate(oldresult, result);
+               this.ui.updateTestInfo(this.testinfo());
        };
 
        slave_runner.submitResult = function () {
                $.get(SERVER + "/generate_xml");
+               close_window();
        };
 
        slave_runner.internal = {
@@ -606,26 +521,32 @@ $(function(){
        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 selTestlist  = $("#selTestlist").get(0);
+               var radPass = $("#radPass").get(0);
+               var radFail = $("#radFail").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 divNav      = $("#navbar").get(0);
+               var divFoot = $("#footbar").get(0);
+               var chkBatch = $("#chkBatch").get(0);
+               var chkManualonly = $("#chkManualonly").get(0);
                var runner = null;
-               var listmode = null;
                var nextTest = function () {
-                       runner.goNext();
-                       selectTest();
+                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
+                               selTestlist.selectedIndex = 0;
+                       else
+                               selTestlist.selectedIndex++;
+                       selectTest.call(selTestlist);
                };
 
                var prevTest = function() {
-                       runner.goPrev();
-                       selectTest();
+                       if (selTestlist.selectedIndex <= 0)
+                               selTestlist.selectedIndex = selTestlist.options.length - 1;
+                       else
+                               selTestlist.selectedIndex--;
+                       selectTest.call(selTestlist);
                };
 
                var selectResult = function() {
@@ -633,118 +554,106 @@ $(function(){
                };
 
                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;
+                       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;
                        }
-                       testinfo.value = runner.testInfo();
-                       $(divSum).html(runner.getTestSum(false));
-                       textTest.value = ((tc.execution_type === "manual") ? "(M)" : "") + tc.id;
-                       changeColor(tc.result);
+                       frmTest.src = "";
+                       testinfo.value = runner.testinfo();
                };
 
-               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");
-               }
+               var changeOptColor = function (result, opt) {
+                       if (result == "PASS")
+                               $(opt).css("backgroundColor", "greenyellow");
+                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
+                               $(opt).css("backgroundColor", "orangered");
+               };
 
                return {
                        bind: function (r) {
                                var self = this;
                                r.ui = self;
                                runner = r;
-                               $(btnPass).on("click", selectResult);
-                               $(btnFail).on("click", selectResult);
-                               $(btnBlock).on("click", selectResult);
+                               $(radPass).on("click", selectResult);
+                               $(radFail).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());
+                                       if (chkBatch.checked && !chkManualonly.checked)
+                                               runner.autoTest();
+                                       else {
+                                               var opt = selTestlist.options[selTestlist.selectedIndex];
+                                               runner.setTestIndex(parseInt(opt.value));
+                                               self.runTest(runner.getTestCase());
+                                       }
                                });
-                               $(frmTest).on("load",  function () {runner.loadReady();});
+                               $(frmTest).on("load",  function () {runner.load_ready();});
                                $(btnDone).on("click", function () {
-                                       runner.submitResult();
-                                       close_window();
-                               });
-                               $(btnList).on("click", function () {
-                                       frmTest.src = "";
-                                       //self.updateTest(-1);
-                                       setTimeout(function () {self.browse();}, 300);
+                                       setTimeout(function () {runner.submitResult();}, 300);
+                                       frmTest.src = "";});
+                               $(chkManualonly).on("click", function () {
+                                       chkBatch.disabled = this.checked;
+                                       chkBatch.checked = false;
+                                       self.updateList();
                                });
                                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();
+                       setAutotestView: function (autoflag) {
+                               if (autoflag){
+                                       $(divNav).hide();
+                                       $(divFoot).hide();
                                } else {
-                                       $(".listmode").hide();
-                                       $(".singlemode").show();
+                                       $(divNav).show();
+                                       $(divFoot).show();
+                                       frmTest.src = "";
                                }
-                               if (flags & VIEWFLAGS.flags.batch)
-                                       $(".batchmode").hide();
-                               else
-                                       $(".batchmode").show();
                        },
 
-                       testComplete: function () {
-                               return runner.checkResult(frmTest.contentWindow.document);
+                       getTestfrmDoc: function () {
+                               return 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);
+                       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) {
+                          testinfo.value = info;
+                       }
           };
        } ());
 
@@ -770,12 +679,6 @@ $(function(){
                        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 f64c4f0..9009c4d 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3.1"
+main_version="2.4"
 release=""
 version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
index 4fb4f2b..1fc184b 100755 (executable)
@@ -1,90 +1,90 @@
 <?xml version="1.0" encoding="UTF-8"?>
-    <?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
 <test_definition>
-<suite launcher="WRTLauncher -iu" name="tct-rt01-wrt-tests" category="Web Runtime">
+<suite category="Web Runtime" launcher="WRTLauncher -iu" name="tct-rt01-wrt-tests">
   <set name="dom-events-audio-onerror">
-    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="dom-events-audio-onerror" purpose="Check if WRT supports W3C DOM onerror event for audio lable.">
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="dom-events-audio-onerror" priority="P2" purpose="Check if WRT supports W3C DOM onerror event for audio lable.">
       <description>
         <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
         </description>
       </testcase>
   </set>
   <set name="dom-events-video-onerror">
-    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="dom-events-video-onerror" purpose="Check if WRT supports W3C DOM onerror event for video lable.">
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="dom-events-video-onerror" priority="P2" purpose="Check if WRT supports W3C DOM onerror event for video lable.">
       <description>
         <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
         </description>
       </testcase>
   </set>
   <set name="other-uri-XMLHttpRequest-get">
-    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="other-uri-XMLHttpRequest-get" purpose="Check if WRT returns a response when the request is a [HTTP] GET request.">
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="other-uri-XMLHttpRequest-get" priority="P3" purpose="Check if WRT returns a response when the request is a [HTTP] GET request.">
       <description>
         <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
       </description>
       </testcase>
   </set>
   <set name="other-uri-XMLHttpRequest-get-false">
-    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="other-uri-XMLHttpRequest-get-false" purpose="Check if WRT returns a [HTTP] 501 Not Implemented response when the request is a synchronous [HTTP] GET request.">
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="other-uri-XMLHttpRequest-get-false" priority="P3" purpose="Check if WRT returns a [HTTP] 501 Not Implemented response when the request is a synchronous [HTTP] GET request.">
       <description>
         <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
       </description>
       </testcase>
   </set>
   <set name="other-uri-XMLHttpRequest-head">
-    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="other-uri-XMLHttpRequest-head" purpose="Check if WRT returns a [HTTP] 501 Not Implemented response when the request is a [HTTP] HEAD request.">
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="other-uri-XMLHttpRequest-head" priority="P3" purpose="Check if WRT returns a [HTTP] 501 Not Implemented response when the request is a [HTTP] HEAD request.">
       <description>
         <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
       </description>
       </testcase>
   </set>
   <set name="other-uri-XMLHttpRequest-head-false">
-    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="other-uri-XMLHttpRequest-head-false" purpose="Check if WRT returns a [HTTP] 501 Not Implemented response when the request is a synchronous [HTTP] HEAD request.">
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="other-uri-XMLHttpRequest-head-false" priority="P3" purpose="Check if WRT returns a [HTTP] 501 Not Implemented response when the request is a synchronous [HTTP] HEAD request.">
       <description>
         <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
       </description>
       </testcase>
   </set>
   <set name="other-uri-XMLHttpRequest-invalid">
-    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="other-uri-XMLHttpRequest-invalid" purpose="Check if WRT throws an exception when the request is an invalid request.">
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="other-uri-XMLHttpRequest-invalid" priority="P3" purpose="Check if WRT throws an exception when the request is an invalid request.">
       <description>
         <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
       </description>
       </testcase>
   </set>
   <set name="other-uri-XMLHttpRequest-null">
-    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="other-uri-XMLHttpRequest-null" purpose="Check if WRT throws an exception when the request is a null request.">
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="other-uri-XMLHttpRequest-null" priority="P3" purpose="Check if WRT throws an exception when the request is a null request.">
       <description>
         <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
       </description>
       </testcase>
   </set>
   <set name="other-uri-XMLHttpRequest-post">
-    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="other-uri-XMLHttpRequest-post" purpose="Check if WRT returns a response when the request is a [HTTP] POST request.">
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="other-uri-XMLHttpRequest-post" priority="P3" purpose="Check if WRT returns a response when the request is a [HTTP] POST request.">
       <description>
         <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
       </description>
       </testcase>
   </set>
   <set name="other-uri-XMLHttpRequest-post-false">
-    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="other-uri-XMLHttpRequest-post-false" purpose="Check if WRT returns a [HTTP] 501 Not Implemented response when the request is a synchronous [HTTP] POST request.">
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="other-uri-XMLHttpRequest-post-false" priority="P3" purpose="Check if WRT returns a [HTTP] 501 Not Implemented response when the request is a synchronous [HTTP] POST request.">
       <description>
         <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
       </description>
       </testcase>
   </set>
   <set name="lifecycle-hide-running-app">
-    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="lifecycle-hide-running-app" purpose="Check if WRT is able to change the web app to keep running in the background.">
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="lifecycle-hide-running-app" priority="P1" purpose="Check if WRT is able to change the web app to keep running in the background.">
         <description>
           <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
-          </description>
-        </testcase>
+        </description>
+      </testcase>
   </set>
   <set name="lifecycle-load-event">
-    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="lifecycle-load-event" purpose="Check if WRT supports W3C DOM load event">
+    <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="lifecycle-load-event" priority="P0" purpose="Check if WRT supports W3C DOM load event">
         <description>
           <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
-          </description>
-        </testcase>
+        </description>
+      </testcase>
   </set>
 </suite>
-</test_definition>
\ No newline at end of file
+</test_definition>
index 1c74411..486c5bf 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 "Test.mp3"
+          [4]. Rename the downloaded file as "Kalimba.mp3"
                Push the mp3 file to device:
-                 Terminal: sdb push Test.mp3 "path"
+                 Terminal: sdb push Kalimba.mp3 "path"
                  path:
                   1."opt/usr/apps/wrt3uri090/res/wgt/".
        3) video
index ee81e4f..d9bf1f1 100755 (executable)
@@ -28,7 +28,7 @@
 #               Hao, Yunfei <yunfenx.hao@intel.com>
 #
 
-AC_INIT([tct-rt02-wrt-tests], [2.3.1], [yunfenx.hao@intel.com])
+AC_INIT([tct-rt02-wrt-tests], [2.4], [yunfenx.hao@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index 107f185..694563f 100755 (executable)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<widget id="http://tizen.org/lifecycle-exit-running-app" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" >
+<widget id="http://tizen.org/lifecycle-exit-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/application.launch"/>
   <icon src="icon.png" height="117" width="117"/>
index 380b288..05b59cc 100755 (executable)
@@ -1,5 +1,5 @@
 <?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" >
+<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/application.launch"/>
   <icon src="icon.png" height="117" width="117"/>
index ab17257..5f3a072 100755 (executable)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<widget id="http://tizen.org/lifecycle-launch-installed-app" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" >
+<widget id="http://tizen.org/lifecycle-launch-installed-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/application.launch"/>
   <icon src="icon.png" height="117" width="117"/>
index fc8216d..12b7cd0 100755 (executable)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<widget id="http://tizen.org/lifecycle-launch-removed-app" xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" >
+<widget id="http://tizen.org/lifecycle-launch-removed-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/application.launch"/>
   <icon src="icon.png" height="117" width="117"/>
index f64c4f0..9009c4d 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3.1"
+main_version="2.4"
 release=""
 version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
index e5522dc..6a8035d 100755 (executable)
@@ -1,23 +1,23 @@
 <?xml version="1.0" encoding="UTF-8"?>
-    <?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
 <test_definition>
-  <suite name="tct-rt02-wrt-tests" category="Web Runtime">
+  <suite category="Web Runtime" name="tct-rt02-wrt-tests">
     <set name="WebApplicationRuntime">
-      <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="lifecycle-launch-installed-app" purpose="Check if WRT is able to launch an installed application">
+      <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="lifecycle-launch-installed-app" priority="P1" purpose="Check if WRT is able to launch an installed application">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-rt02-wrt-tests/scripts/wrt_rt_launch-removed-app.sh</test_script_entry>
-          </description>
-        </testcase>
-      <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="lifecycle-launch-removed-app" purpose="Check if WRT is unable to launch a removed application">
+        </description>
+      </testcase>
+      <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="lifecycle-launch-removed-app" priority="P2" purpose="Check if WRT is unable to launch a removed application">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-rt02-wrt-tests/scripts/wrt_rt_launch-installed-app.sh</test_script_entry>
-          </description>
-        </testcase>
-      <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="lifecycle-exit-running-app" purpose="Check if WRT is able to exit a running application safely.">
+        </description>
+      </testcase>
+      <testcase component="Web/Runtime/WebApplicationRuntime" execution_type="auto" id="lifecycle-exit-running-app" priority="P1" purpose="Check if WRT is able to exit a running application safely.">
         <description>
           <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-rt02-wrt-tests/scripts/wrt_rt_exit-running-app.sh</test_script_entry>
-          </description>
-        </testcase>
+        </description>
+      </testcase>
     </set>
   </suite>
 </test_definition>
index 4071b55..853aa16 100755 (executable)
@@ -28,7 +28,7 @@
 #               Gang, Feng<gangx.feng@intel.com>
 #
 
-AC_INIT([tct-sp01-wrt-tests], [2.3.1], [gangx.feng@intel.com])
+AC_INIT([tct-sp01-wrt-tests], [2.4], [gangx.feng@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index 3dc9ef8..d121016 100755 (executable)
@@ -28,27 +28,7 @@ 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 3dc9ef8..d121016 100755 (executable)
@@ -28,27 +28,7 @@ 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 3dc9ef8..d121016 100755 (executable)
@@ -28,27 +28,7 @@ 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 3dc9ef8..d121016 100755 (executable)
@@ -28,27 +28,7 @@ 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 f64c4f0..9009c4d 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3.1"
+main_version="2.4"
 release=""
 version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
index e04e38a..1d9dd2c 100755 (executable)
@@ -1,34 +1,34 @@
 <?xml version="1.0" encoding="UTF-8"?>
-    <?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
 <test_definition>
-<suite launcher="WRTLauncher -iu" name="tct-sp01-wrt-tests" category="Web Runtime">
-  <set name="storage-cookies-check">
-    <testcase component="Web/Runtime/SecurityPrivacy" execution_type="auto" id="storage-cookies-check" purpose="Check if Application has its own cookie database.">
-      <description>
-        <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+  <suite category="Web Runtime" launcher="WRTLauncher -iu" name="tct-sp01-wrt-tests">
+    <set name="storage-cookies-check">
+      <testcase component="Web/Runtime/SecurityPrivacy" execution_type="auto" id="storage-cookies-check" priority="P1" purpose="Check if Application has its own cookie database.">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
         </description>
       </testcase>
-  </set>
-  <set name="protection-decrypt-html">
-    <testcase component="Web/Runtime/SecurityPrivacy" execution_type="auto" id="protection-decrypt-html" purpose="Check that the WRT can decrypt html resources of widget Application successfully">
-      <description>
-        <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+    </set>
+    <set name="protection-decrypt-html">
+      <testcase component="Web/Runtime/SecurityPrivacy" execution_type="auto" id="protection-decrypt-html" priority="P1" purpose="Check that the WRT can decrypt html resources of widget Application successfully">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
         </description>
       </testcase>
-  </set>
-  <set name="protection-decrypt-js">
-    <testcase component="Web/Runtime/SecurityPrivacy" execution_type="auto" id="protection-decrypt-js" purpose="Check that the WRT can decrypt js resources of widget Application successfully">
-      <description>
-        <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+    </set>
+    <set name="protection-decrypt-js">
+      <testcase component="Web/Runtime/SecurityPrivacy" execution_type="auto" id="protection-decrypt-js" priority="P2" purpose="Check that the WRT can decrypt js resources of widget Application successfully">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
         </description>
       </testcase>
-  </set>
-  <set name="protection-decrypt-css">
-    <testcase component="Web/Runtime/SecurityPrivacy" execution_type="auto" id="protection-decrypt-css" purpose="Check that the WRT can decrypt css resources of widget Application successfully">
-      <description>
-        <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
+    </set>
+    <set name="protection-decrypt-css">
+      <testcase component="Web/Runtime/SecurityPrivacy" execution_type="auto" id="protection-decrypt-css" priority="P2" purpose="Check that the WRT can decrypt css resources of widget Application successfully">
+        <description>
+          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
         </description>
       </testcase>
-   </set>
-</suite>
-</test_definition>
\ No newline at end of file
+    </set>
+  </suite>
+</test_definition>
index 3bc4154..75461bc 100755 (executable)
@@ -28,7 +28,7 @@
 #               Gang, Feng<gangx.feng@intel.com>
 #
 
-AC_INIT([tct-sp02-wrt-tests], [2.3.1], [gangx.feng@intel.com])
+AC_INIT([tct-sp02-wrt-tests], [2.4], [gangx.feng@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index f64c4f0..9009c4d 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3.1"
+main_version="2.4"
 release=""
 version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
index 91c0ec6..1a6684d 100755 (executable)
@@ -1,13 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
-    <?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
 <test_definition>
-<suite name="tct-sp02-wrt-tests" category="Web Runtime">
-  <set name="SecurityPrivacy">
-    <testcase component="Web/Runtime/SecurityPrivacy" execution_type="auto" id="private_localstorage_check" purpose="Check that Application has its own localStorage space.">
-      <description>
-        <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-sp02-wrt-tests/scripts/wrt_sp02_localstorage_check.sh</test_script_entry>
+  <suite category="Web Runtime" name="tct-sp02-wrt-tests">
+    <set name="SecurityPrivacy">
+      <testcase component="Web/Runtime/SecurityPrivacy" execution_type="auto" id="private_localstorage_check" priority="P1" purpose="Check that Application has its own localStorage space.">
+        <description>
+          <test_script_entry test_script_expected_result="0">/opt/usr/media/tct/opt/tct-sp02-wrt-tests/scripts/wrt_sp02_localstorage_check.sh</test_script_entry>
         </description>
       </testcase>
-   </set>
-</suite>
+    </set>
+  </suite>
 </test_definition>
index 67265c7..af66438 100755 (executable)
@@ -28,7 +28,7 @@
 #               Gang, Feng<gangx.feng@intel.com>
 #
 
-AC_INIT([tct-stab-wrt-tests], [2.3.1], [yugang.fan@intel.com])
+AC_INIT([tct-stab-wrt-tests], [2.4], [yugang.fan@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index 92652b3..ebd8b99 100755 (executable)
@@ -38,7 +38,9 @@ Authors:
     <meta name="flags" content="" />
     <meta name="assert" content="Check that the web runtime can enable background service by setting enable value of background-support attribute." />
     <meta charset="utf-8">
-     <script type="text/javascript">
+    <script type="text/javascript">
+    //==== PRIORITY P3
+
       var t = 1000;
       var ctl_id = "show";
       var Num = 0;
index f64c4f0..9009c4d 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3.1"
+main_version="2.4"
 release=""
 version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
index e4f5e8c..f1d4843 100755 (executable)
@@ -1,13 +1,13 @@
 <?xml version="1.0" encoding="UTF-8"?>
-    <?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
 <test_definition>
-<suite name="tct-stab-wrt-tests" category="Web Runtime">
-  <set name="StabilityTest">
-    <testcase component="Web/Runtime/StabilityTest" execution_type="auto" id="wrt-repeat-install-uninstall" purpose="Check that WRT can install and uninstall webapp roundly.">
-      <description>
-        <test_script_entry test_script_expected_result="0" timeout="9000">/opt/usr/media/tct/opt/tct-stab-wrt-tests/scripts/wrt_pm_WRTInstaller.sh setting-bs-enable.wgt</test_script_entry>
-      </description>
-    </testcase>
+  <suite category="Web Runtime" name="tct-stab-wrt-tests">
+    <set name="StabilityTest">
+      <testcase component="Web/Runtime/StabilityTest" execution_type="auto" id="wrt-repeat-install-uninstall" priority="P3" purpose="Check that WRT can install and uninstall webapp roundly.">
+        <description>
+          <test_script_entry test_script_expected_result="0" timeout="9000">/opt/usr/media/tct/opt/tct-stab-wrt-tests/scripts/wrt_pm_WRTInstaller.sh setting-bs-enable.wgt</test_script_entry>
+        </description>
+      </testcase>
     </set>
   </suite>
 </test_definition>
index 161f018..19654cc 100755 (executable)
 #               Fan, Yugang <yugang.fan@intel.com>
 #
 
-AC_INIT([wrt], [2.3], [yugang.fan@intel.com])
+AC_INIT([wrt], [2.4], [yugang.fan@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 AC_CONFIG_FILES([Makefile])
-AC_CONFIG_SUBDIRS([mobile])
+AC_CONFIG_SUBDIRS([mobile
+common
+])
 AC_OUTPUT
index 5f93798..c5dcd07 100755 (executable)
@@ -1,2 +1,3 @@
 SUBDIRS = tct-ext01-wrt-tests \
+tct-privilege-wrt-tests \
 tct-ui01-wrt-tests
index e22ad92..8ab96d0 100755 (executable)
@@ -28,7 +28,7 @@
 #               Gang, Feng<gangx.feng@intel.com>
 #
 
-AC_INIT([tct-ext01-wrt-tests], [2.3.1], [yugang.fan@intel.com])
+AC_INIT([tct-ext01-wrt-tests], [2.4], [yugang.fan@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index f64c4f0..9009c4d 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3.1"
+main_version="2.4"
 release=""
 version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
index d219956..2328a44 100755 (executable)
@@ -1,27 +1,27 @@
 <?xml version="1.0" encoding="UTF-8"?>
-    <?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
 <test_definition>
-  <suite launcher="WRTLauncher -iu" name="tct-ext01-wrt-tests" category="Web Runtime">
+  <suite category="Web Runtime" launcher="WRTLauncher -iu" name="tct-ext01-wrt-tests">
     <set name="application-privilege">
-      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="application-privilege" purpose="Check that the web runtime is able to identify the required API access privilege.">
+      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="application-privilege" priority="P1" purpose="Check that the web runtime is able to identify the required API access privilege.">
         <description>
           <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="setting-install-location-auto">
-      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="setting-install-location-auto" purpose="Check that the installation location is at &#1203;ystem&#1184;when install-location is set as 'auto'.">
+      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="setting-install-location-auto" priority="P3" purpose="Check that the installation location is at Ò³ystemÒ when install-location is set as 'auto'.">
         <description>
           <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="metadata-support">
-      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="metadata-support" purpose="Check that the web runtime can support the metadata element.">
+      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="metadata-support" priority="P1" purpose="Check that the web runtime can support the metadata element.">
         <description>
           <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
   </suite>
-</test_definition>
\ No newline at end of file
+</test_definition>
index db292c8..bb7c737 100755 (executable)
@@ -1,4 +1,4 @@
-AC_INIT([tct-privilege-wrt-tests], [2.3.1], [ran22.wang@samsung.com])
+AC_INIT([tct-privilege-wrt-tests], [2.4], [ran22.wang@samsung.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index acb905c..1ec4d36 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3.1"
+main_version="2.4"
 release=""
 sign="0"
 version="$main_version"
index 775562a..0696d0c 100755 (executable)
@@ -28,7 +28,7 @@
 #               Hao, Yunfei <yunfenx.hao@intel.com>
 #
 
-AC_INIT([tct-ui01-wrt-tests], [2.3.1], [yunfenx.hao@intel.com])
+AC_INIT([tct-ui01-wrt-tests], [2.4], [yunfenx.hao@intel.com])
 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
 
 # Checks for programs.
index 07a27a4..a0bb438 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             assert_true("alarm" in tizen);
         }, "WRT Test: multiple-other-alarm-test");
index 00a41e2..1c35711 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             assert_true("launch" in tizen.application);
         }, "WRT Test: multiple-other-application-launch-test");
index bee9ce8..2ce21fd 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             assert_true("getAppsInfo" in tizen.application);
         }, "WRT Test: multiple-other-application-read-test");
index 164ca8a..723f115 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             var adapter = tizen.bluetooth.getDefaultAdapter();
             assert_true("setPowered" in adapter);
index b85cc22..d056258 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             var adapter = tizen.bluetooth.getDefaultAdapter();
             assert_true("discoverDevices" in adapter);
index 739e238..ccf0e4c 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             var adapter = tizen.bluetooth.getDefaultAdapter();
             assert_true("registerRFCOMMServiceByUUID" in adapter);
index ab523c6..4ea239b 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             var calendar = tizen.calendar.getDefaultCalendar("EVENT");
             assert_true("find" in calendar);
index 9e87128..64bd4db 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             var calendar = tizen.calendar.getDefaultCalendar("EVENT");
             assert_true("add" in calendar);
index 6acc84b..707bb5f 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             assert_true("find" in tizen.callhistory);
         }, "WRT Test: multiple-other-callhistory-read");
index 80d63dd..4d1e58c 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             assert_true("remove" in tizen.callhistory);
         }, "WRT Test: multiple-other-callhistory-write");
index 4b72bc5..d35dc1f 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             var addressbook = tizen.contact.getDefaultAddressBook();
             assert_true("find" in addressbook);
index 5bb9b29..49f0403 100755 (executable)
@@ -45,6 +45,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             var addressbook = tizen.contact.getDefaultAddressBook();
             assert_true("add" in addressbook);
index b82e010..964a1a4 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             assert_true("find" in tizen.content);
         }, "WRT Test: multiple-other-content-read-test");
index cd4f123..37378a2 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             assert_true("updateBatch" in tizen.content);
         }, "WRT Test: multiple-other-content-write-test");
index 0a4f413..d2b9ff0 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             assert_true("start" in tizen.download);
         }, "WRT Test: multiple-other-content-download-test");
index 36f3497..8e99946 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             assert_true("resolve" in tizen.filesystem);
         }, "WRT Test: multiple-other-filesystem-read-test");
index f08d715..bd79f7c 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             assert_true("resolve" in tizen.filesystem);
         }, "WRT Test: multiple-other-filesystem-write-test");
index 40349b1..430c10a 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             assert_true("getMessageServices" in tizen.messaging);
         }, "WRT Test: multiple-other-messaging-read-test");
index c8864e6..7200beb 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             assert_true("getMessageServices" in tizen.messaging);
         }, "WRT Test: multiple-other-messaging-send-test");
index 760e314..255e5d8 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             assert_true("getMessageServices" in tizen.messaging);
         }, "WRT Test: multiple-other-messaging-write-test");
index 3fa4b52..0d9a70a 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             adapter = tizen.nfc.getDefaultAdapter();
             assert_true("setPowered" in adapter);
index cf0441d..e014b88 100755 (executable)
@@ -43,6 +43,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             adapter = tizen.nfc.getDefaultAdapter();
             assert_true("getCachedMessage" in adapter);
index 1c31cc9..9197b87 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             adapter = tizen.nfc.getDefaultAdapter();
             assert_true("setPeerListener" in adapter);
index a95b13f..4f9b9d3 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             adapter = tizen.nfc.getDefaultAdapter();
             assert_true("setTagListener" in adapter);
index 988ad16..f847ff6 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             assert_true("post" in tizen.notification);
         }, "WRT Test: multiple-other-notification-test");
index a24d7e9..fca96d4 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             assert_true("request" in tizen.power);
         }, "WRT Test: multiple-other-power-test");
index c966532..9c484ba 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             assert_true("systeminfo" in tizen);
         }, "WRT Test: multiple-other-systeminfo-test");
index 5fc50db..4cadf7a 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             assert_true("setProperty" in tizen.systemsetting);
         }, "WRT Test: multiple-other-systemsetting-test");
index 088805d..b0d3b37 100755 (executable)
@@ -5,5 +5,5 @@
   <content src="index.html"/>
   <name>multiple-other-time</name>
   <tizen:application id="wrt4mot079.multipleothertime" package="wrt4mot079" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/time"/>
+  
 </widget>
\ No newline at end of file
index b5875b5..74fe389 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             assert_true("time" in tizen);
         }, "WRT Test: multiple-other-time-test");
index 6d8b2c8..74073b2 100755 (executable)
@@ -44,6 +44,8 @@ Authors:
   <body>
     <div id="log"></div>
     <script type="text/javascript">
+    //==== PRIORITY P3
+
         test(function() {
             assert_true("tizen" in window);
         }, "WRT Test: multiple-other-tizen-test");
index f64c4f0..9009c4d 100755 (executable)
@@ -1,5 +1,5 @@
 name=$(basename $(pwd))
-main_version="2.3.1"
+main_version="2.4"
 release=""
 version="$main_version"
 appname=$(echo $name|sed 's/-/_/g')
index 590ac37..161e331 100755 (executable)
 <?xml version="1.0" encoding="UTF-8"?>
-    <?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
+<?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
 <test_definition>
-  <suite launcher="WRTLauncher -iu" name="tct-ui01-wrt-tests" category="Web Runtime">
+  <suite category="Web Runtime" launcher="WRTLauncher -iu" name="tct-ui01-wrt-tests">
     <set name="multiple-other-alarm">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-alarm" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Alarm feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-alarm" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Alarm feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-alarm-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-filesystem-read">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-filesystem-read" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Filesystem.read feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-filesystem-read" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Filesystem.read feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-filesystem-read-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-filesystem-write">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-filesystem-write" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Filesystem.write feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-filesystem-write" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Filesystem.write feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-filesystem-write-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-messaging-read">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-messaging-read" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Messaging.read feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-messaging-read" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Messaging.read feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-messaging-read-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-messaging-send">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-messaging-send" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Messaging.send feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-messaging-send" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Messaging.send feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-messaging-send-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-messaging-write">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-messaging-write" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Messaging.write feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-messaging-write" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Messaging.write feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-messaging-write-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-nfc-admin">
       <capabilities>
-        <capability name="http://tizen.org/feature/network.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.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-nfc-admin" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to NFC.admin feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-nfc-admin-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-nfc-p2p">
       <capabilities>
-        <capability name="http://tizen.org/feature/network.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.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-nfc-p2p" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to NFC.p2p feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-nfc-p2p-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-nfc-tag">
       <capabilities>
-        <capability name="http://tizen.org/feature/network.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.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-nfc-tag" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to NFC.tag feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-nfc-tag-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-systeminfo">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-systeminfo" purpose="Check if WRT supports new top-level browsing context created from widget context has access to SystemInfor feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-systeminfo" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to SystemInfor feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-systeminfo-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-time">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-time" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Time feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-time" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Time feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-time-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-tizen">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-tizen" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Tizen feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-tizen" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Tizen feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-tizen-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-application-launch">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-application-launch" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Application.launch feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-application-launch" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Application.launch feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-application-launch-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-application-read">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-application-read" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Application.read feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-application-read" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Application.read feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-application-read-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-bluetooth-admin">
       <capabilities>
-        <capability name="http://tizen.org/feature/network.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.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-bluetooth-admin" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Bluetooth.admin feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-bluetooth-admin-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-bluetooth-gap">
       <capabilities>
-        <capability name="http://tizen.org/feature/network.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.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-bluetooth-gap" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Bluetooth.gap feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-bluetooth-gap-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-bluetooth-spp">
       <capabilities>
-        <capability name="http://tizen.org/feature/network.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.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-bluetooth-spp" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Bluetooth.spp feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-bluetooth-spp-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-calendar-read">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-calendar-read" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Calendar.read feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-calendar-read" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Calendar.read feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-calendar-read-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-calendar-write">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-calendar-write" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Calendar.write feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-calendar-write" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Calendar.write feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-calendar-write-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-contact-read">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-contact-read" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Contact.read feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-contact-read" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Contact.read feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-contact-read-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-contact-write">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-contact-write" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Contact.write feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-contact-write" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Contact.write feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-contact-write-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-callhistory-read">
       <capabilities>
         <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.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-callhistory-read" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to callhistory.read feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-callhistory-read-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-callhistory-write">
       <capabilities>
         <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.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-callhistory-write" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to callhistory.write feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-callhistory-write-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-content-read">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-content-read" purpose="Check if WRT supports new top-level browsing context created from widget context has access to content.read feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-content-read" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to content.read feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-content-read-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-content-write">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-content-write" purpose="Check if WRT supports new top-level browsing context created from widget context has access to content.write feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-content-write" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to content.write feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-content-write-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-download">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-download" purpose="Check if WRT supports new top-level browsing context created from widget context has access to download feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-download" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to download feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-download-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-nfc-common">
       <capabilities>
-        <capability name="http://tizen.org/feature/network.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.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-nfc-common" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to nfc.common feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-nfc-common-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-notification">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-notification" purpose="Check if WRT supports new top-level browsing context created from widget context has access to notification feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-notification" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to notification feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-notification-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-power">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-power" purpose="Check if WRT supports new top-level browsing context created from widget context has access to power feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-power" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to power feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-power-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
     <set name="multiple-other-systemsetting">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-systemsetting" purpose="Check if WRT supports new top-level browsing context created from widget context has access to systemsetting feature.">
+      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-systemsetting" priority="P3" purpose="Check if WRT supports new top-level browsing context created from widget context has access to systemsetting feature.">
         <description>
           <test_script_entry test_script_expected_result="0">multiple-other-systemsetting-test.html</test_script_entry>
         </description>
-        </testcase>
+      </testcase>
     </set>
   </suite>
 </test_definition>
index e2684a5..de623e9 100755 (executable)
@@ -1,6 +1,6 @@
 COMMON_SUITE="tct-appwgt-wrt-tests
-tct-dynamicbox-wrt-tests
 tct-ext02-wrt-tests
+tct-maxLength-wrt-tests
 tct-pm-wrt-tests
 tct-rt01-wrt-tests
 tct-rt02-wrt-tests
@@ -9,9 +9,7 @@ tct-sp02-wrt-tests
 tct-stab-wrt-tests"
 
 MOBILE_SUITE="tct-ext01-wrt-tests
-tct-ui01-wrt-tests"
-
-WEARABLE_SUITE="tct-ext01-wrt-tests
+tct-privilege-wrt-tests
 tct-ui01-wrt-tests"
 
 
diff --git a/wearable/Makefile.am b/wearable/Makefile.am
deleted file mode 100755 (executable)
index 5f93798..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-SUBDIRS = tct-ext01-wrt-tests \
-tct-ui01-wrt-tests
diff --git a/wearable/README b/wearable/README
deleted file mode 100755 (executable)
index 65c4d06..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-1. How to build from source
-
-1.1. Package installation
-    Check that the following packages are installed on the target platform.
-     (Install them if they are not installed yet.)
-     gcc, make, zip, automake, autoconf
-
-1.2. Get signing tool to sign WGT.
-    Get signing tool and put it under tools/ folder
-     # mkdir -p /path/to/wrt/tools
-     # cp -ar /path/to/signing /path/to/wrt/tools/
-
-1.3. Package test suite in one of the 2 ways:
-    (1) Clone the repo, and build packages using packall.sh
-     # ./packall.sh -t wgt
-     Then tct-xxx-tests zip packages will be generated under each suite folder.
-
-    (2) Enter into each test suite folder, and then run the following command:
-     # /pack.sh -t wgt
-     Then a tct-xxx-tests zip package will be generated.
diff --git a/wearable/packall.sh b/wearable/packall.sh
deleted file mode 100755 (executable)
index 22e359d..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-SUITE="tct-ext01-wrt-tests
-tct-privilege-wrt-tests
-tct-ui01-wrt-tests"
-
-#parse params
-usage="Usage: ./packall.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
-
-root_dir=$PWD
-
-for suite in $SUITE;do
-    cd $suite
-    ./pack.sh -t $type
-    cd $root_dir
-done
diff --git a/wearable/tct-ext01-wrt-tests/COPYING b/wearable/tct-ext01-wrt-tests/COPYING
deleted file mode 100755 (executable)
index 68870ce..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-Copyright (c) 2012 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.
-
diff --git a/wearable/tct-ext01-wrt-tests/Makefile.am b/wearable/tct-ext01-wrt-tests/Makefile.am
deleted file mode 100755 (executable)
index 7ecdbcb..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-##
-# Copyright (c) 2012 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:
-#               Fan, Yugang <yugang.fan@intel.com>
-#
-docdir = $(prefix)/opt/tct-ext01-wrt-tests
-dist_doc_DATA = README *.wgt COPYING tests.xml tests.full.xml
diff --git a/wearable/tct-ext01-wrt-tests/README b/wearable/tct-ext01-wrt-tests/README
deleted file mode 100755 (executable)
index 781dcdf..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-----------------------------------------------
-License
-----------------------------------------------
-Copyright (c) 2012 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:
-        Yue, Jianhui <jianhuix.a.yue@intel.com>
-
-
-----------------------------------------------
-Introduction
-----------------------------------------------
-This test suite is for config extension module testing.
-
-
-----------------------------------------------
-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 "testkit-stub" into test device.
-     sdb root on
-     sdb push testkit-stub /usr/bin
-     sdb shell chmod +x /usr/bin/testkit-stub
-  3. Run the cases as "root" user.
-
-
-----------------------------------------------
-Installation
-----------------------------------------------
-./autogen
-./configure prefix=/usr
-make && make install
-
-
-----------------------------------------------
-Build and Run
-----------------------------------------------
- (Suppose you only get the source code which has been set up on your test device.
-  If you have obtained tct-ext01-wrt-tests RPM packages, you can directly go to step 3 on the test device)
-
-Steps:
-    1. Prepare for building:
-       cd tct-ext01-wrt-tests
-    2. Build RPM packages:
-       ./pack.sh -t all
-    3. Install RPM on the test device as "root" user:
-       rpm -ivh tct-ext01-wrt-tests-<version>-<release>.<arch>.rpm
-    4. Run test cases as "normal" user with the following command:
-       testkit-lite -e "WRTLauncher tct-ext01-wrt-tests" -f device:"/usr/share/tct-ext01-wrt-tests/tests.xml"
-
-
-----------------------------------------------
-Known Issues
-----------------------------------------------
-    1. Chromium browser does not support the widget framework.
-    2. The icons which are used in the test cases are contained in the associated widget package.
-
-Note: If there is any defects in this test suite, please do not hesitate to contact us by the email jianhuix.a.yue@intel.com
-
-
-----------------------------------------------
-Todo
-----------------------------------------------
\ No newline at end of file
diff --git a/wearable/tct-ext01-wrt-tests/application-privilege/config.xml b/wearable/tct-ext01-wrt-tests/application-privilege/config.xml
deleted file mode 100755 (executable)
index 3475289..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<?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">
-  <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/calendar.read"/>
-  <tizen:privilege name="http://tizen.org/privilege/calendar.write"/>
-</widget>
diff --git a/wearable/tct-ext01-wrt-tests/application-privilege/icon.png b/wearable/tct-ext01-wrt-tests/application-privilege/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-ext01-wrt-tests/application-privilege/icon.png and /dev/null differ
diff --git a/wearable/tct-ext01-wrt-tests/application-privilege/index.html b/wearable/tct-ext01-wrt-tests/application-privilege/index.html
deleted file mode 100755 (executable)
index 9e5a498..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<!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">
-div#navbar,#footbar{
-       box-sizing: border-box;
-       width: 99%;
-       border: 0px;
-       text-align: left;
-       background: teal;
-       color: white;
-}
-
-textarea#testinfo{
-       width: 99%;
-       font-size: 14px;
-}
-
-input,label,select{
-       font-size: 14px;
-}
-
-span.short{
-       padding-left: 10px;
-}
-
-span.long{
-       padding-left: 60px;
-}
-</style>
-</head>
-
-<body bgcolor="FFFFFF" >
-<div id="navbar">
-       <span class="short"><input type="button" style="width:8%" id="btnPrev" value="< Prev"/></span>
-       <select id="selTestlist" style="width:60%"> </select>
-       <input type="button" style="width:8%" id="btnNext" value="Next >"/>
-       <input type="checkbox" name="manualonly" id="chkManualonly"/><label for="chkManualonly">Manual-Only</label>
-</div>
-<div width="99%">
-       <textarea id="testinfo" rows=8 disabled>
-       </textarea>
-</div>
-<div id="footbar">
-       <span class="short"><input type="button" style="width:8%" id="btnDone" value="Done"/></span>
-       <span class="short"><input type="radio" name="result" id="radPass" value="PASS"/><label for="radPass">Pass</label></span>
-       <span class="short"><input type="radio" name="result" id="radFail" value="FAIL"/><label for="radFail">Fail</label></span>
-       <span class="long"><input type="button" style="width:8%" id="btnRun" value="Run"/></span>
-       <input type="checkbox" name="batch" id="chkBatch"/><label for="chkBatch">Batch</label>
-</div>
-<iframe frameborder="1" width="100%" id="frmTest" allowFullScreen="true" mozAllowFullScreen="true" webkitAllowFullscreen="true" src="">
-</iframe>
-<script src="testrunner.js"> </script>
-</body>
-</html>
diff --git a/wearable/tct-ext01-wrt-tests/application-privilege/jquery-1.10.2.min.js b/wearable/tct-ext01-wrt-tests/application-privilege/jquery-1.10.2.min.js
deleted file mode 100755 (executable)
index da41706..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/*! 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/wearable/tct-ext01-wrt-tests/application-privilege/resources/testharness.css b/wearable/tct-ext01-wrt-tests/application-privilege/resources/testharness.css
deleted file mode 100755 (executable)
index 365084f..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-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/wearable/tct-ext01-wrt-tests/application-privilege/resources/testharness.js b/wearable/tct-ext01-wrt-tests/application-privilege/resources/testharness.js
deleted file mode 100755 (executable)
index 69acd7f..0000000
+++ /dev/null
@@ -1,2237 +0,0 @@
-/*
-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:5000,
-      test_timeout:2000
-    };
-
-    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/wearable/tct-ext01-wrt-tests/application-privilege/resources/testharnessreport.js b/wearable/tct-ext01-wrt-tests/application-privilege/resources/testharnessreport.js
deleted file mode 100755 (executable)
index fa73347..0000000
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * 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/wearable/tct-ext01-wrt-tests/application-privilege/test_index.html b/wearable/tct-ext01-wrt-tests/application-privilege/test_index.html
deleted file mode 100755 (executable)
index e4e0089..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Yue, Jianhui <jianhuix.a.yue@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: application-privilege</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check that the web runtime be able to identify the required API access privilege."/>
-    <meta charset="utf-8">
-    <script src="resources/testharness.js"></script>
-    <script src="resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <div id="log"></div>
-    <script language="javascript" type="text/javascript">
-       test(function() {
-           var calendar = tizen.calendar.getDefaultCalendar("EVENT");
-           var html5seminar = new tizen.CalendarEvent({startDate: new tizen.TZDate(2012, 3, 4),
-               duration: new tizen.TimeDuration(3, "DAYS"),
-               summary: "HTML5 Seminar"});
-           calendar.add(html5seminar);
-           var tizenseminar = html5seminar.clone();
-       }, "Check that the web runtime be able to identify the required API access privilege");
-    </script>
-  </body>
-</html>
diff --git a/wearable/tct-ext01-wrt-tests/application-privilege/testrunner.js b/wearable/tct-ext01-wrt-tests/application-privilege/testrunner.js
deleted file mode 100755 (executable)
index d121016..0000000
+++ /dev/null
@@ -1,689 +0,0 @@
-/*
-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.submitResult = null;
-               this.ui = 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
-               };
-               return { 
-                       constructor: TestRunner,
-                       getTestContext: function (field) {
-                               return testContext[field];
-                       },
-
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
-                       goNext: function () {
-                               index++;
-                       },
-
-                       getTestIndex: function () {
-                               return index;
-                       },
-
-                       setTestIndex: function (ind) {
-                               index = ind;
-                       },
-
-                       getTest: function (ind) {
-                               if (typeof ind === "undefined")
-                                       ind = index;
-                               return Tests[ind];
-                       },
-
-                       addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
-                       },
-
-                       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) {
-                               if (oldRes !== null)
-                                       sum[oldRes]--;
-                               if (newRes !== null)
-                                       sum[newRes]++;
-                       },
-
-                       checkResult: function () {
-                               var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
-                               // 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) {
-                                               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');
-                                       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 () {
-                               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.pre_condition)
-                                       info += "\nPrecondition: " + tc.pre_condition;
-                               if (tc.steps)
-                                       info += "\n" + tc.steps;
-                               return info;
-                       },
-
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
-                               function getUriField(uri, param) {
-                                       var querys = uri.split("?")
-                                       if (querys.length <= 1)
-                                               return "";
-                                       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();
-                               var delay = tc.onload_delay;
-                               if (delay)
-                                       testContext.onload_delay = parseInt(delay) * 1000;
-                               else
-                                       testContext.onload_delay = 5000;
-
-                               var uri = tc.test_script_entry;
-                               var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
-                                       testContext.sub_index = parseInt(val);
-                                       testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
-                                               return "";
-                                       }
-                               } else {
-                                       testContext.uri = uri;
-                                       testContext.sub_index = 0;
-                               }
-                               testContext.prev_uri = testContext.uri;
-                               testContext.start_time = new Date();
-                               return testContext.uri;
-                       },
-
-                       load_ready: function () {
-                               if (!autoflag)
-                                       return;
-                               if (!this.checkResult()){
-                                       if (testContext.onload_delay > 0){
-                                               var tval = 500;
-                                               var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
-                                               testContext.onload_delay -= tval;
-                                               return
-                                       }
-                                       this.report("BLOCK", "Timeout");
-                               }
-                               this.doTest();
-                       },
-
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
-                       },
-
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
-                       },
-
-                       TestCase: function() {
-                               return {
-                                       id: null,
-                                       test_script_entry: null,
-                                       execution_type: "manual",
-                                       result: "NOTRUN",
-                                       purpose: "",
-                                       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) {
-                       $(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(',');
-                                       }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
-               }
-
-               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");
-       };
-
-       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());
-                       return;
-               }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
-       };
-
-       master_runner.report = function (result, log) {
-               var tc = this.getTest();
-               var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
-               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);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       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);
-       };
-
-       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);
-               self.ui.updateTestInfo("Connecting server...");
-               var f = function () {
-                       var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
-                       self.doTest();
-               };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
-               return true;
-       };
-
-       slave_runner.doTest = function () {
-               var self = this;
-               if (self.internal.stage > 0) {
-                       self.setAutomode(false);
-                       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.purpose = task.purpose;
-                               test.pre_condition = task.pre_condition;
-                               self.cleanTests();
-                               self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
-                               return;
-                       } else {  //handle manual test
-                               self.setAutomode(false);
-                               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";
-                                               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.updateList();
-                                       self.sumInit();
-                               } 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;
-                       this.ui.updateResult(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);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       slave_runner.submitResult = function () {
-               $.get(SERVER + "/generate_xml");
-               close_window();
-       };
-
-       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 selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").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 runner = null;
-               var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
-               };
-
-               var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
-               };
-
-               var selectResult = function() {
-                       runner.report(this.value, "");
-               };
-
-               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 changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
-
-               return {
-                       bind: function (r) {
-                               var self = this;
-                               r.ui = self;
-                               runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).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());
-                                       }
-                               });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
-                               $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
-                               });
-                               frmTest.height = $(window).height();
-                       },
-
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
-                               } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
-                               }
-                       },
-
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
-                       },
-                  
-                       runTest: function (uri) {
-                               if (uri)
-                                       frmTest.src = uri;
-                       },
-
-                       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) {
-                          testinfo.value = info;
-                       }
-          };
-       } ());
-
-       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";
-       $.ajaxSetup({ async: false});
-       $(window).on("ready", pre_init);
-})(window);
diff --git a/wearable/tct-ext01-wrt-tests/autogen b/wearable/tct-ext01-wrt-tests/autogen
deleted file mode 100755 (executable)
index 814a7a6..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-##
-# Copyright (c) 2012 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:
-#               Fan, Yugang <yugang.fan@intel.com>
-#
-
-autoreconf --install
diff --git a/wearable/tct-ext01-wrt-tests/configure.ac b/wearable/tct-ext01-wrt-tests/configure.ac
deleted file mode 100755 (executable)
index e22ad92..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-##
-# Copyright (c) 2012 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:
-#               Gang, Feng<gangx.feng@intel.com>
-#
-
-AC_INIT([tct-ext01-wrt-tests], [2.3.1], [yugang.fan@intel.com])
-AM_INIT_AUTOMAKE([-Wall -Werror foreign])
-
-# Checks for programs.
-#AC_PROG_CC
-
-AC_CONFIG_FILES([\
-Makefile \
-])
-AC_OUTPUT
diff --git a/wearable/tct-ext01-wrt-tests/inst.sh.wgt b/wearable/tct-ext01-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/wearable/tct-ext01-wrt-tests/metadata-support/config.xml b/wearable/tct-ext01-wrt-tests/metadata-support/config.xml
deleted file mode 100755 (executable)
index bcf30d6..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<?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">
-  <access origin="*"/>
-  <icon src="icon.png" height="117" width="117"/>
-  <content src="index.html"/>
-  <name>metadata-support</name>
-  <tizen:application id="wrt2met001.metadatasupport" package="wrt2met001" required_version="2.3"/>
-  <tizen:metadata key="key1"/>
-  <tizen:metadata key="key2" value="value"/>
-  <tizen:privilege name="http://tizen.org/privilege/application.info"/>
-</widget>
diff --git a/wearable/tct-ext01-wrt-tests/metadata-support/icon.png b/wearable/tct-ext01-wrt-tests/metadata-support/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-ext01-wrt-tests/metadata-support/icon.png and /dev/null differ
diff --git a/wearable/tct-ext01-wrt-tests/metadata-support/index.html b/wearable/tct-ext01-wrt-tests/metadata-support/index.html
deleted file mode 100755 (executable)
index 9e5a498..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<!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">
-div#navbar,#footbar{
-       box-sizing: border-box;
-       width: 99%;
-       border: 0px;
-       text-align: left;
-       background: teal;
-       color: white;
-}
-
-textarea#testinfo{
-       width: 99%;
-       font-size: 14px;
-}
-
-input,label,select{
-       font-size: 14px;
-}
-
-span.short{
-       padding-left: 10px;
-}
-
-span.long{
-       padding-left: 60px;
-}
-</style>
-</head>
-
-<body bgcolor="FFFFFF" >
-<div id="navbar">
-       <span class="short"><input type="button" style="width:8%" id="btnPrev" value="< Prev"/></span>
-       <select id="selTestlist" style="width:60%"> </select>
-       <input type="button" style="width:8%" id="btnNext" value="Next >"/>
-       <input type="checkbox" name="manualonly" id="chkManualonly"/><label for="chkManualonly">Manual-Only</label>
-</div>
-<div width="99%">
-       <textarea id="testinfo" rows=8 disabled>
-       </textarea>
-</div>
-<div id="footbar">
-       <span class="short"><input type="button" style="width:8%" id="btnDone" value="Done"/></span>
-       <span class="short"><input type="radio" name="result" id="radPass" value="PASS"/><label for="radPass">Pass</label></span>
-       <span class="short"><input type="radio" name="result" id="radFail" value="FAIL"/><label for="radFail">Fail</label></span>
-       <span class="long"><input type="button" style="width:8%" id="btnRun" value="Run"/></span>
-       <input type="checkbox" name="batch" id="chkBatch"/><label for="chkBatch">Batch</label>
-</div>
-<iframe frameborder="1" width="100%" id="frmTest" allowFullScreen="true" mozAllowFullScreen="true" webkitAllowFullscreen="true" src="">
-</iframe>
-<script src="testrunner.js"> </script>
-</body>
-</html>
diff --git a/wearable/tct-ext01-wrt-tests/metadata-support/jquery-1.10.2.min.js b/wearable/tct-ext01-wrt-tests/metadata-support/jquery-1.10.2.min.js
deleted file mode 100755 (executable)
index da41706..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/*! 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/wearable/tct-ext01-wrt-tests/metadata-support/resources/testharness.css b/wearable/tct-ext01-wrt-tests/metadata-support/resources/testharness.css
deleted file mode 100755 (executable)
index 365084f..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-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/wearable/tct-ext01-wrt-tests/metadata-support/resources/testharness.js b/wearable/tct-ext01-wrt-tests/metadata-support/resources/testharness.js
deleted file mode 100755 (executable)
index 69acd7f..0000000
+++ /dev/null
@@ -1,2237 +0,0 @@
-/*
-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:5000,
-      test_timeout:2000
-    };
-
-    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/wearable/tct-ext01-wrt-tests/metadata-support/resources/testharnessreport.js b/wearable/tct-ext01-wrt-tests/metadata-support/resources/testharnessreport.js
deleted file mode 100755 (executable)
index fa73347..0000000
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * 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/wearable/tct-ext01-wrt-tests/metadata-support/test_index.html b/wearable/tct-ext01-wrt-tests/metadata-support/test_index.html
deleted file mode 100755 (executable)
index de895ad..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Ge, Zhang <gex.zhang@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: metadata-support</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check that the web runtime can support the metadata element."/>
-    <meta charset="utf-8">
-    <script src="resources/testharness.js"></script>
-    <script src="resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <div id="log"></div>
-    <script language="javascript" type="text/javascript">
-       test(function() {
-           var metaDataArray = tizen.application.getAppMetaData(null);
-           if(metaDataArray.length == 2){
-               for(var i=0; i<2; i++){
-                   if(metaDataArray[i].key == "key1"){
-                       assert_true(metaDataArray[i].value == "", "the web runtime cannot support the metadata element correctly.");
-                   }else if(metaDataArray[i].key == "key2"){
-                       assert_true(metaDataArray[i].value == "value", "the web runtime cannot support the metadata element correctly.");
-                   }else{
-                       assert_true(false, "the web runtime cannot support the metadata element correctly.");
-                   }
-               }
-           }else{
-               assert_true(false, "the web runtime cannot support the metadata element correctly.");
-           }
-       }, "Check that the web runtime can support the metadata element");
-    </script>
-  </body>
-</html>
diff --git a/wearable/tct-ext01-wrt-tests/metadata-support/testrunner.js b/wearable/tct-ext01-wrt-tests/metadata-support/testrunner.js
deleted file mode 100755 (executable)
index d121016..0000000
+++ /dev/null
@@ -1,689 +0,0 @@
-/*
-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.submitResult = null;
-               this.ui = 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
-               };
-               return { 
-                       constructor: TestRunner,
-                       getTestContext: function (field) {
-                               return testContext[field];
-                       },
-
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
-                       goNext: function () {
-                               index++;
-                       },
-
-                       getTestIndex: function () {
-                               return index;
-                       },
-
-                       setTestIndex: function (ind) {
-                               index = ind;
-                       },
-
-                       getTest: function (ind) {
-                               if (typeof ind === "undefined")
-                                       ind = index;
-                               return Tests[ind];
-                       },
-
-                       addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
-                       },
-
-                       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) {
-                               if (oldRes !== null)
-                                       sum[oldRes]--;
-                               if (newRes !== null)
-                                       sum[newRes]++;
-                       },
-
-                       checkResult: function () {
-                               var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
-                               // 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) {
-                                               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');
-                                       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 () {
-                               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.pre_condition)
-                                       info += "\nPrecondition: " + tc.pre_condition;
-                               if (tc.steps)
-                                       info += "\n" + tc.steps;
-                               return info;
-                       },
-
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
-                               function getUriField(uri, param) {
-                                       var querys = uri.split("?")
-                                       if (querys.length <= 1)
-                                               return "";
-                                       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();
-                               var delay = tc.onload_delay;
-                               if (delay)
-                                       testContext.onload_delay = parseInt(delay) * 1000;
-                               else
-                                       testContext.onload_delay = 5000;
-
-                               var uri = tc.test_script_entry;
-                               var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
-                                       testContext.sub_index = parseInt(val);
-                                       testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
-                                               return "";
-                                       }
-                               } else {
-                                       testContext.uri = uri;
-                                       testContext.sub_index = 0;
-                               }
-                               testContext.prev_uri = testContext.uri;
-                               testContext.start_time = new Date();
-                               return testContext.uri;
-                       },
-
-                       load_ready: function () {
-                               if (!autoflag)
-                                       return;
-                               if (!this.checkResult()){
-                                       if (testContext.onload_delay > 0){
-                                               var tval = 500;
-                                               var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
-                                               testContext.onload_delay -= tval;
-                                               return
-                                       }
-                                       this.report("BLOCK", "Timeout");
-                               }
-                               this.doTest();
-                       },
-
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
-                       },
-
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
-                       },
-
-                       TestCase: function() {
-                               return {
-                                       id: null,
-                                       test_script_entry: null,
-                                       execution_type: "manual",
-                                       result: "NOTRUN",
-                                       purpose: "",
-                                       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) {
-                       $(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(',');
-                                       }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
-               }
-
-               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");
-       };
-
-       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());
-                       return;
-               }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
-       };
-
-       master_runner.report = function (result, log) {
-               var tc = this.getTest();
-               var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
-               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);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       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);
-       };
-
-       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);
-               self.ui.updateTestInfo("Connecting server...");
-               var f = function () {
-                       var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
-                       self.doTest();
-               };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
-               return true;
-       };
-
-       slave_runner.doTest = function () {
-               var self = this;
-               if (self.internal.stage > 0) {
-                       self.setAutomode(false);
-                       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.purpose = task.purpose;
-                               test.pre_condition = task.pre_condition;
-                               self.cleanTests();
-                               self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
-                               return;
-                       } else {  //handle manual test
-                               self.setAutomode(false);
-                               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";
-                                               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.updateList();
-                                       self.sumInit();
-                               } 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;
-                       this.ui.updateResult(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);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       slave_runner.submitResult = function () {
-               $.get(SERVER + "/generate_xml");
-               close_window();
-       };
-
-       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 selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").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 runner = null;
-               var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
-               };
-
-               var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
-               };
-
-               var selectResult = function() {
-                       runner.report(this.value, "");
-               };
-
-               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 changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
-
-               return {
-                       bind: function (r) {
-                               var self = this;
-                               r.ui = self;
-                               runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).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());
-                                       }
-                               });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
-                               $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
-                               });
-                               frmTest.height = $(window).height();
-                       },
-
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
-                               } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
-                               }
-                       },
-
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
-                       },
-                  
-                       runTest: function (uri) {
-                               if (uri)
-                                       frmTest.src = uri;
-                       },
-
-                       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) {
-                          testinfo.value = info;
-                       }
-          };
-       } ());
-
-       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";
-       $.ajaxSetup({ async: false});
-       $(window).on("ready", pre_init);
-})(window);
diff --git a/wearable/tct-ext01-wrt-tests/pack.sh b/wearable/tct-ext01-wrt-tests/pack.sh
deleted file mode 100755 (executable)
index 62f1529..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/wearable/tct-ext01-wrt-tests/setting-install-location-auto/config.xml b/wearable/tct-ext01-wrt-tests/setting-install-location-auto/config.xml
deleted file mode 100755 (executable)
index b78fa8c..0000000
+++ /dev/null
@@ -1,9 +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://tizen.org/setting-install-location-auto" version="1.0.0" viewmodes="maximized">
-  <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>
diff --git a/wearable/tct-ext01-wrt-tests/setting-install-location-auto/icon.png b/wearable/tct-ext01-wrt-tests/setting-install-location-auto/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-ext01-wrt-tests/setting-install-location-auto/icon.png and /dev/null differ
diff --git a/wearable/tct-ext01-wrt-tests/setting-install-location-auto/index.html b/wearable/tct-ext01-wrt-tests/setting-install-location-auto/index.html
deleted file mode 100755 (executable)
index 9e5a498..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<!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">
-div#navbar,#footbar{
-       box-sizing: border-box;
-       width: 99%;
-       border: 0px;
-       text-align: left;
-       background: teal;
-       color: white;
-}
-
-textarea#testinfo{
-       width: 99%;
-       font-size: 14px;
-}
-
-input,label,select{
-       font-size: 14px;
-}
-
-span.short{
-       padding-left: 10px;
-}
-
-span.long{
-       padding-left: 60px;
-}
-</style>
-</head>
-
-<body bgcolor="FFFFFF" >
-<div id="navbar">
-       <span class="short"><input type="button" style="width:8%" id="btnPrev" value="< Prev"/></span>
-       <select id="selTestlist" style="width:60%"> </select>
-       <input type="button" style="width:8%" id="btnNext" value="Next >"/>
-       <input type="checkbox" name="manualonly" id="chkManualonly"/><label for="chkManualonly">Manual-Only</label>
-</div>
-<div width="99%">
-       <textarea id="testinfo" rows=8 disabled>
-       </textarea>
-</div>
-<div id="footbar">
-       <span class="short"><input type="button" style="width:8%" id="btnDone" value="Done"/></span>
-       <span class="short"><input type="radio" name="result" id="radPass" value="PASS"/><label for="radPass">Pass</label></span>
-       <span class="short"><input type="radio" name="result" id="radFail" value="FAIL"/><label for="radFail">Fail</label></span>
-       <span class="long"><input type="button" style="width:8%" id="btnRun" value="Run"/></span>
-       <input type="checkbox" name="batch" id="chkBatch"/><label for="chkBatch">Batch</label>
-</div>
-<iframe frameborder="1" width="100%" id="frmTest" allowFullScreen="true" mozAllowFullScreen="true" webkitAllowFullscreen="true" src="">
-</iframe>
-<script src="testrunner.js"> </script>
-</body>
-</html>
diff --git a/wearable/tct-ext01-wrt-tests/setting-install-location-auto/jquery-1.10.2.min.js b/wearable/tct-ext01-wrt-tests/setting-install-location-auto/jquery-1.10.2.min.js
deleted file mode 100755 (executable)
index da41706..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/*! 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/wearable/tct-ext01-wrt-tests/setting-install-location-auto/resources/testharness.css b/wearable/tct-ext01-wrt-tests/setting-install-location-auto/resources/testharness.css
deleted file mode 100755 (executable)
index 365084f..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-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/wearable/tct-ext01-wrt-tests/setting-install-location-auto/resources/testharness.js b/wearable/tct-ext01-wrt-tests/setting-install-location-auto/resources/testharness.js
deleted file mode 100755 (executable)
index 69acd7f..0000000
+++ /dev/null
@@ -1,2237 +0,0 @@
-/*
-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:5000,
-      test_timeout:2000
-    };
-
-    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/wearable/tct-ext01-wrt-tests/setting-install-location-auto/resources/testharnessreport.js b/wearable/tct-ext01-wrt-tests/setting-install-location-auto/resources/testharnessreport.js
deleted file mode 100755 (executable)
index fa73347..0000000
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * 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/wearable/tct-ext01-wrt-tests/setting-install-location-auto/test_index.html b/wearable/tct-ext01-wrt-tests/setting-install-location-auto/test_index.html
deleted file mode 100755 (executable)
index 1f3b1b8..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        yunfenx.hao <yunfenx.hao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: setting-install-location-auto</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check that when set install-location to 'auto', the install location is system defined install location."/>
-    <meta charset="utf-8">
-    <script src="resources/testharness.js"></script>
-    <script src="resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <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";
-            assert_equals(img_path.src, excepted);
-        }, "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
diff --git a/wearable/tct-ext01-wrt-tests/setting-install-location-auto/testrunner.js b/wearable/tct-ext01-wrt-tests/setting-install-location-auto/testrunner.js
deleted file mode 100755 (executable)
index d121016..0000000
+++ /dev/null
@@ -1,689 +0,0 @@
-/*
-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.submitResult = null;
-               this.ui = 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
-               };
-               return { 
-                       constructor: TestRunner,
-                       getTestContext: function (field) {
-                               return testContext[field];
-                       },
-
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
-                       goNext: function () {
-                               index++;
-                       },
-
-                       getTestIndex: function () {
-                               return index;
-                       },
-
-                       setTestIndex: function (ind) {
-                               index = ind;
-                       },
-
-                       getTest: function (ind) {
-                               if (typeof ind === "undefined")
-                                       ind = index;
-                               return Tests[ind];
-                       },
-
-                       addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
-                       },
-
-                       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) {
-                               if (oldRes !== null)
-                                       sum[oldRes]--;
-                               if (newRes !== null)
-                                       sum[newRes]++;
-                       },
-
-                       checkResult: function () {
-                               var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
-                               // 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) {
-                                               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');
-                                       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 () {
-                               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.pre_condition)
-                                       info += "\nPrecondition: " + tc.pre_condition;
-                               if (tc.steps)
-                                       info += "\n" + tc.steps;
-                               return info;
-                       },
-
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
-                               function getUriField(uri, param) {
-                                       var querys = uri.split("?")
-                                       if (querys.length <= 1)
-                                               return "";
-                                       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();
-                               var delay = tc.onload_delay;
-                               if (delay)
-                                       testContext.onload_delay = parseInt(delay) * 1000;
-                               else
-                                       testContext.onload_delay = 5000;
-
-                               var uri = tc.test_script_entry;
-                               var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
-                                       testContext.sub_index = parseInt(val);
-                                       testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
-                                               return "";
-                                       }
-                               } else {
-                                       testContext.uri = uri;
-                                       testContext.sub_index = 0;
-                               }
-                               testContext.prev_uri = testContext.uri;
-                               testContext.start_time = new Date();
-                               return testContext.uri;
-                       },
-
-                       load_ready: function () {
-                               if (!autoflag)
-                                       return;
-                               if (!this.checkResult()){
-                                       if (testContext.onload_delay > 0){
-                                               var tval = 500;
-                                               var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
-                                               testContext.onload_delay -= tval;
-                                               return
-                                       }
-                                       this.report("BLOCK", "Timeout");
-                               }
-                               this.doTest();
-                       },
-
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
-                       },
-
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
-                       },
-
-                       TestCase: function() {
-                               return {
-                                       id: null,
-                                       test_script_entry: null,
-                                       execution_type: "manual",
-                                       result: "NOTRUN",
-                                       purpose: "",
-                                       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) {
-                       $(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(',');
-                                       }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
-               }
-
-               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");
-       };
-
-       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());
-                       return;
-               }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
-       };
-
-       master_runner.report = function (result, log) {
-               var tc = this.getTest();
-               var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
-               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);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       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);
-       };
-
-       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);
-               self.ui.updateTestInfo("Connecting server...");
-               var f = function () {
-                       var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
-                       self.doTest();
-               };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
-               return true;
-       };
-
-       slave_runner.doTest = function () {
-               var self = this;
-               if (self.internal.stage > 0) {
-                       self.setAutomode(false);
-                       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.purpose = task.purpose;
-                               test.pre_condition = task.pre_condition;
-                               self.cleanTests();
-                               self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
-                               return;
-                       } else {  //handle manual test
-                               self.setAutomode(false);
-                               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";
-                                               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.updateList();
-                                       self.sumInit();
-                               } 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;
-                       this.ui.updateResult(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);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       slave_runner.submitResult = function () {
-               $.get(SERVER + "/generate_xml");
-               close_window();
-       };
-
-       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 selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").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 runner = null;
-               var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
-               };
-
-               var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
-               };
-
-               var selectResult = function() {
-                       runner.report(this.value, "");
-               };
-
-               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 changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
-
-               return {
-                       bind: function (r) {
-                               var self = this;
-                               r.ui = self;
-                               runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).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());
-                                       }
-                               });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
-                               $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
-                               });
-                               frmTest.height = $(window).height();
-                       },
-
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
-                               } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
-                               }
-                       },
-
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
-                       },
-                  
-                       runTest: function (uri) {
-                               if (uri)
-                                       frmTest.src = uri;
-                       },
-
-                       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) {
-                          testinfo.value = info;
-                       }
-          };
-       } ());
-
-       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";
-       $.ajaxSetup({ async: false});
-       $(window).on("ready", pre_init);
-})(window);
diff --git a/wearable/tct-ext01-wrt-tests/signing_whitedirs b/wearable/tct-ext01-wrt-tests/signing_whitedirs
deleted file mode 100755 (executable)
index 927eba2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-metadata-support
diff --git a/wearable/tct-ext01-wrt-tests/tct-ext01-wrt-tests.spec b/wearable/tct-ext01-wrt-tests/tct-ext01-wrt-tests.spec
deleted file mode 100755 (executable)
index f64c4f0..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-name=$(basename $(pwd))
-main_version="2.3.1"
-release=""
-version="$main_version"
-appname=$(echo $name|sed 's/-/_/g')
diff --git a/wearable/tct-ext01-wrt-tests/testcase.xsl b/wearable/tct-ext01-wrt-tests/testcase.xsl
deleted file mode 100755 (executable)
index 8623c28..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/wearable/tct-ext01-wrt-tests/testresult.xsl b/wearable/tct-ext01-wrt-tests/testresult.xsl
deleted file mode 100755 (executable)
index d1ad1b9..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/wearable/tct-ext01-wrt-tests/tests.css b/wearable/tct-ext01-wrt-tests/tests.css
deleted file mode 100755 (executable)
index 30c3670..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/wearable/tct-ext01-wrt-tests/tests.full.xml b/wearable/tct-ext01-wrt-tests/tests.full.xml
deleted file mode 100755 (executable)
index bca8d7a..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl"  href="./testcase.xsl"?>
-<test_definition>
-  <suite name="tct-ext01-wrt-tests" launcher="WRTLauncher -iu" category="Web Runtime">
-    <set name="setting-install-location-auto">
-      <testcase purpose="Check that the installation location is at Ò³ystemÒ when install-location is set as 'auto'." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P3" id="setting-install-location-auto">
-        <description>
-          <pre_condition></pre_condition>
-          <post_condition></post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if installation location of widget is system</step_desc>
-              <expected>Widget application is installed at the system</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion usage="true" interface="0240" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
-            <spec_url></spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-    </set>
-    <set name="metadata-support">
-      <testcase purpose="Check that the web runtime can support the metadata element." type="user_experience" status="approved" component="Web/Runtime/ConfigExtension" execution_type="auto" priority="P1" id="metadata-support">
-        <description>
-          <pre_condition></pre_condition>
-          <post_condition></post_condition>
-          <steps>
-            <step order="1">
-              <step_desc>Check if the web runtime can support the metadata element correctly</step_desc>
-              <expected>The metadata element can be supported.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion element_type="attribute" element_name="N/A" interface="0270" specification="Configuration extension" section="Widget Configuration Extensions" category="Tizen WRT Core Specifications"/>
-            <spec_url></spec_url>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-    </set>
-  </suite>
-</test_definition>
diff --git a/wearable/tct-ext01-wrt-tests/tests.xml b/wearable/tct-ext01-wrt-tests/tests.xml
deleted file mode 100755 (executable)
index 46ecb11..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-    <?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
-<test_definition>
-  <suite launcher="WRTLauncher -iu" name="tct-ext01-wrt-tests" category="Web Runtime">
-    <set name="setting-install-location-auto">
-      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="setting-install-location-auto" purpose="Check that the installation location is at &#1203;ystem&#1184;when install-location is set as 'auto'.">
-        <description>
-          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
-        </description>
-        </testcase>
-    </set>
-    <set name="metadata-support">
-      <testcase component="Web/Runtime/ConfigExtension" execution_type="auto" id="metadata-support" purpose="Check that the web runtime can support the metadata element.">
-        <description>
-          <test_script_entry test_script_expected_result="0">test_index.html</test_script_entry>
-        </description>
-        </testcase>
-    </set>
-  </suite>
-</test_definition>
diff --git a/wearable/tct-privilege-wrt-tests/COPYING b/wearable/tct-privilege-wrt-tests/COPYING
deleted file mode 100755 (executable)
index e28b655..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT 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
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/wearable/tct-privilege-wrt-tests/Makefile.am b/wearable/tct-privilege-wrt-tests/Makefile.am
deleted file mode 100755 (executable)
index 93e9eaa..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-##
-#Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-#Licensed under the Apache License, Version 2.0 (the License);
-#you may not use this file except in compliance with the License.
-#You may obtain a copy of the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-#Unless required by applicable law or agreed to in writing, software
-#distributed under the License is distributed on an "AS IS" BASIS,
-#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 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
deleted file mode 100755 (executable)
index 126426e..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-----------------------------------------------
-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
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/wearable/tct-privilege-wrt-tests/configure.ac b/wearable/tct-privilege-wrt-tests/configure.ac
deleted file mode 100755 (executable)
index db292c8..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-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
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/wearable/tct-privilege-wrt-tests/pack.sh b/wearable/tct-privilege-wrt-tests/pack.sh
deleted file mode 100755 (executable)
index 8b07918..0000000
+++ /dev/null
@@ -1,246 +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
-                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
deleted file mode 100755 (executable)
index 0c2b2ad..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-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
deleted file mode 100755 (executable)
index 9baff57..0000000
+++ /dev/null
@@ -1,62 +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>
-#        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
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/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/author-signature.xml
deleted file mode 100755 (executable)
index 8e4c4c3..0000000
+++ /dev/null
@@ -1,66 +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="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>
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id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index 67e5cef..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index e420908..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 4c126d6..0000000
+++ /dev/null
@@ -1,68 +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>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
-CwwZVGl6ZW4gRGlzdH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MDI1MDc0NTIwWjCBkDEL
-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
deleted file mode 100755 (executable)
index f3f20c3..0000000
+++ /dev/null
@@ -1,66 +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="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>
-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perties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index acd4896..0000000
+++ /dev/null
@@ -1,10 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrcert_appmgrkill/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 2ed8975..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 97270d5..0000000
+++ /dev/null
@@ -1,68 +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>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>
-</SignedIn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hv4q+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
deleted file mode 100755 (executable)
index 7baaf6b..0000000
+++ /dev/null
@@ -1,66 +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="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
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
-AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
-2t0elRRZCMCpZVHO1i6bhuj2x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nOXXQ/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
deleted file mode 100755 (executable)
index 6b9018f..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 8e796ac..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 7b2549a..0000000
+++ /dev/null
@@ -1,68 +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>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"></Digest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U/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
deleted file mode 100755 (executable)
index 0e23abe..0000000
+++ /dev/null
@@ -1,66 +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="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/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
-ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQ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Se16pUXfcVR7FhJztRaiGLnCrwBE
-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
deleted file mode 100755 (executable)
index 86eadfe..0000000
+++ /dev/null
@@ -1,10 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipartner_appmgrkill_apipublic_alarm/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 48c1944..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 198dcfe..0000000
+++ /dev/null
@@ -1,68 +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>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
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
-cmlidXRvciBDQTAeFw0x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dvbjEWMBQGA1UECgwNVGl6
-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
deleted file mode 100755 (executable)
index dbe502a..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoM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AxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
-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_apiplatform_pkgmgrinstall/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/config.xml
deleted file mode 100755 (executable)
index e16ed66..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apiplatform_pkgmgrinstall/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index cfacc12..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index a916401..0000000
+++ /dev/null
@@ -1,68 +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>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
-O2ZT4Y3Moq9gXH6ijWA=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAV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BQYXJ0bmVy
-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
deleted file mode 100755 (executable)
index c29e310..0000000
+++ /dev/null
@@ -1,66 +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="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+cSL4vLCxN5Vgj23CFKQD8c82PSQFaR1L5fEsaS6IdskSYWIl2Vk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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/wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/config.xml
deleted file mode 100755 (executable)
index 65a50f1..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_appinfo/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index ab40bb8..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 65ee4c6..0000000
+++ /dev/null
@@ -1,68 +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>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
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGF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VBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
-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
deleted file mode 100755 (executable)
index 748f9ff..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQU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DEwMDAwMDBaFw0yNzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
-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_applaunch/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/config.xml
deleted file mode 100755 (executable)
index b5dec5b..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_applaunch/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 5e2b147..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index b5d0635..0000000
+++ /dev/null
@@ -1,68 +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>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
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
-cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
-U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RGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
-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
deleted file mode 100755 (executable)
index dbc7c01..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwT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bjEcMBoGA1UEAwwTVGl6ZW4g
-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
deleted file mode 100755 (executable)
index ce81d7d..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btadmin/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index b7f79f8..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index daf8e1e..0000000
+++ /dev/null
@@ -1,68 +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>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
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
-cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUw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GVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
-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
deleted file mode 100755 (executable)
index aa6138e..0000000
+++ /dev/null
@@ -1,66 +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="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>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
-c29jaWF0aW9uMRowGAYDVQQLD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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/signpartner_apipublic_bthealth/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/config.xml
deleted file mode 100755 (executable)
index a03d3c0..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_bthealth/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index ad01f3e..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index bfd3e15..0000000
+++ /dev/null
@@ -1,68 +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>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
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
-cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEwJL
-UjEOMAwGA1UECAwFU3V3b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zdCBDQTElMCMGA1UEAwwc
-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
deleted file mode 100755 (executable)
index 1410e9c..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
-ZWxvcG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W4g
-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
deleted file mode 100755 (executable)
index 410dc12..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index c61edc4..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 9c4c439..0000000
+++ /dev/null
@@ -1,68 +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>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>
-dPBV9rR6Zav1V08smWgcGtoCn3ycLeSruT1xJgKAqrQNDW+LkGGEsohz42Qqq3K0tZxZTGKltX6x
-NSl5Exk43ynmUtUBfzaB5BnffKgQPxxAh5vdHbt5Cw0v/XOI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JAKORBcIiXygIMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
-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_btspp_apiplatform_pkgmgrinstall/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/author-signature.xml
deleted file mode 100755 (executable)
index 6523345..0000000
+++ /dev/null
@@ -1,66 +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="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
-jru8JU91gfKpnOntGfetFzc6Tukv66ewhyWyIBwGtEd1DmLydnpnJxHcteO8DTeWibeVQsgkj8fp
-rKW6un7TPlidveHKRtU7i6yA364mJ09Og93k4gauJlDC0JuR8RwOje4liQF5lJFBKHf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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/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
deleted file mode 100755 (executable)
index 1378aa1..0000000
+++ /dev/null
@@ -1,10 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_btspp_apiplatform_pkgmgrinstall/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index bd69714..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 4ae002d..0000000
+++ /dev/null
@@ -1,68 +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>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+o76uorm5y36PnEVY6ZeWkFgCpQal+NeDKTAb20Fn71vZ/mKC
-zXaZ+PM8yxt8rg+99gtPx/KEdiPPQl/1cTuZXTHQixyO59LC417y6q5U/O5EN2GuK12pNg2petXr
-Y57rUFG5zZ/3eOSslq0=
-</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UjEO
-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_calendarread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/author-signature.xml
deleted file mode 100755 (executable)
index b52f4de..0000000
+++ /dev/null
@@ -1,66 +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="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>
-<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cNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
-+OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index f0f89f8..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index f145f52..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index db3ad24..0000000
+++ /dev/null
@@ -1,68 +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>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
-y4YSsV42KKS6JGByj80=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICnTCCAgYCCQDE9MbMmJ/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMC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aXN0cmlidXRvciBUZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
-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
deleted file mode 100755 (executable)
index 2db8c1e..0000000
+++ /dev/null
@@ -1,66 +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="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=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-aq5BlQI6Bv8QZG1RU2wOH04r1hvWdvprPiIy53QOt1jeUkUgFyamv/rDjAFmY6I85MfVBgCX6uBH
-BKcgiWtcD3D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jW0iHRE7WlpR6EvI
-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index 3c2c289..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_calendarwrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 4ce4bfe..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 541cf40..0000000
+++ /dev/null
@@ -1,68 +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>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/b5RuLyYSFApajs7WEAzSTcaDtVsOBzyBdSE7s1JA6xUTI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xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp: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
deleted file mode 100755 (executable)
index 7932a14..0000000
+++ /dev/null
@@ -1,66 +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="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/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/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/config.xml
deleted file mode 100755 (executable)
index 813c8c4..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index ae205dd..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 0af04cd..0000000
+++ /dev/null
@@ -1,68 +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>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/S5GrlkjprWmdMn0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RUsCx/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/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/author-signature.xml
deleted file mode 100755 (executable)
index 8f532a6..0000000
+++ /dev/null
@@ -1,66 +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="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
-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/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/config.xml
deleted file mode 100755 (executable)
index c7d802e..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contactwrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 9b35abc..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index b41c500..0000000
+++ /dev/null
@@ -1,68 +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>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/jU3U4Zm5ihTM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KSR0T9XEPmTKeR+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
deleted file mode 100755 (executable)
index c298867..0000000
+++ /dev/null
@@ -1,66 +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="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/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/signpartner_apipublic_contentread/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/config.xml
deleted file mode 100755 (executable)
index 048e4f4..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 4be8d96..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 992cec4..0000000
+++ /dev/null
@@ -1,68 +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>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/jU3U4Zm5ihTMSjKGlGYbWzDf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PmTKeR+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
deleted file mode 100755 (executable)
index 3bf7962..0000000
+++ /dev/null
@@ -1,66 +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="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/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
-AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lv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aMQMA4wDAYDVR0TBAUwAwEB/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
deleted file mode 100755 (executable)
index 897c7ab..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_contentwrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index d91a1ed..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 55221b9..0000000
+++ /dev/null
@@ -1,68 +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>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
-fnO2IGLUau4kquvhmz1LNg5xBTx7IbucmwLMRGo1BPGdsAQQLyXeQKJ5PCERmVg4MIoiL2zT/JsL
-sZ9UPT6GEB8CAwEAATANBg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14QcRRexffc68ipTwybU/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
deleted file mode 100755 (executable)
index 6471ddd..0000000
+++ /dev/null
@@ -1,66 +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="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/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwM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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/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/config.xml
deleted file mode 100755 (executable)
index c9fd251..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datactrlcum/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index c0a2f02..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 6ec8fc4..0000000
+++ /dev/null
@@ -1,68 +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>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>
-<Digest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rfs4MKSR0T9XEPmTKeR+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
deleted file mode 100755 (executable)
index fc2ce6b..0000000
+++ /dev/null
@@ -1,66 +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="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/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/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/config.xml
deleted file mode 100755 (executable)
index f375764..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_datasync/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index b6bc27d..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 48a77c5..0000000
+++ /dev/null
@@ -1,68 +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>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
-fnO2IGLUau4kquvhmz1LNg5xBTx7IbucmwLMRGo1BPGdsAQQLyXeQKJ5PCERmVg4MIoiL2zT/JsL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qOc/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
deleted file mode 100755 (executable)
index 690b58d..0000000
+++ /dev/null
@@ -1,66 +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="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/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUH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gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
-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
deleted file mode 100755 (executable)
index 7ad3f9d..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_download/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index c21c076..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index df8a153..0000000
+++ /dev/null
@@ -1,68 +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>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
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRG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MjIxMDI1MDc0NTIwWjCBkDEL
-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
deleted file mode 100755 (executable)
index 98d651b..0000000
+++ /dev/null
@@ -1,66 +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="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>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3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index db845c1..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fsread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 480fa99..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 58d5e64..0000000
+++ /dev/null
@@ -1,68 +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>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
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciBEaXN0
-cmlidXRvciBDQTAeFw0xMjEwM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WMBQGA1UECgwNVGl6
-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
deleted file mode 100755 (executable)
index 7ff251c..0000000
+++ /dev/null
@@ -1,66 +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="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
-c29jaW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GjAYBgNVBAoMEVRpemVu
-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
deleted file mode 100755 (executable)
index d3debe9..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_fswrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index ab7371c..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index e1ae9f7..0000000
+++ /dev/null
@@ -1,68 +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>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
-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/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/author-signature.xml
deleted file mode 100755 (executable)
index 161f191..0000000
+++ /dev/null
@@ -1,66 +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="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
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA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FUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
-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
deleted file mode 100755 (executable)
index f3e2130..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 86a3a92..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 5a7d115..0000000
+++ /dev/null
@@ -1,68 +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>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
-cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGU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AGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
-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
deleted file mode 100755 (executable)
index 4a8ca7a..0000000
+++ /dev/null
@@ -1,66 +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="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
-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/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/config.xml
deleted file mode 100755 (executable)
index db8c20f..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_msgwrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 83dfbe0..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index a520f0b..0000000
+++ /dev/null
@@ -1,68 +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>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
-cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4MzNaFw0yMjEwMjUwNzQ4MzNaMIGUMQswCQYDVQQGEw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ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwc
-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
deleted file mode 100755 (executable)
index de8fd14..0000000
+++ /dev/null
@@ -1,66 +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="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
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcM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3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
-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
deleted file mode 100755 (executable)
index 059ed35..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcadmin/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 38ad866..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index eff4995..0000000
+++ /dev/null
@@ -1,68 +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>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/yCzANBgkqhkiG9w0BAQUFADCBkDELMAkGA1UEBhMCS1IxDjAMBgNV
-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ZXN0IENBMSowKAYDVQQDDCFUaXplbiBQYXJ0bmVy
-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
deleted file mode 100755 (executable)
index fb71f1e..0000000
+++ /dev/null
@@ -1,66 +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="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+fnXtV6Bcj5anwOl7yegAa/4X9o8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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_apipublic_nfccommon/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/config.xml
deleted file mode 100755 (executable)
index 0eb92ac..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfccommon/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 75f4775..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 33bce8d..0000000
+++ /dev/null
@@ -1,68 +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>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
-cmlidXRvciBDQTAeFw0xMjE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jEWMBQGA1UECgwNVGl6
-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
deleted file mode 100755 (executable)
index 3b02096..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIE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gNVBAoMEVRpemVu
-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
deleted file mode 100755 (executable)
index 13af9fd..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfcp2p/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 7c3568b..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 8c51b15..0000000
+++ /dev/null
@@ -1,68 +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>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
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMG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GA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
-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
deleted file mode 100755 (executable)
index c0420ce..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClTCCAX2gAwIBA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m9vdDAeFw0xMjAxMDEwMDAwMDBaFw0yNzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
-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
deleted file mode 100755 (executable)
index 933d844..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_nfctag/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index aff2b8c..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 320e1ae..0000000
+++ /dev/null
@@ -1,68 +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>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
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTElMCMGA1UEAwwcVGl6ZW4gUGFydG5lciB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VN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
-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
deleted file mode 100755 (executable)
index 27f7df4..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYx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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/signpartner_apipublic_notification/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/config.xml
deleted file mode 100755 (executable)
index a09048e..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_notification/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index f2e0323..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index dfd5c96..0000000
+++ /dev/null
@@ -1,68 +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>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
-MSIwIAY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zANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
-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
deleted file mode 100755 (executable)
index 1728a3f..0000000
+++ /dev/null
@@ -1,66 +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="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
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzAN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AQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
-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
deleted file mode 100755 (executable)
index cc08010..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_pkginfo/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 0e67111..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 36ad5dc..0000000
+++ /dev/null
@@ -1,68 +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>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
-MSIwIAYDVQQLDBlUaXplbiBE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EFAAOBjQAwgYkCgYEA
-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_power/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/author-signature.xml
deleted file mode 100755 (executable)
index 7902117..0000000
+++ /dev/null
@@ -1,66 +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="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
-dGhvcjCBnz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RGmMIUyBA7o
-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_power/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/config.xml
deleted file mode 100755 (executable)
index 3f22fa5..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_power/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 74d4be4..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 74ce6ba..0000000
+++ /dev/null
@@ -1,68 +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>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+KvToPFa5g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T8rxZC8CAwEAAaMQMA4wDAYDVR0TBAUwAwEB/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_push/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/author-signature.xml
deleted file mode 100755 (executable)
index 717df7d..0000000
+++ /dev/null
@@ -1,66 +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="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+/uZ6Io0dUUSxYLYOune6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7u/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_push/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/config.xml
deleted file mode 100755 (executable)
index 52d47cf..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_push/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 33ba624..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 3483267..0000000
+++ /dev/null
@@ -1,68 +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>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/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-sSo9Wqp4ZT5tMCPriuitSz2BWY7B9/so3gih6X31dY1me794vbGDuCb4Qxl7wuL1+MdJWp9gMjh8
-1vVOt7FQz03lflg7Rjn3mhXRSWfZbp8SZK/tyXdo/GSxFxZyg8ryxsll/KnYTalN34efs0C7sWt5
-REUQfx8dxM6dyTI/EHk=
-</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/wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/author-signature.xml
deleted file mode 100755 (executable)
index b9158aa..0000000
+++ /dev/null
@@ -1,66 +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="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
-AQEFBQADggEBAM8uwdIBy0F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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/signpartner_apipublic_secele/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/config.xml
deleted file mode 100755 (executable)
index 4ddbb32..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?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
deleted file mode 100755 (executable)
index e69de29..0000000
diff --git a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/index.html b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_secele/index.html
deleted file mode 100755 (executable)
index b8dab92..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<!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
deleted file mode 100755 (executable)
index 3997906..0000000
+++ /dev/null
@@ -1,68 +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>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>
-vEirpcysA1WtsALvKzg0seMLkq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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/wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/author-signature.xml
deleted file mode 100755 (executable)
index e082d43..0000000
+++ /dev/null
@@ -1,66 +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="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
-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/wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/config.xml
deleted file mode 100755 (executable)
index 70dc0c7..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_setting/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index e43e939..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index bbc8bae..0000000
+++ /dev/null
@@ -1,68 +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>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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IEjvZa6P+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_system/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/author-signature.xml
deleted file mode 100755 (executable)
index 2b5ca15..0000000
+++ /dev/null
@@ -1,66 +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="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/h4NjVQ4ZdkXO5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WeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
-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_system/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/config.xml
deleted file mode 100755 (executable)
index 64ee40e..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_system/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 39bb8b6..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 6d3e754..0000000
+++ /dev/null
@@ -1,68 +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>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
-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BDQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
-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_telephony/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/author-signature.xml
deleted file mode 100755 (executable)
index a841ff9..0000000
+++ /dev/null
@@ -1,66 +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="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
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaM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PADCCAQoCggEBANVGhRGmMIUyBA7o
-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_telephony/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/config.xml
deleted file mode 100755 (executable)
index 5c66482..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_telephony/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 2ce53f3..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 9390fd7..0000000
+++ /dev/null
@@ -1,68 +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>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
-cmlidXRvciBDQTAeFw0xMjEwMjcwNzQ4Mz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wNVGl6
-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_websetting/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/author-signature.xml
deleted file mode 100755 (executable)
index 8cfa141..0000000
+++ /dev/null
@@ -1,66 +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="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
-c29jaWF0aW9uMRowGAYDVQ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pemVu
-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_websetting/config.xml b/wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/config.xml
deleted file mode 100755 (executable)
index 21804fa..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpartner_apipublic_websetting/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 063c9dd..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 826d077..0000000
+++ /dev/null
@@ -1,68 +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>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
-MSIwI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BnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
-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/signplatform_apipartner_appmgrcert/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/author-signature.xml
deleted file mode 100755 (executable)
index fb43d9d..0000000
+++ /dev/null
@@ -1,66 +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="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
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDz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NAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
-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_apipartner_appmgrcert/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/config.xml
deleted file mode 100755 (executable)
index 7165342..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrcert/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index e420908..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 6abd455..0000000
+++ /dev/null
@@ -1,69 +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>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
-VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVG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R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
-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_apipartner_appmgrkill/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/author-signature.xml
deleted file mode 100755 (executable)
index 9799d9b..0000000
+++ /dev/null
@@ -1,66 +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="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
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMD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CASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
-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_apipartner_appmgrkill/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/config.xml
deleted file mode 100755 (executable)
index 3624213..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipartner_appmgrkill/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 4eef4ba..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index f707e16..0000000
+++ /dev/null
@@ -1,69 +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>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
-ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0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AUBgNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
-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_apiplatform_bkmarkread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/author-signature.xml
deleted file mode 100755 (executable)
index 605fa9c..0000000
+++ /dev/null
@@ -1,66 +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="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
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BaMFYxGjAYBgNVBAoMEVRpemVu
-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_apiplatform_bkmarkread/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/config.xml
deleted file mode 100755 (executable)
index 8270abc..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index ac7cf20..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 5f16322..0000000
+++ /dev/null
@@ -1,69 +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>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
-oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d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emVuIERpc3RyaWJ1dG9yIFRlc3Qg
-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_apiplatform_bkmarkwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/author-signature.xml
deleted file mode 100755 (executable)
index 274d915..0000000
+++ /dev/null
@@ -1,66 +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="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
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlv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AYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
-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_apiplatform_bkmarkwrite/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/config.xml
deleted file mode 100755 (executable)
index c08397c..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_bkmarkwrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index b736982..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 6186464..0000000
+++ /dev/null
@@ -1,69 +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>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
-oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMB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GVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
-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_apiplatform_pkgmgrinstall/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/author-signature.xml
deleted file mode 100755 (executable)
index fe6113c..0000000
+++ /dev/null
@@ -1,66 +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="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
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY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W9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
-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_apiplatform_pkgmgrinstall/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/config.xml
deleted file mode 100755 (executable)
index 28cfa7c..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apiplatform_pkgmgrinstall/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 43a09c4..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index b3f1f8b..0000000
+++ /dev/null
@@ -1,69 +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>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
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiM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Vy
-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_appinfo/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/author-signature.xml
deleted file mode 100755 (executable)
index 1efdf8f..0000000
+++ /dev/null
@@ -1,66 +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="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
-VUIGu1pkNMR2JElFLuG7Mwgpf0E1SiP6cHriP8IWARWQT6MlMCI1sR3hFDm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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/wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/config.xml
deleted file mode 100755 (executable)
index 5bbb948..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_appinfo/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index e9ae9a9..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 3a25e32..0000000
+++ /dev/null
@@ -1,69 +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>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
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFyd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-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_applaunch/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/author-signature.xml
deleted file mode 100755 (executable)
index dd86925..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClTCCA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sig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index 93ee919..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_applaunch/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 001865f..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 4d13308..0000000
+++ /dev/null
@@ -1,69 +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>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
-ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3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BwwFU3V3b24x
-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_btadmin/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/author-signature.xml
deleted file mode 100755 (executable)
index d9f8c0a..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRp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GjAYBgNVBAoMEVRpemVu
-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_btadmin/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/config.xml
deleted file mode 100755 (executable)
index 3f9469d..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btadmin/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 0010bca..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 3f8d3cb..0000000
+++ /dev/null
@@ -1,69 +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>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
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW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yMTIx
-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_bthealth/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/author-signature.xml
deleted file mode 100755 (executable)
index a47ed8c..0000000
+++ /dev/null
@@ -1,66 +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="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>
-<X509Cert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sig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index 4ae0ad3..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_bthealth/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 42246b0..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 050dcc4..0000000
+++ /dev/null
@@ -1,69 +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>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
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW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yMTIx
-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_btspp/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/author-signature.xml
deleted file mode 100755 (executable)
index dc470b3..0000000
+++ /dev/null
@@ -1,66 +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="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>
-<X509Certific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ig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index 1ab19aa..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_btspp/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 37330e4..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 35b336a..0000000
+++ /dev/null
@@ -1,69 +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>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/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJ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rohjoMFkB09M+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
deleted file mode 100755 (executable)
index f61a8dd..0000000
+++ /dev/null
@@ -1,66 +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="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
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
-uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
-ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
-AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn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axb3jcCAwEAAaMQMA4wDAYDVR0TBAUwAwEB/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_calendarread/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/config.xml
deleted file mode 100755 (executable)
index 17b98dd..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 4611a54..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index dcb0360..0000000
+++ /dev/null
@@ -1,69 +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>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>
-Ku2GhyeYW1Bl3O204WzpeghaGvpm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rD069IzpE8NM
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp: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
deleted file mode 100755 (executable)
index ef50c05..0000000
+++ /dev/null
@@ -1,66 +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="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/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
-ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
-AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
-2t0elRRZCMCpZVHO1i6bhuj2x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nOXXQ/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_calendarwrite/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/config.xml
deleted file mode 100755 (executable)
index e532f66..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_calendarwrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index d2920fc..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 8bec325..0000000
+++ /dev/null
@@ -1,69 +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>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
-oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
-VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
-AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2lnbmVyMIGfMA0GCSqG
-SIb3DQEBAQUAA4GNADCBiQKBgQC2O0i2ou9Pa8KI+RVu6/1QAMichy8Y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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_contactread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/author-signature.xml
deleted file mode 100755 (executable)
index da1dd8d..0000000
+++ /dev/null
@@ -1,66 +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="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
-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p7MqzvQg3pXOxtajj
-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_contactread/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/config.xml
deleted file mode 100755 (executable)
index 25781f6..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 289b44d..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 6fdcd78..0000000
+++ /dev/null
@@ -1,69 +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>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/2s2iiySPXw=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
-ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
-oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
-VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
-AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2lnbmVyMIGfMA0GCSqG
-SIb3DQEBAQUAA4GNADCBiQKB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9OwyQsZS+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_contactwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/author-signature.xml
deleted file mode 100755 (executable)
index a23398e..0000000
+++ /dev/null
@@ -1,66 +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="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/h4Nj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bTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
-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_contactwrite/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/config.xml
deleted file mode 100755 (executable)
index 9c6a427..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contactwrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 32e3ec1..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 83f0ad6..0000000
+++ /dev/null
@@ -1,69 +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>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
-VGl6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AMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
-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_contentread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/author-signature.xml
deleted file mode 100755 (executable)
index fe72b87..0000000
+++ /dev/null
@@ -1,66 +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="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
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAw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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/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/config.xml
deleted file mode 100755 (executable)
index 243e996..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 62f9a51..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 478f874..0000000
+++ /dev/null
@@ -1,69 +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>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
-oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgw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AwBgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
-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_contentwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/author-signature.xml
deleted file mode 100755 (executable)
index 1e3d56d..0000000
+++ /dev/null
@@ -1,66 +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="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
-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/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/config.xml
deleted file mode 100755 (executable)
index d39a497..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_contentwrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index e0f5067..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index e54a03a..0000000
+++ /dev/null
@@ -1,69 +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>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
-ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExM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-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_datactrlcum/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/author-signature.xml
deleted file mode 100755 (executable)
index 307e669..0000000
+++ /dev/null
@@ -1,66 +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="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
-c29jaWF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jAYBgNVBAoMEVRpemVu
-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_datactrlcum/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/config.xml
deleted file mode 100755 (executable)
index 7ef041b..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datactrlcum/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 7920dca..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 3c5ee3f..0000000
+++ /dev/null
@@ -1,69 +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>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
-ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI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gNVBAoMDVRpemVuIFRlc3QgQ0ExIjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
-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_datasync/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/author-signature.xml
deleted file mode 100755 (executable)
index 62d983e..0000000
+++ /dev/null
@@ -1,66 +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="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
-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/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/config.xml
deleted file mode 100755 (executable)
index ae2b7db..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_datasync/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index db5229a..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 8779ef3..0000000
+++ /dev/null
@@ -1,69 +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>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
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gU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Ix
-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_download/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/author-signature.xml
deleted file mode 100755 (executable)
index ff40614..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClTCCAX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ig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index 8acf64e..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_download/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 2291ca0..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 2465d55..0000000
+++ /dev/null
@@ -1,69 +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>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
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
-ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
-oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
-VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
-AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2lnbmVyMIGfMA0GCSqG
-SIb3DQEBAQUAA4GNADCBiQKBgQC2O0i2ou9Pa8KI+RVu6/1QAMichy8YqDtpM4cogiX+tYfafN/v
-4l7q9sQdotaFPLWPR1HNtG6O6SKWZmM/Hp2U+S3vDeylEhex/IopWF9RZMPJFyKr9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0GCSqGSIb3DQEBBQUAA4GBAA9lsDyArDR9balTfqrjN241nVqyLqPOP+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
deleted file mode 100755 (executable)
index a8cba82..0000000
+++ /dev/null
@@ -1,66 +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="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
-DAYDVR0TA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zbm5ggFt/
-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_fsread/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/config.xml
deleted file mode 100755 (executable)
index 323e22d..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fsread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 6613e8a..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 7a745a7..0000000
+++ /dev/null
@@ -1,69 +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>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/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R9balTfqrjN241nVqyLqPOP+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
deleted file mode 100755 (executable)
index bd0090c..0000000
+++ /dev/null
@@ -1,66 +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="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/BAIwADALBgNVHQ8EBAMCB4Aw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7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
-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_fswrite/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/config.xml
deleted file mode 100755 (executable)
index 761d58e..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_fswrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index ae1bc43..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 691c75d..0000000
+++ /dev/null
@@ -1,69 +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>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/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balTfqrjN241nVqyLqPOP+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
deleted file mode 100755 (executable)
index 5584d1c..0000000
+++ /dev/null
@@ -1,66 +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="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+1gRJSL36Fij
-r2N5dJ0u9w/ip5a7Kp4=
-</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/signplatform_apipublic_msgread/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/config.xml
deleted file mode 100755 (executable)
index 12e3c2b..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 4cf646f..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index f17320d..0000000
+++ /dev/null
@@ -1,69 +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>+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
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
-ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
-oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
-VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
-AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2lnbmVyMIGfMA0GCSqG
-SIb3DQEBAQUAA4GNADCBiQKBgQC2O0i2ou9Pa8KI+RVu6/1QAMichy8YqDtpM4cogiX+tYfafN/v
-4l7q9sQdotaFPLWPR1HNtG6O6SKWZmM/Hp2U+S3vDeylEhex/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VHRME
-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
deleted file mode 100755 (executable)
index 6f34457..0000000
+++ /dev/null
@@ -1,66 +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="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
-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/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/config.xml
deleted file mode 100755 (executable)
index 4b8c87a..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_msgwrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index dbdf285..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 593af35..0000000
+++ /dev/null
@@ -1,69 +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>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
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
-ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
-oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
-VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
-AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2lnbmVyMIGfMA0GCSqG
-SIb3DQEBAQUAA4GNADCBiQKBgQC2O0i2ou9Pa8KI+RVu6/1QAMichy8YqDtpM4cogiX+tYfafN/v
-4l7q9sQdotaFPLWPR1HN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ZoqG26qbG5pQIDAQABoxAwDjAMBgNVHRME
-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_nfcadmin/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/author-signature.xml
deleted file mode 100755 (executable)
index e062c08..0000000
+++ /dev/null
@@ -1,66 +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="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+/uZ6Io0dUU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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/signplatform_apipublic_nfcadmin/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/config.xml
deleted file mode 100755 (executable)
index b90d8d5..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcadmin/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index d66f4f9..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 050e7e6..0000000
+++ /dev/null
@@ -1,69 +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>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
-oTELMAkGA1UEBhMCS1IxDjAM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gBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
-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_nfccommon/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/author-signature.xml
deleted file mode 100755 (executable)
index f69d3a0..0000000
+++ /dev/null
@@ -1,66 +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="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
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiB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YDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
-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_nfccommon/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/config.xml
deleted file mode 100755 (executable)
index fd072a8..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfccommon/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index a8a582e..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 0b572cb..0000000
+++ /dev/null
@@ -1,69 +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>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"></DigestMethod>
-<DigestValue>u/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-N00b7jQiZMUYMx5BWMY8GkcJjTpU9YXutI/z2L6gqK7rJMcKuC6znI9oUGyAwHj7vVnEMbX3yrrN
-PvZm7g2gxjHLtnzTntwL0iWtI5kpf6mX2/868t3Z1s5BbfPMigFEBkiCppZmQ+oHE2ad92hxVyb4
-pijb88hBScWk+Ko+pC0=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
-ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
-oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
-VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
-A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BAQUAA4GNADCBiQKBgQDMni4Qmv96ww/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_nfcp2p/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/author-signature.xml
deleted file mode 100755 (executable)
index 8a2ef74..0000000
+++ /dev/null
@@ -1,66 +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="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
-dGhvcjCBnzANBgkqhkiG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6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+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_nfcp2p/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/config.xml
deleted file mode 100755 (executable)
index 0fca5c8..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfcp2p/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 2b9f96c..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 7920483..0000000
+++ /dev/null
@@ -1,69 +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>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
-oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbj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Qg
-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_nfctag/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/author-signature.xml
deleted file mode 100755 (executable)
index 852c243..0000000
+++ /dev/null
@@ -1,66 +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="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
-ZWx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6ZW4g
-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_nfctag/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/config.xml
deleted file mode 100755 (executable)
index 1947e24..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_nfctag/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 3a0a9e5..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 8bbc288..0000000
+++ /dev/null
@@ -1,69 +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>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
-oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYD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WJ1dG9yIFRlc3Qg
-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_notification/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/author-signature.xml
deleted file mode 100755 (executable)
index 21bfab5..0000000
+++ /dev/null
@@ -1,66 +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="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
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gR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dGlvbjEcMBoGA1UEAwwTVGl6ZW4g
-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_notification/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/config.xml
deleted file mode 100755 (executable)
index 711e3d1..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_notification/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 6708e2e..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 23dcb4f..0000000
+++ /dev/null
@@ -1,69 +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>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+a9EzW3zU3vxoa0rnZUGZ3uqGGB9cbbFZzE4+nD253sawfCQnexc05lUuoIZ
-+HPwkpXAfd5rXdxH1r8=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
-ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
-oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
-VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
-AwwtVGl6ZW4gUGFydG5lci1N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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/wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/author-signature.xml
deleted file mode 100755 (executable)
index 97bd5c2..0000000
+++ /dev/null
@@ -1,66 +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="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
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQA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HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+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_pkginfo/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/config.xml
deleted file mode 100755 (executable)
index d770b2a..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_pkginfo/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 2b87174..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 07adc43..0000000
+++ /dev/null
@@ -1,69 +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>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
-V982TDP8d8lcO3EZZ4GvXaqKMU0UgfZ5IoZPrqNHaiR8MtZbYqkB0sIhf2DwAgstijcC4N110aF/
-Q/2Q6xECGkSwAI+14E8=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
-ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
-oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
-VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJp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J1dG9yIENBMIGf
-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_power/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/author-signature.xml
deleted file mode 100755 (executable)
index b5e4780..0000000
+++ /dev/null
@@ -1,66 +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="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
-dGh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ggEBANVGhRGmMIUyBA7o
-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_power/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/config.xml
deleted file mode 100755 (executable)
index 9afeed1..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_power/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index f21545d..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index f1e5fcf..0000000
+++ /dev/null
@@ -1,69 +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>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>
-MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
-ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
-oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
-VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
-AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2lnbmVyMIGfMA0GCSqG
-SIb3DQEBAQUAA4GNADCBiQKBgQC2O0i2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+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_push/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/author-signature.xml
deleted file mode 100755 (executable)
index 67c6d49..0000000
+++ /dev/null
@@ -1,66 +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="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/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqA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7MqzvQg3pXOxtajj
-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_push/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/config.xml
deleted file mode 100755 (executable)
index 03a6a5e..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_push/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index c5a04a0..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 9b67118..0000000
+++ /dev/null
@@ -1,69 +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>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
-8AjJSyOTHMnN8xcx3cg=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
-ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
-oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
-VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
-AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJpYnV0b3IgU2lnbmVyMIGfMA0GCSqG
-SIb3DQEBAQUAA4GNADCBiQKBgQC2O0i2ou9Pa8KI+RVu6/1QAMichy8YqDtpM4cogiX+tYfafN/v
-4l7q9sQdotaFPLWPR1HNtG6O6SKWZmM/Hp2U+S3vDeyl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MBgNVHRME
-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
deleted file mode 100755 (executable)
index 2744fce..0000000
+++ /dev/null
@@ -1,66 +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="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>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K8=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-hce1J4s5oNpm+NXaDWmQ+P5NCPqpbB6vrqvWvsu3As3snLxhwKth7CFPHg5etuzNA2R8BN3GbNp/
-jR9te1tMeWbG5aBu0RlTb999n8fl9oAjxQUIC7KsA/UeQUfVJHGn+Nk4/ohALq5xkBzr3LoZV/AS
-1fu8uHRVKg5qil8R1Og=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
-ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
-ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw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rbk02zbm5ggFt/
-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_secele/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/config.xml
deleted file mode 100755 (executable)
index fbe59bb..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?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
deleted file mode 100755 (executable)
index e69de29..0000000
diff --git a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/index.html b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_secele/index.html
deleted file mode 100755 (executable)
index 7e44de0..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<!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
deleted file mode 100755 (executable)
index 39efd1f..0000000
+++ /dev/null
@@ -1,69 +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>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>
-<DigestVal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WrIlI
-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
deleted file mode 100755 (executable)
index a3cc8f7..0000000
+++ /dev/null
@@ -1,66 +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="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+uI3dAfK3hG7UfDiJ8=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
-uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
-ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJ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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_setting/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/config.xml
deleted file mode 100755 (executable)
index 9b02f01..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_setting/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 1d9cd75..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index e76b051..0000000
+++ /dev/null
@@ -1,69 +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>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/4ZCuhEb85DWHfru4gzT9TCtK4Lk50NXdwDGwPn7h5pu+oI1b0onHzJpZlb4Fn
-ozGGZplJMXjabu1kSXULjbcyKHUnyoQbn7bG2kG0tZih+5B4UV+Ft0yCQDeJtRfBRc8stOxZ34sN
-7nH+vGzEsZ4gDx/2LMI=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
-ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
-oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
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BgNVBAMMKVRpemVuIFBhcnRuZXItTWFudWZhY3R1cmVyIERpc3RyaWJ1dG9yIENBMIGf
-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_sound/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/author-signature.xml
deleted file mode 100755 (executable)
index d428367..0000000
+++ /dev/null
@@ -1,66 +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="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
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAw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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/wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/config.xml
deleted file mode 100755 (executable)
index 3a2275a..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_sound/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 683bf95..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index aae727f..0000000
+++ /dev/null
@@ -1,69 +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>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/g9ZkH
-ZrPECJZH7eAvKuuOhac=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICtzCCAiACCQCX7BAlwjllkTANBgkqhkiG9w0BAQUFADCBnTELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEyMDAGA1UEAwwpVGl6ZW4gUGFydG5lci1NYW51
-ZmFjdHVyZXIgRGlzdHJpYnV0b3IgQ0EwHhcNMTIxMjEzMDU0NDI3WhcNMjIxMjExMDU0NDI3WjCB
-oTELMAkGA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwN
-VGl6ZW4gVGVzdCBDQTEiMCAGA1UECwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTE2MDQGA1UE
-AwwtVGl6ZW4gUGFydG5lci1NYW51ZmFjdHVyZXIgRGlzdHJ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FTTuvcmayD
-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_system/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/author-signature.xml
deleted file mode 100755 (executable)
index 3c3fc99..0000000
+++ /dev/null
@@ -1,66 +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="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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hE5GoPld0fq+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_system/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/config.xml
deleted file mode 100755 (executable)
index 070d086..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_system/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index bb85dfc..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index c7959fd..0000000
+++ /dev/null
@@ -1,69 +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>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
-oTELMAkGA1UEBhMCS1IxDjAMBgNVBA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AsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3Qg
-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_telephony/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/author-signature.xml
deleted file mode 100755 (executable)
index 921d060..0000000
+++ /dev/null
@@ -1,66 +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="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
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvb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iBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
-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_telephony/config.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/config.xml
deleted file mode 100755 (executable)
index 64bec11..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_telephony/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 2b0327f..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 48ddaf9..0000000
+++ /dev/null
@@ -1,69 +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>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
-CwwZVGl6ZW4gRGlzdHJ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lidXRvciBSb290IENBMB4XDTEyMTIxMzA1NDQyMFoXDTIyMTIx
-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_websetting/author-signature.xml b/wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/author-signature.xml
deleted file mode 100755 (executable)
index 7e11b52..0000000
+++ /dev/null
@@ -1,66 +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="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>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Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index f506ba1..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signplatform_apipublic_websetting/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index be8befd..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 68ebb40..0000000
+++ /dev/null
@@ -1,69 +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>+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
-ZmFjdHVyZXIgRGlzdHJpY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Q4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24x
-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/signpublic_apipartner_appmgrcert/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/author-signature.xml
deleted file mode 100755 (executable)
index 85686bf..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClTCCAX2gAwIBAgIGAUt84CSwMA0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m9vdDAeFw0xMjAxMDEwMDAwMDBaFw0yNzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
-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_apipartner_appmgrcert/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/config.xml
deleted file mode 100755 (executable)
index aae94b5..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrcert/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 1d337b5..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 4793cb2..0000000
+++ /dev/null
@@ -1,68 +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>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
-aWJ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Q4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
-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_apipartner_appmgrkill/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/author-signature.xml
deleted file mode 100755 (executable)
index 85bbf4a..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgN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w0yNzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
-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_apipartner_appmgrkill/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/config.xml
deleted file mode 100755 (executable)
index 12f03a1..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipartner_appmgrkill/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 21adffe..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index c1bce4f..0000000
+++ /dev/null
@@ -1,68 +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>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
-Cww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MDI5MTMwMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
-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_apiplatform_pkgmgrinstall/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/author-signature.xml
deleted file mode 100755 (executable)
index 42e9ac0..0000000
+++ /dev/null
@@ -1,66 +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="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>
-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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/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/config.xml
deleted file mode 100755 (executable)
index 7916dfc..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index bd1e55d..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index d99932d..0000000
+++ /dev/null
@@ -1,68 +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>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>
-MIICmzCCAgQC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VQQKDA1UaXplbiBUZXN0IENBMSMw
-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_apiplatform_pkgmgrinstall_apipublic_alarm/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/author-signature.xml
deleted file mode 100755 (executable)
index 10e4d10..0000000
+++ /dev/null
@@ -1,66 +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="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+PpTi5eaE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N8ex/Sgesi0M
-+OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index 4fde163..0000000
+++ /dev/null
@@ -1,10 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apiplatform_pkgmgrinstall_apipublic_alarm/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 111b81f..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 9651698..0000000
+++ /dev/null
@@ -1,68 +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>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
-aXoHLhpboizSGe3gPjGwbAhgEXHyLaGVFCBbP7jrOn1feh0BD76jfJy63+WOBq/y7bTWgGBBj1iR
-8BykrDURtMGJ+tUwp3Y=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
-aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
-MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
-IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
-YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIh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p
-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
deleted file mode 100755 (executable)
index ea9962c..0000000
+++ /dev/null
@@ -1,66 +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="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
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
-uGGcfiyPEYs1QvABo9zoVtX+kJ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x1eDeSYVuOLWRxpAmbTXOsSFi6VoWeyaPEm18JBHvZBsU5YQtgZ6Kp7MqzvQg3pXOxtajj
-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_appinfo/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/config.xml
deleted file mode 100755 (executable)
index 13b4a46..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_appinfo/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 18e07df..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index f9f2398..0000000
+++ /dev/null
@@ -1,68 +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>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+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
-mrBy7mSY7mgwoU4EPpp4CTSUeAu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b3DQEBBQUAA4GBACqJ
-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
deleted file mode 100755 (executable)
index 3c798dd..0000000
+++ /dev/null
@@ -1,66 +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="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
-ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
-DAYDVR0TAQ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bm5ggFt/
-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_applaunch/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/config.xml
deleted file mode 100755 (executable)
index f294968..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_applaunch/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 0fbd812..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index c4c828d..0000000
+++ /dev/null
@@ -1,68 +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>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/jU3U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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_btadmin/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/author-signature.xml
deleted file mode 100755 (executable)
index d4a1977..0000000
+++ /dev/null
@@ -1,66 +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="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=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
-ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
-ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
-AQEFBQADggEBAM8uwdIBy0FULb/8UOnI7wwehQr0Xx+degXU6Nvr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VR0TBAUwAwEB/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_btadmin/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/config.xml
deleted file mode 100755 (executable)
index ece4b2a..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btadmin/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index aad3e7c..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 85be950..0000000
+++ /dev/null
@@ -1,68 +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>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/xml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4i0Lt1SVIJEed+
-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
deleted file mode 100755 (executable)
index 5530fbe..0000000
+++ /dev/null
@@ -1,66 +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="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
-zVqZH3FN/Cu4oHsqu5I=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
-ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
-ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
-AQEFBQADggEBAM8uwdIB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L/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_bthealth/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/config.xml
deleted file mode 100755 (executable)
index 3a0202d..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_bthealth/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 693a062..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 23bb0f3..0000000
+++ /dev/null
@@ -1,68 +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>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/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx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2eYY4ZKIpz73U/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
deleted file mode 100755 (executable)
index b0ab767..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
-ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
-ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
-AQEFBQADggEBAM8uwdIBy0FULb/8UOnI7wwehQr0Xx+degXU6NvrLzXGbh/E5QVQZ9o2ipLRmrvk
-jru8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FAAOC
-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
deleted file mode 100755 (executable)
index b136e9c..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_btspp/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 3bf58f7..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index c1f6c79..0000000
+++ /dev/null
@@ -1,68 +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>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=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-W+8CDN7CLaESpj2xApNoLZttqCKshmYQgvgz/YjfeMGfBoBUarnBytWVSqAN+qAj+ukERVi+Np4f
-gMGRYTdULmxOfo38CbKqPEpfI83vbiExOpgkieRDgGoFYE5SE/oh9PqfeRry5SsdMRzBcECFH67y
-E2B2X/9vMlYNBmYK5pw=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
-aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
-MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoM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UHVibGljIERpc3RyaWJ1dG9yIENBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe
-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_contactread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/author-signature.xml
deleted file mode 100755 (executable)
index 4d1d54b..0000000
+++ /dev/null
@@ -1,66 +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="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
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xO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BDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
-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_contactread/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/config.xml
deleted file mode 100755 (executable)
index de8d82e..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 8ee3580..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index fca214e..0000000
+++ /dev/null
@@ -1,68 +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>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>
-<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_contactwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/author-signature.xml
deleted file mode 100755 (executable)
index e076a44..0000000
+++ /dev/null
@@ -1,66 +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="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
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMB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hvcNAQEBBQADggEPADCCAQoCggEBANVGhRGmMIUyBA7o
-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_contactwrite/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/config.xml
deleted file mode 100755 (executable)
index dc1afff..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contactwrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 1b0cd7e..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 5da6bce..0000000
+++ /dev/null
@@ -1,68 +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>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
-aWJ1dG9yIENBMB4XD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VTdXdvbjEWMBQGA1UECgwNVGl6
-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_contentread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/author-signature.xml
deleted file mode 100755 (executable)
index c1cbb1b..0000000
+++ /dev/null
@@ -1,66 +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="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>
-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/signpublic_apipublic_contentread/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/config.xml
deleted file mode 100755 (executable)
index 942643c..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 50f775e..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 835a22f..0000000
+++ /dev/null
@@ -1,68 +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>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/Vx+COyEVkp+G2vPqm6ONw8/3tTJnGptJd+KnTferBQhJHWK5+jv/G03gym1UowtnghY
-N/bN5KDUZIyKWWAQwss=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
-aWJ1dG9yIENBMB4XDTEyMTAyOTE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MBQGA1UECgwNVGl6
-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_contentwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/author-signature.xml
deleted file mode 100755 (executable)
index 6240095..0000000
+++ /dev/null
@@ -1,66 +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="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
-c29jaWF0aW9uMRowG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oMEVRpemVu
-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_contentwrite/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/config.xml
deleted file mode 100755 (executable)
index 5ff4b0d..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_contentwrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 09d428d..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 716583b..0000000
+++ /dev/null
@@ -1,68 +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>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
-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_datactrlcum/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/author-signature.xml
deleted file mode 100755 (executable)
index 2083ede..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYx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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_datactrlcum/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/config.xml
deleted file mode 100755 (executable)
index 39591e5..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datactrlcum/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 173b4ca..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 5ca1cfc..0000000
+++ /dev/null
@@ -1,68 +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>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+TyRrW+hRGjhOcv+NhFspPR0U4OcpQbXP3d7
-yMDQTB2ITgfST38ODEI=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
-aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIy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l6
-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_datasync/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/author-signature.xml
deleted file mode 100755 (executable)
index 4f5c841..0000000
+++ /dev/null
@@ -1,66 +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="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
-c29jaWF0aW9uMRowGAYDV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RpemVu
-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_datasync/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/config.xml
deleted file mode 100755 (executable)
index f19c163..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_datasync/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index f1013f2..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 27ce177..0000000
+++ /dev/null
@@ -1,68 +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>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
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1U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GA1UEBhMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
-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_download/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/author-signature.xml
deleted file mode 100755 (executable)
index d959ab1..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGS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eFw0xMjAxMDEwMDAwMDBaFw0yNzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
-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_download/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/config.xml
deleted file mode 100755 (executable)
index b104ae0..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_download/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 8158d02..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index f0fa5c2..0000000
+++ /dev/null
@@ -1,68 +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>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/xml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GCI4FK6djhlsI4i0Lt1SVIJEed+
-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
deleted file mode 100755 (executable)
index b0616f9..0000000
+++ /dev/null
@@ -1,66 +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="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
-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/signpublic_apipublic_fsread/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/config.xml
deleted file mode 100755 (executable)
index 4cbdfe5..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fsread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 3606ace..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 90ec829..0000000
+++ /dev/null
@@ -1,68 +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>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=</D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73U/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
deleted file mode 100755 (executable)
index 0590139..0000000
+++ /dev/null
@@ -1,66 +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="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
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
-uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
-ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
-AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
-2t0elRRZCMCpZV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FAAOC
-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
deleted file mode 100755 (executable)
index 02ff685..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_fswrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 15aa746..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 26b1602..0000000
+++ /dev/null
@@ -1,68 +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>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>
-H4tiIWFDFSxmknAKEqoYsMSDZF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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/signpublic_apipublic_msgread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/author-signature.xml
deleted file mode 100755 (executable)
index 7f63d26..0000000
+++ /dev/null
@@ -1,66 +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="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
-uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
-ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
-AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
-2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT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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/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/config.xml
deleted file mode 100755 (executable)
index 99583e7..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index f5982fd..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index b2c315a..0000000
+++ /dev/null
@@ -1,68 +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>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>
-FclLITSgiLf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>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp: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
deleted file mode 100755 (executable)
index 0913c28..0000000
+++ /dev/null
@@ -1,66 +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="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
-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/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/config.xml
deleted file mode 100755 (executable)
index 6eef95d..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_msgwrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index eaf3444..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index b20ae90..0000000
+++ /dev/null
@@ -1,68 +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>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/6t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ate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp: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
deleted file mode 100755 (executable)
index 0152908..0000000
+++ /dev/null
@@ -1,66 +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="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
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
-ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
-ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
-AQEFBQADggEBAM8uwdIBy0FULb/8UOnI7wwehQr0Xx+degXU6NvrLzXGbh/E5QVQZ9o2ipLRmrvk
-jru8JU91gfKpnOntGfetFzc6Tukv66ewhyWyIBwGtEd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Y3xWlJBqJtEqXiT7Y+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
deleted file mode 100755 (executable)
index c8b2493..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcadmin/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 62d7dce..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index ac26c0c..0000000
+++ /dev/null
@@ -1,68 +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>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>
-MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
-aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
-MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
-IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
-YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
-90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5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MDzd2ah
-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
deleted file mode 100755 (executable)
index b426a82..0000000
+++ /dev/null
@@ -1,66 +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="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+6loV
-CeGAL9wIa1x7mv164FR2tCeEZDkLbp+vWGMpEBtLYj1N/0DCEh8Tv3Hwh7+vHHP8ScaWenv1bI9k
-K1/0gxqAkSz7ndKBi+c=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
-ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
-ZSlxa60wc41cOzeeoALy+/uZ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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_nfccommon/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/config.xml
deleted file mode 100755 (executable)
index f48fdf9..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfccommon/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index e2209c6..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 012c56a..0000000
+++ /dev/null
@@ -1,68 +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>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/jU3U4Zm5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xdlkekon7pViEBWuyHw8OWv3RXtTum1+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
deleted file mode 100755 (executable)
index 2d62e9b..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
-ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
-ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
-AQEFBQADggEBAM8uwdIBy0FULb/8UOnI7wwehQr0Xx+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A4wDAYDVR0TBAUwAwEB/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
deleted file mode 100755 (executable)
index d99f170..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfcp2p/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 5e6cbbe..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 822c91c..0000000
+++ /dev/null
@@ -1,68 +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>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://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CRGCI4FK6djhlsI4i0Lt1SVIJEed+
-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
deleted file mode 100755 (executable)
index 0edc753..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3DQEBBQUAMFYxGjAYBgNVBAoMEVRpemVuIEFz
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4gRGV2
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
-ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
-ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
-AQEFBQAD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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/signpublic_apipublic_nfctag/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/config.xml
deleted file mode 100755 (executable)
index ff3e04f..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_nfctag/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 9dc6768..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 4ea52fc..0000000
+++ /dev/null
@@ -1,68 +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>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/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ekon7pViEBWuyHw8OWv3RXtTum1+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
deleted file mode 100755 (executable)
index 54c13d3..0000000
+++ /dev/null
@@ -1,66 +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="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
-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/wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/config.xml
deleted file mode 100755 (executable)
index 0a9b3e9..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_notification/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 2bab89f..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 5746b9f..0000000
+++ /dev/null
@@ -1,68 +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>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/suk5ZsYuCScbDnyDi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CAh2gAwIBAgIJAMDbehElPNKvMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
-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_pkginfo/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/author-signature.xml
deleted file mode 100755 (executable)
index e7b0d8f..0000000
+++ /dev/null
@@ -1,66 +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="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>lpo8tUDs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WlGxvfj3VsxqSFq3p8Brl04
-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
deleted file mode 100755 (executable)
index 5e3b2fa..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_pkginfo/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index d63619a..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index f2a6e3f..0000000
+++ /dev/null
@@ -1,68 +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>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/7en34AL83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AMDbehElPNKvMA0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
-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_power/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/author-signature.xml
deleted file mode 100755 (executable)
index 5952238..0000000
+++ /dev/null
@@ -1,66 +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="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>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtk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3p8Brl04
-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
deleted file mode 100755 (executable)
index 7ab9a74..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_power/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index ecaa340..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index d05576f..0000000
+++ /dev/null
@@ -1,68 +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>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
-BAgMBVN1d29uMQ4w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cGA1UEAwwgVGl6ZW4gUHVibGlj
-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_push/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/author-signature.xml
deleted file mode 100755 (executable)
index 48428cc..0000000
+++ /dev/null
@@ -1,66 +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="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/XI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j8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index f99c4f6..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_push/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index cad177b..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 0b4cca5..0000000
+++ /dev/null
@@ -1,68 +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>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/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-rp5+EVHsihsmigS6pbM+4m9Y6F9oHBi0IWA5BMOwFx3S+CIuqJXj9x2RKQUOwQP2EWbHBIWNPt+j
-L/CmboXgIy9/Zn1LCv/dxPu4pnA3VMPjO1pvRnCv379tqM4PHJINn/mV7AMctm23MaZBTL+n51LU
-aG1o6u7Lvx6rIkQEDgw=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbV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hMCS1IxDjAMBgNVBAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6
-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_secele/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/author-signature.xml
deleted file mode 100755 (executable)
index 6eeceb8..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClTCCAX2gAwIBAgIGAUyhwV2LMA0GCSqGSIb3D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DBaFw0yNzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
-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_secele/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/config.xml
deleted file mode 100755 (executable)
index ba6baf2..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?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
deleted file mode 100755 (executable)
index e69de29..0000000
diff --git a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/index.html b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_secele/index.html
deleted file mode 100755 (executable)
index 429b65a..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<!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
deleted file mode 100755 (executable)
index 6b26ea0..0000000
+++ /dev/null
@@ -1,68 +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>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/c279KxmMghqtDtZ31ajmtvM4MKSePmXYmd3Z7awrM
-kdJAn+bAX/179Bs6cSMptMEb9v0e2J1loXqXZqAeNwlpYdF2NKa+FlxoraKvS6msGKWQiib/YDWK
-jSJa8ryzqkzeZflC8uQ=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6ZW4gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwbVGl6ZW4gUHVibGljIERpc3Ry
-aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
-MQ4wDAYDVQQIDAVTdXdvb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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/wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/author-signature.xml
deleted file mode 100755 (executable)
index 91ddcd0..0000000
+++ /dev/null
@@ -1,66 +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="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
-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/wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/config.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/config.xml
deleted file mode 100755 (executable)
index 395d18f..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_setting/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index c492a98..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 43a9d66..0000000
+++ /dev/null
@@ -1,68 +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>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>
-MIICmzCCAgQCCQDXI7WLdVZwiTANBgkq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IENBMSMw
-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_system/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/author-signature.xml
deleted file mode 100755 (executable)
index d36a0cb..0000000
+++ /dev/null
@@ -1,66 +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="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
-2L2xp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11eyd451ufjW0iHRE7WlpR6EvI
-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index c0e3992..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_system/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index d30bb81..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index af224e2..0000000
+++ /dev/null
@@ -1,68 +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>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+y1Q2nbjg5A4LbDMt50KrFqxTKRjBOE5rSEEfNzS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0GCSqGSIb3DQEBBQUAMIGVMQswCQYDVQQGEwJLUjEO
-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_telephony/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/author-signature.xml
deleted file mode 100755 (executable)
index ff939d7..0000000
+++ /dev/null
@@ -1,66 +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="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>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5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MfTLhbbwSWwApuBUxYfcNpKwLWGPXkysu+HctY03OKv4/xKBnVWiN8ex/Sgesi0M
-+OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index 11e5113..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 1e91d2a..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index ff0282b..0000000
+++ /dev/null
@@ -1,68 +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>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+Ui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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/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
deleted file mode 100755 (executable)
index 9ec655f..0000000
+++ /dev/null
@@ -1,66 +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="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
-ZWxvcGVycyBDQTAeFw0xMjExMDEwMDAwMDBaFw0xOTAxMDEwMDAwMDBaMBExDzANBgNVBAMMBmF1
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApfN+zbqm6bnqwk59+MgFXO+t9dOG62pr
-ORzKjJztb9nQbRHWXbYKOklIVHQDH5n7U/htGwYknlifjXIeAY7E0sXMGxYeZCEu60JuLVJRqAvq
-ZSlxa60wc41cOzeeoALy+/uZ6Io0dUUSxYLYOune6AuqCZ2b7KYKtziqM5U4m1sCAwEAAaMyMDAw
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
-AQEFBQADggEBAM8uwdIBy0FULb/8UOnI7wwehQr0Xx+degXU6NvrLzXGbh/E5QVQZ9o2ipLRmrvk
-jru8JU91gfKpnOntGfetFzc6Tukv66ew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HyrmQDtFziqPY3xWlJBqJtEqXiT7Y+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
deleted file mode 100755 (executable)
index 71f70f9..0000000
+++ /dev/null
@@ -1,10 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apiplatform_pkgmgrinstall/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 199cfc5..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 7205122..0000000
+++ /dev/null
@@ -1,68 +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>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/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ4=</DigestValue>
-</Reference>
-</SignedInfo>
-<SignatureValue>
-W4+NuOob0T3gFk45wTKrMov1VzAeW8ZpQL5nPHa474UHFNYxmHwiS8hTzi08qikGw8O3HENNGq+w
-bGEkzg+zk2D8SNxJ3BohDOplFfxTvPlmL1gjkKwRHzFuH1i1/qgRc6BoOMYBez96Ep2cJYuemJTd
-9GIgfq26SOIADl1FaEY=
-</SignatureValue>
-<KeyInfo>
-<X509Data>
-<X509Certificate>
-MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG9w0BAQUFADCBjzELMAkGA1UEBhMCS1IxDjAMBgNV
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgwNVGl6ZW4gVGVzdCBDQTEiMCAGA1UE
-CwwZVGl6Z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wMjUwWhcNMjIxMDI3MTMwMjUwWjCBjzEL
-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_telephony_apipublic_alarm/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/author-signature.xml
deleted file mode 100755 (executable)
index c3b23b4..0000000
+++ /dev/null
@@ -1,66 +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="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>
-<K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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/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
deleted file mode 100755 (executable)
index a1a7821..0000000
+++ /dev/null
@@ -1,10 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_telephony_apipublic_alarm/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 0c94dc3..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 0deebfe..0000000
+++ /dev/null
@@ -1,68 +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>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
-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/wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/author-signature.xml b/wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/author-signature.xml
deleted file mode 100755 (executable)
index 651336f..0000000
+++ /dev/null
@@ -1,66 +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="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/BAIwADALBgNVHQ8EBAMCB4AwEw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4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
-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
deleted file mode 100755 (executable)
index 6fea76f..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signpublic_apipublic_websetting/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 5fe83e9..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 1c607da..0000000
+++ /dev/null
@@ -1,68 +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>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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4ZKIpz73U/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
deleted file mode 100755 (executable)
index 9675a4d..0000000
+++ /dev/null
@@ -1,66 +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="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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BgkqhkiG9w0BAQUFAAOC
-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
deleted file mode 100755 (executable)
index cde633c..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrcert/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index aa1e45d..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index e638c43..0000000
+++ /dev/null
@@ -1,67 +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>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/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJ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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/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/author-signature.xml
deleted file mode 100755 (executable)
index 4ad7331..0000000
+++ /dev/null
@@ -1,66 +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="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+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qJtEqXiT7Y+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
deleted file mode 100755 (executable)
index 63a3780..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_appmgrkill/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 485c554..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 164f719..0000000
+++ /dev/null
@@ -1,67 +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>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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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/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/author-signature.xml
deleted file mode 100755 (executable)
index 7e065cf..0000000
+++ /dev/null
@@ -1,66 +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="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
-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/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/config.xml
deleted file mode 100755 (executable)
index b72bc46..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipartner_nwbearsel/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 9951b30..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 31e7253..0000000
+++ /dev/null
@@ -1,66 +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>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/jU3U4Zm5ihTMSjKG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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_apiplatform_bkmarkread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/author-signature.xml
deleted file mode 100755 (executable)
index 9e031d3..0000000
+++ /dev/null
@@ -1,66 +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="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#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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/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/config.xml
deleted file mode 100755 (executable)
index ac077fe..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 42cca6b..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 3ecae7d..0000000
+++ /dev/null
@@ -1,66 +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>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/Y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VzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
-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_bkmarkwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/author-signature.xml
deleted file mode 100755 (executable)
index 6afd2d6..0000000
+++ /dev/null
@@ -1,66 +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="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
-fBhJ6uouMOFasNtUz4qd194EIiX1G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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/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/config.xml
deleted file mode 100755 (executable)
index ab2aca3..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_bkmarkwrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 8df480e..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index a6eef6e..0000000
+++ /dev/null
@@ -1,66 +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>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
-BAgMBVN1d29uMQ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DAVTdXdvbjEWMBQGA1UECgwNVGl6
-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
deleted file mode 100755 (executable)
index bdff505..0000000
+++ /dev/null
@@ -1,66 +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="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
-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aMFYxGjAYBgNVBAoMEVRpemVu
-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_apiplatform_btmgr/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/config.xml
deleted file mode 100755 (executable)
index afd5012..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_btmgr/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index fcd6257..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 808c92a..0000000
+++ /dev/null
@@ -1,66 +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>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+MYvsGkz0F9BxY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TEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
-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_pkgmgrinstall/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/author-signature.xml
deleted file mode 100755 (executable)
index 3f6170f..0000000
+++ /dev/null
@@ -1,66 +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="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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FyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index bc68387..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apiplatform_pkgmgrinstall/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 4e8f936..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 772ec04..0000000
+++ /dev/null
@@ -1,67 +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>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+Q3bg5txIZeaJHT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cMBVN1d29uMRYwFAYDVQQKDA1UaXplbiBUZXN0IENBMSMw
-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_alarm/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/author-signature.xml
deleted file mode 100755 (executable)
index a022db8..0000000
+++ /dev/null
@@ -1,66 +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="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+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+OBAOMdZMPK32uJBTeKFx1xZgTLIhk45V0hPOomPjZloiv0LSS11eyd451ufjW0iHRE7WlpR6EvI
-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index 8fd1a68..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_alarm/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 6207e20..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 73041f4..0000000
+++ /dev/null
@@ -1,67 +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>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>
-<X509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gRGlzdHJpYnV0b3IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
-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_appinfo/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/author-signature.xml
deleted file mode 100755 (executable)
index 2efab0d..0000000
+++ /dev/null
@@ -1,66 +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="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
-Xh1D0aQcanACwBl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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/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/config.xml
deleted file mode 100755 (executable)
index 86fc12e..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_appinfo/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 6591f23..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 92b57bc..0000000
+++ /dev/null
@@ -1,67 +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>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
-CwwZVG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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/signuntrusted_apipublic_btadmin/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/author-signature.xml
deleted file mode 100755 (executable)
index 8e58686..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClTCCAX2gAwIBAgIGAUt84CSwMA0GCSqGSIb3DQEBBQUAMFYxGjAY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BaFw0yNzAxMDEwMDAwMDBaMFYxGjAYBgNVBAoMEVRpemVu
-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_btadmin/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/config.xml
deleted file mode 100755 (executable)
index 9075885..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btadmin/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index fd1d752..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 8a56999..0000000
+++ /dev/null
@@ -1,66 +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>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
-MQ4wDAYDV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HJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
-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
deleted file mode 100755 (executable)
index 85ba067..0000000
+++ /dev/null
@@ -1,66 +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="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
-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EcMBoGA1UEAwwTVGl6ZW4g
-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_btgap/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/config.xml
deleted file mode 100755 (executable)
index 455d66c..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btgap/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 8bfc507..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index c4830a8..0000000
+++ /dev/null
@@ -1,66 +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>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+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J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V/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
deleted file mode 100755 (executable)
index 22d3637..0000000
+++ /dev/null
@@ -1,66 +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="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/r04FSWImVBO9bi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C1wgyG3buty7u/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
deleted file mode 100755 (executable)
index e15149c..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_bthealth/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index aea14c9..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 6e47bcb..0000000
+++ /dev/null
@@ -1,66 +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>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
-aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
-MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
-IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
-mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGayaDviyNZB5PdqQdB
-hokKjzAzAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAvGp1gxxAIlFfhJH1efjb9BJK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pViEBWuyHw8OWv3RXtTum1+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
deleted file mode 100755 (executable)
index c4638bf..0000000
+++ /dev/null
@@ -1,66 +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="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/0Np40l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AaMQMA4wDAYDVR0TBAUwAwEB/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
deleted file mode 100755 (executable)
index a38fa01..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_btspp/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 07a8c87..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 50a1175..0000000
+++ /dev/null
@@ -1,66 +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>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
-aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNF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vkDEmsFCJIvRlQ3RKDcxdWJJp625pFqHdmoJBdV+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
deleted file mode 100755 (executable)
index fc602f0..0000000
+++ /dev/null
@@ -1,66 +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="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
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQ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6HNkF4oDIuzuKaMzRYPeWodwe9O0gmqAkToQHfwg2giRhE5GoPld0fq+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_calendarread/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/config.xml
deleted file mode 100755 (executable)
index 78df76d..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 4a58333..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 017396d..0000000
+++ /dev/null
@@ -1,66 +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>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
-mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGaya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dXuxnnD9R6u72ltKk1S4zPfMJJv482CRGCI4FK6djhlsI4i0Lt1SVIJEed+
-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
deleted file mode 100755 (executable)
index 597d483..0000000
+++ /dev/null
@@ -1,66 +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="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/BAIwADALBgNVHQ8EBAMCB4Aw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7J4dSTKhFfrqGM8rdd54LYhD7gSI1CFSe16pUXfcVR7FhJztRaiGLnCrwBE
-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
deleted file mode 100755 (executable)
index dcbc832..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_calendarwrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 9801e32..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 9ff0057..0000000
+++ /dev/null
@@ -1,66 +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>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
-IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDA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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/signuntrusted_apipublic_contactread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/author-signature.xml
deleted file mode 100755 (executable)
index a40614d..0000000
+++ /dev/null
@@ -1,66 +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="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/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_contactread/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/config.xml
deleted file mode 100755 (executable)
index 46f2dff..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index b362a07..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 8734b1f..0000000
+++ /dev/null
@@ -1,66 +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>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
-aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
-MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
-IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
-mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGayaDviyNZB5PdqQdB
-hokKjzAzAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAvG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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/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/author-signature.xml
deleted file mode 100755 (executable)
index db7f005..0000000
+++ /dev/null
@@ -1,66 +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="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
-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/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/config.xml
deleted file mode 100755 (executable)
index 9f33e8e..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contactwrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 259eb8c..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 9e5b0bc..0000000
+++ /dev/null
@@ -1,66 +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>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
-aWJ1dG9yIENBMB4XDTEyMTAyOTEzMDMwNFoXDTIyMTAyNzEzMDMwNFowgZMxCzAJBgNVBAYTAktS
-MQ4wDAYDVQQIDAVTdXdvbjEOMAwGA1UEBwwFU3V3b24xFjAUBgNVBAoMDVRpemVuIFRlc3QgQ0Ex
-IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
-mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGayaDviyNZB5PdqQdB
-hokKjzAzAgMBAAEwDQYJKoZIhvcNAQ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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/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/author-signature.xml
deleted file mode 100755 (executable)
index df21a8a..0000000
+++ /dev/null
@@ -1,66 +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="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
-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_contentread/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/config.xml
deleted file mode 100755 (executable)
index b2cfbc5..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 71bf8dc..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 4b75794..0000000
+++ /dev/null
@@ -1,66 +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>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
-IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
-YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
-90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
-mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGayaDviyNZB5PdqQdB
-vKaYjeIsuEX6TVRUugHWudPzcEuQRLQf8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sp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#DistributorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#DistributorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-distributor"></dsp: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
deleted file mode 100755 (executable)
index 161306c..0000000
+++ /dev/null
@@ -1,66 +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="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/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
-AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3tGNarnmrfgeAIOAg
-2t0elRRZCMCpZVHO1i6bhuj2xEGNz3XEysTuaWTOynokkT5pBzmHfUK2BW+/EEHLRh68DiT5GhKd
-2Nz0HJoK9uqyda7K0ne3VG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H
-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
deleted file mode 100755 (executable)
index 513d91d..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_contentwrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index d255e1f..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 5f72ba7..0000000
+++ /dev/null
@@ -1,66 +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>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>
-<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EBBQUAMIGVMQswCQYDVQQGEwJLUjEO
-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_datactrlcum/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/author-signature.xml
deleted file mode 100755 (executable)
index 7a536d0..0000000
+++ /dev/null
@@ -1,66 +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="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>lpo8tUDs054eLlBQXiDPVDVKfw30ZZdtkRs1jd7H5K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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/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/config.xml
deleted file mode 100755 (executable)
index 9dc9e0a..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_datactrlcum/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 3a3361b..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 8ded9dd..0000000
+++ /dev/null
@@ -1,66 +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>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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pMCcGA1UEAwwgVGl6ZW4gUHVibGlj
-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_download/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/author-signature.xml
deleted file mode 100755 (executable)
index e7abba2..0000000
+++ /dev/null
@@ -1,66 +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="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+zcsTrrkOuILexmyBoTFTHYHhZon2SyKPafuk0JlnIu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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/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/config.xml
deleted file mode 100755 (executable)
index 399bc86..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_download/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 3625b3a..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 90b962e..0000000
+++ /dev/null
@@ -1,66 +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>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
-IjAgBgNVBAsMGVRpemVuIERpc3RyaWJ1dG9yIFRlc3QgQ0ExKDAmBgNVBAMMH1RpemVuIFB1Ymxp
-YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
-90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
-mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGayaDviyNZB5PdqQdB
-hokKjzAzAgMBAAEwDQYJKoZIhvcNAQEFBQADgY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JEed+
-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
deleted file mode 100755 (executable)
index e27a326..0000000
+++ /dev/null
@@ -1,66 +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="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
-dGhvcjCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAgSwnoTIGSjZGDTqsMExz3CxjF0QHFNHC
-uGGcfiyPEYs1QvABo9zoVtX+kJp8jalI3MvAN61j/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
-ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
-AQEFBQADggEBAJVTtT5T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TZ248+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
deleted file mode 100755 (executable)
index 78a4c7c..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fsread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 740fab2..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index b56298f..0000000
+++ /dev/null
@@ -1,66 +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>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/jU3U4Zm5ihTMSjKGlGYbWzDfRkGphPPHx3gJIYEJ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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/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/author-signature.xml
deleted file mode 100755 (executable)
index e304720..0000000
+++ /dev/null
@@ -1,66 +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="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>lpo8tUDs054eLlBQ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fj3VsxqSFq3p8Brl04
-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
deleted file mode 100755 (executable)
index 7cdcade..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_fswrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 06c3caa..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 2835d11..0000000
+++ /dev/null
@@ -1,66 +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>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
-cEmn2wGx0wZ4jCsvWrNWZ84AEOMBV7h4nKeERW3p1J7AvWyAV8dNV8v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IgVGVzdCBDQTEpMCcGA1UEAwwgVGl6ZW4gUHVibGlj
-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_msgread/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/author-signature.xml
deleted file mode 100755 (executable)
index 1ff1833..0000000
+++ /dev/null
@@ -1,66 +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="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+rj2kfge4R8hv891fbe3gsQZoITAkGf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pQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index 1a18a58..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgread/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 67dd5ca..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 3ae34c6..0000000
+++ /dev/null
@@ -1,66 +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>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>
-MIICmzCCAgQCCQDXI7WLdVZwiTANBgkqhkiG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TMwMjUwWjCBjzEL
-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
deleted file mode 100755 (executable)
index 29bd663..0000000
+++ /dev/null
@@ -1,66 +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="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>
-MIIClT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xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index b0191a4..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_msgwrite/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index a7a9987..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 838b3d5..0000000
+++ /dev/null
@@ -1,66 +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>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
-C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gRGlzdHJpYnV0b3IgVGVzdCBDQTEkMCIGA1UEAwwb
-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
deleted file mode 100755 (executable)
index 012d4b0..0000000
+++ /dev/null
@@ -1,66 +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="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
-c29jaWF0aW9uMRowGAYDVQQLDBFUaXplbiBBc3NvY2lhdGlvbjEcMBoGA1UEAwwTVGl6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vY2lhdGlvbjEcMBoGA1UEAwwTVGl6ZW4g
-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_notification/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/config.xml
deleted file mode 100755 (executable)
index 1a8fee9..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_notification/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index a1dd51e..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 178ed55..0000000
+++ /dev/null
@@ -1,66 +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>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
-mrBy7mSY7m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BTADAQH/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
deleted file mode 100755 (executable)
index 9a1f59a..0000000
+++ /dev/null
@@ -1,66 +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="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/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0C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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/signuntrusted_apipublic_pkginfo/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/config.xml
deleted file mode 100755 (executable)
index 75e42d5..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_pkginfo/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 735b7c2..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index db3c7d8..0000000
+++ /dev/null
@@ -1,66 +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>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
-YyBEaXN0cmlidXRvciBTaWduZXIwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBALtMvlc5hENK
-90ZdA+y66+Sy0enD1gpZDBh5T9RP0oRsptJv5jjNTseQbQi0SZOdOXb6J7iQdlBCtR343RpIEz8H
-mrBy7mSY7mgwoU4EPpp4CTSUeAuKcmvrNOngTp5Hv7Ngf02TTHOLK3hZLpGayaDviyNZB5PdqQdB
-hokKjzAzAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAvGp1gxxAIlFfhJH1efjb9BJK/rtRkbYn9+Ez
-G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tTum1+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
deleted file mode 100755 (executable)
index 155e7f5..0000000
+++ /dev/null
@@ -1,66 +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="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/h4NjVQ4ZdkXO5bOBoZdWqOWlEJ8IPXDMTSd
-ejpbU9pvDFeo/TBKZZPFpO/r04FSWImVBO9bi0ltYq4T6U6LuMAJqzm75USYbf0CAwEAAaMyMDAw
-DAYDVR0TAQH/BAIwADALBgNVHQ8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwMwDQYJKoZIhvcN
-AQEFBQADggEBAJVTtT5TilYTyc4H5MrLABUn25Ql/0Np40lvGHJVka1yPIi3t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R0TBAUwAwEB/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
deleted file mode 100755 (executable)
index 7613e72..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_power/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 52d6e6e..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 327a1f4..0000000
+++ /dev/null
@@ -1,66 +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>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
-mo6fqV5udNO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IENBMSMw
-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_push/author-signature.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/author-signature.xml
deleted file mode 100755 (executable)
index f09f932..0000000
+++ /dev/null
@@ -1,66 +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="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/emu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S11eyd451ufjW0iHRE7WlpR6EvI
-W6TFyZgMpQq+kg4hWl2SBTf3s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index cc96d43..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_push/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index ff63cb5..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 96299ff..0000000
+++ /dev/null
@@ -1,66 +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>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
-BAgMBVN1d29uMQ4wDAYDVQQHDAVTdXdvbjEWMBQGA1UECgw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wNVGl6
-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
deleted file mode 100755 (executable)
index 80fccee..0000000
+++ /dev/null
@@ -1,66 +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="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
-c29jaWF0aW9uMRowGAYDV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RpemVu
-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_setting/config.xml b/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/config.xml
deleted file mode 100755 (executable)
index 2e1e572..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_setting/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 75c164e..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 1e8e770..0000000
+++ /dev/null
@@ -1,66 +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>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+KUF7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cGA1UEAwwgVGl6ZW4gUHVibGlj
-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
deleted file mode 100755 (executable)
index b38fca6..0000000
+++ /dev/null
@@ -1,66 +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="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/mSfaxjHlW5XapzMY6Rg4WJ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2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index 4fea0c7..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_system/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index f26063c..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 4abe93f..0000000
+++ /dev/null
@@ -1,66 +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>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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gVGl6ZW4gUHVibGlj
-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
deleted file mode 100755 (executable)
index f410bec..0000000
+++ /dev/null
@@ -1,66 +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="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/IuIAkOijF34fRpWQ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TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index 19d2ba6..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_telephony/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index 5a7b6c0..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index 7a7f046..0000000
+++ /dev/null
@@ -1,66 +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>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
-I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A1UEAwwgVGl6ZW4gUHVibGlj
-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
deleted file mode 100755 (executable)
index 156ec54..0000000
+++ /dev/null
@@ -1,66 +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="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+61Elpj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s2VI8Ygz7gj8TMlClg==
-</X509Certificate>
-</X509Data>
-</KeyInfo>
-<Object Id="prop"><SignatureProperties xmlns:dsp="http://www.w3.org/2009/xmldsig-properties"><SignatureProperty Id="profile" Target="#AuthorSignature"><dsp:Profile URI="http://www.w3.org/ns/widgets-digsig#profile"></dsp:Profile></SignatureProperty><SignatureProperty Id="role" Target="#AuthorSignature"><dsp:Role URI="http://www.w3.org/ns/widgets-digsig#role-author"></dsp: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
deleted file mode 100755 (executable)
index 58795d6..0000000
+++ /dev/null
@@ -1,9 +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/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
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-privilege-wrt-tests/signuntrusted_apipublic_websetting/icon.png and /dev/null 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
deleted file mode 100755 (executable)
index faca152..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-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
deleted file mode 100755 (executable)
index e97dcec..0000000
+++ /dev/null
@@ -1,66 +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>/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
-CwwZVGl6ZW4gRGlzdHJpYnV0b3I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dCBDQTEkMCIGA1UEAwwb
-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
deleted file mode 100755 (executable)
index acb905c..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-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
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/wearable/tct-privilege-wrt-tests/testresult.xsl b/wearable/tct-privilege-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/wearable/tct-privilege-wrt-tests/tests.css b/wearable/tct-privilege-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/wearable/tct-privilege-wrt-tests/tests.full.xml b/wearable/tct-privilege-wrt-tests/tests.full.xml
deleted file mode 100755 (executable)
index fe1d05c..0000000
+++ /dev/null
@@ -1,1854 +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-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
deleted file mode 100755 (executable)
index badaf4c..0000000
+++ /dev/null
@@ -1,719 +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-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>
diff --git a/wearable/tct-ui01-wrt-tests/COPYING b/wearable/tct-ui01-wrt-tests/COPYING
deleted file mode 100755 (executable)
index 68870ce..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-Copyright (c) 2012 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.
-
diff --git a/wearable/tct-ui01-wrt-tests/Makefile.am b/wearable/tct-ui01-wrt-tests/Makefile.am
deleted file mode 100755 (executable)
index 715e021..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-##
-# Copyright (c) 2012 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:
-#               Fan, Yugang <yugang.fan@intel.com>
-#
-docdir = $(prefix)/opt/tct-ui01-wrt-tests
-dist_doc_DATA = README *.wgt COPYING tests.xml tests.full.xml
diff --git a/wearable/tct-ui01-wrt-tests/README b/wearable/tct-ui01-wrt-tests/README
deleted file mode 100755 (executable)
index 4418666..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-----------------------------------------------
-License
-----------------------------------------------
-Copyright (c) 2012 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:
-        Hao, Yunfei <yunfenx.hao@intel.com>
-
-
-----------------------------------------------
-Introduction
-----------------------------------------------
-This test suite is forWeb Application Runtime Ui module testing.
-
-
-----------------------------------------------
-Test Environment
-----------------------------------------------
-Run the cases as "root" user.
-
-
-----------------------------------------------
-
-Installation
-----------------------------------------------
-./autogen
-./configure prefix=/usr
-make && make install
-
-
-----------------------------------------------
-Build and Run
-----------------------------------------------
-(Suppose you only get the source code which has been set up on your test device.
-If you have obtained tct-ui01-wrt-tests RPM packages, you can go directly to step 3 on the test device)
-
-Steps:
-    1. Prepare for building:
-       cd tct-ui01-wrt-tests
-    2. Build RPM packages:
-       ./pack.sh -t all
-    3. Install RPM on the test device:
-       rpm -ivh tct-ui01-wrt-tests-<version>-<release>.<arch>.rpm
-    4. Prepare to install widget application on the device:
-       cd /opt/tct-ui01-wrt-tests/
-    5. Install WGT on the test device:
-       pkgcmd -i -t wgt -q -p **.wgt
-    6. Check the widget info when the widget has been installed:
-       wrt-launcher -l
-    7. Launch the widget:
-       wrt-launcher -s <Application id>
-    8. Uninstall WGT from the test device:
-       pkgcmd -u -q -t wgt -n <application id>
-
-
-----------------------------------------------
-Known Issues
-----------------------------------------------
-    1. Chromium browser does not support the widget framework.
-    2. The icons which are used in the test cases are contained in the associatedd widget package.
-
-Note: If there is any defects in this test suite, please do not hesitate to contact us by the email jianhuix.a.yue@intel.com
-
-
-----------------------------------------------
-Todo
-----------------------------------------------
-
-
diff --git a/wearable/tct-ui01-wrt-tests/autogen b/wearable/tct-ui01-wrt-tests/autogen
deleted file mode 100755 (executable)
index 814a7a6..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-##
-# Copyright (c) 2012 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:
-#               Fan, Yugang <yugang.fan@intel.com>
-#
-
-autoreconf --install
diff --git a/wearable/tct-ui01-wrt-tests/configure.ac b/wearable/tct-ui01-wrt-tests/configure.ac
deleted file mode 100755 (executable)
index 775562a..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-##
-# Copyright (c) 2012 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:
-#               Hao, Yunfei <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.
-#AC_PROG_CC
-
-AC_CONFIG_FILES([\
-Makefile \
-])
-AC_OUTPUT
diff --git a/wearable/tct-ui01-wrt-tests/inst.sh.wgt b/wearable/tct-ui01-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/wearable/tct-ui01-wrt-tests/multiple-other-alarm/config.xml b/wearable/tct-ui01-wrt-tests/multiple-other-alarm/config.xml
deleted file mode 100755 (executable)
index d253e4c..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?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">
-  <access origin="*"/>
-  <icon src="icon.png" height="117" width="117"/>
-  <content src="index.html"/>
-  <name>multiple-other-alarm</name>
-  <tizen:application id="wrt4moa040.multipleotheralarm" package="wrt4moa040" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/alarm"/>
-</widget>
\ No newline at end of file
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-alarm/icon.png b/wearable/tct-ui01-wrt-tests/multiple-other-alarm/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-ui01-wrt-tests/multiple-other-alarm/icon.png and /dev/null differ
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-alarm/index.html b/wearable/tct-ui01-wrt-tests/multiple-other-alarm/index.html
deleted file mode 100755 (executable)
index e69f7c7..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Hao, Yunfei <yunfenx.hao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-alarm</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check if WRT supports new top-level browsing context created from widget context have access to Alarm feature."/>
-    <meta charset="utf-8">
-    <script type="text/javascript">
-        function Run() {
-            try{
-                window.open("testkit_index.html");
-            }catch(e){
-                document.write("catch--Fail");
-            }
-        }
-    </script>
-  </head>
-  <body bgcolor="FFFFFF"  onload="Run()">
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-alarm/jquery-1.10.2.min.js b/wearable/tct-ui01-wrt-tests/multiple-other-alarm/jquery-1.10.2.min.js
deleted file mode 100755 (executable)
index da41706..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/*! 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/wearable/tct-ui01-wrt-tests/multiple-other-alarm/multiple-other-alarm-test.html b/wearable/tct-ui01-wrt-tests/multiple-other-alarm/multiple-other-alarm-test.html
deleted file mode 100755 (executable)
index 07a27a4..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Hao, Yunfei <yunfenx.hao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-alarm-test</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Test file."/>
-    <meta charset="utf-8">
-    <script src="resources/testharness.js"></script>
-    <script src="resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <div id="log"></div>
-    <script type="text/javascript">
-        test(function() {
-            assert_true("alarm" in tizen);
-        }, "WRT Test: multiple-other-alarm-test");
-    </script>
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-alarm/resources/testharness.css b/wearable/tct-ui01-wrt-tests/multiple-other-alarm/resources/testharness.css
deleted file mode 100755 (executable)
index 365084f..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-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/wearable/tct-ui01-wrt-tests/multiple-other-alarm/resources/testharness.js b/wearable/tct-ui01-wrt-tests/multiple-other-alarm/resources/testharness.js
deleted file mode 100755 (executable)
index 69acd7f..0000000
+++ /dev/null
@@ -1,2237 +0,0 @@
-/*
-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:5000,
-      test_timeout:2000
-    };
-
-    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/wearable/tct-ui01-wrt-tests/multiple-other-alarm/resources/testharnessreport.js b/wearable/tct-ui01-wrt-tests/multiple-other-alarm/resources/testharnessreport.js
deleted file mode 100755 (executable)
index fa73347..0000000
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * 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/wearable/tct-ui01-wrt-tests/multiple-other-alarm/testkit_index.html b/wearable/tct-ui01-wrt-tests/multiple-other-alarm/testkit_index.html
deleted file mode 100755 (executable)
index b1a211b..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<!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">
-div#navbar,#footbar{
-       box-sizing: border-box;
-       width: 99%;
-       border: 0px;
-       text-align: left;
-       background: teal;
-       color: white;
-}
-
-textarea#testinfo{
-       width: 99%;
-       font-size: 14px;
-}
-
-input,label,select{
-       font-size: 14px;
-}
-
-span.short{
-       padding-left: 10px;
-}
-
-span.long{
-       padding-left: 60px;
-}
-</style>
-</head>
-
-<body>
-<div id="navbar">
-       <span class="short"><input type="button" style="width:8%" id="btnPrev" value="< Prev"/></span>
-       <select id="selTestlist" style="width:60%"> </select>
-       <input type="button" style="width:8%" id="btnNext" value="Next >"/>
-       <input type="checkbox" name="manualonly" id="chkManualonly"/><label for="chkManualonly">Manual-Only</label>
-</div>
-<div width="99%">
-       <textarea id="testinfo" rows=8 disabled>
-       </textarea>
-</div>
-<div id="footbar">
-       <span class="short"><input type="button" style="width:8%" id="btnDone" value="Done"/></span>
-       <span class="short"><input type="radio" name="result" id="radPass" value="PASS"/><label for="radPass">Pass</label></span>
-       <span class="short"><input type="radio" name="result" id="radFail" value="FAIL"/><label for="radFail">Fail</label></span>
-       <span class="long"><input type="button" style="width:8%" id="btnRun" value="Run"/></span>
-       <input type="checkbox" name="batch" id="chkBatch"/><label for="chkBatch">Batch</label>
-</div>
-<iframe frameborder="1" width="100%" id="frmTest" allowFullScreen="true" mozAllowFullScreen="true" webkitAllowFullscreen="true" src="">
-</iframe>
-<script src="testrunner.js"> </script>
-</body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-alarm/testrunner.js b/wearable/tct-ui01-wrt-tests/multiple-other-alarm/testrunner.js
deleted file mode 100755 (executable)
index 020c464..0000000
+++ /dev/null
@@ -1,688 +0,0 @@
-/*
-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.submitResult = null;
-               this.ui = 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
-               };
-               return { 
-                       constructor: TestRunner,
-                       getTestContext: function (field) {
-                               return testContext[field];
-                       },
-
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
-                       goNext: function () {
-                               index++;
-                       },
-
-                       getTestIndex: function () {
-                               return index;
-                       },
-
-                       setTestIndex: function (ind) {
-                               index = ind;
-                       },
-
-                       getTest: function (ind) {
-                               if (typeof ind === "undefined")
-                                       ind = index;
-                               return Tests[ind];
-                       },
-
-                       addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
-                       },
-
-                       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) {
-                               if (oldRes !== null)
-                                       sum[oldRes]--;
-                               if (newRes !== null)
-                                       sum[newRes]++;
-                       },
-
-                       checkResult: function () {
-                               var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
-                               // 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) {
-                                               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');
-                                       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 () {
-                               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.pre_condition)
-                                       info += "\nPrecondition: " + tc.pre_condition;
-                               if (tc.steps)
-                                       info += "\n" + tc.steps;
-                               return info;
-                       },
-
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
-                               function getUriField(uri, param) {
-                                       var querys = uri.split("?")
-                                       if (querys.length <= 1)
-                                               return "";
-                                       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();
-                               var delay = tc.onload_delay;
-                               if (delay)
-                                       testContext.onload_delay = parseInt(delay) * 1000;
-                               else
-                                       testContext.onload_delay = 5000;
-
-                               var uri = tc.test_script_entry;
-                               var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
-                                       testContext.sub_index = parseInt(val);
-                                       testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
-                                               return "";
-                                       }
-                               } else {
-                                       testContext.uri = uri;
-                                       testContext.sub_index = 0;
-                               }
-                               testContext.prev_uri = testContext.uri;
-                               testContext.start_time = new Date();
-                               return testContext.uri;
-                       },
-
-                       load_ready: function () {
-                               if (!autoflag)
-                                       return;
-                               if (!this.checkResult()){
-                                       if (testContext.onload_delay > 0){
-                                               var tval = 500;
-                                               var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
-                                               testContext.onload_delay -= tval;
-                                               return
-                                       }
-                                       this.report("BLOCK", "Timeout");
-                               }
-                               this.doTest();
-                       },
-
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
-                       },
-
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
-                       },
-
-                       TestCase: function() {
-                               return {
-                                       id: null,
-                                       test_script_entry: null,
-                                       execution_type: "manual",
-                                       result: "NOTRUN",
-                                       purpose: "",
-                                       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) {
-                       $(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(',');
-                                       }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
-               }
-
-               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");
-       };
-
-       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());
-                       return;
-               }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
-       };
-
-       master_runner.report = function (result, log) {
-               var tc = this.getTest();
-               var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
-               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);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       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);
-       };
-
-       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);
-               self.ui.updateTestInfo("Connecting server...");
-               var f = function () {
-                       var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
-                       self.doTest();
-               };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
-               return true;
-       };
-
-       slave_runner.doTest = function () {
-               var self = this;
-               if (self.internal.stage > 0) {
-                       self.setAutomode(false);
-                       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.purpose = task.purpose;
-                               test.pre_condition = task.pre_condition;
-                               self.cleanTests();
-                               self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
-                               return;
-                       } else {  //handle manual test
-                               self.setAutomode(false);
-                               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";
-                                               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.updateList();
-                                       self.sumInit();
-                               } 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;
-                       this.ui.updateResult(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);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       slave_runner.submitResult = function () {
-               $.get(SERVER + "/generate_xml");
-               close_window();
-       };
-
-       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 selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").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 runner = null;
-               var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
-               };
-
-               var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
-               };
-
-               var selectResult = function() {
-                       runner.report(this.value, "");
-               };
-
-               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 changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
-
-               return {
-                       bind: function (r) {
-                               var self = this;
-                               r.ui = self;
-                               runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).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());
-                                       }
-                               });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
-                               $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
-                               });
-                               frmTest.height = $(window).height();
-                       },
-
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
-                               } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
-                               }
-                       },
-
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
-                       },
-                  
-                       runTest: function (uri) {
-                               if (uri)
-                                       frmTest.src = uri;
-                       },
-
-                       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) {
-                          testinfo.value = info;
-                       }
-          };
-       } ());
-
-       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";
-       $.ajaxSetup({ async: false});
-       $(window).on("ready", pre_init);
-})(window);
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/config.xml b/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/config.xml
deleted file mode 100755 (executable)
index 8e10b95..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?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">
-  <access origin="*"/>
-  <icon src="icon.png" height="117" width="117"/>
-  <content src="index.html"/>
-  <name>multiple-other-application-launch</name>
-  <tizen:application id="wrt4moa045.multipleotherapplicationlaunch" package="wrt4moa045" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/application.launch"/>
-</widget>
\ No newline at end of file
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/icon.png b/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/icon.png and /dev/null differ
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/index.html b/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/index.html
deleted file mode 100755 (executable)
index f558352..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Hao, Yunfei <yunfenx.hao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-application-launch</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check if WRT supports new top-level browsing context created from widget context have access to Application.launch feature."/>
-    <meta charset="utf-8">
-    <script type="text/javascript">
-        function Run() {
-            try{
-                window.open("testkit_index.html");
-            }catch(e){
-                document.write("catch--Fail");
-            }
-        }
-    </script>
-  </head>
-  <body bgcolor="FFFFFF"  onload="Run()">
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/jquery-1.10.2.min.js b/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/jquery-1.10.2.min.js
deleted file mode 100755 (executable)
index da41706..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/*! 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/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/multiple-other-application-launch-test.html b/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/multiple-other-application-launch-test.html
deleted file mode 100755 (executable)
index 00a41e2..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Yue, Jianhui <jianhuix.a.yue@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-application-launch-test</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Test file"/>
-    <meta charset="utf-8">
-    <script src="resources/testharness.js"></script>
-    <script src="resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <div id="log"></div>
-    <script type="text/javascript">
-        test(function() {
-            assert_true("launch" in tizen.application);
-        }, "WRT Test: multiple-other-application-launch-test");
-    </script>
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/resources/testharness.css b/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/resources/testharness.css
deleted file mode 100755 (executable)
index 365084f..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-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/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/resources/testharness.js b/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/resources/testharness.js
deleted file mode 100755 (executable)
index 69acd7f..0000000
+++ /dev/null
@@ -1,2237 +0,0 @@
-/*
-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:5000,
-      test_timeout:2000
-    };
-
-    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/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/resources/testharnessreport.js b/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/resources/testharnessreport.js
deleted file mode 100755 (executable)
index fa73347..0000000
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * 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/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/testkit_index.html b/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/testkit_index.html
deleted file mode 100755 (executable)
index b1a211b..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<!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">
-div#navbar,#footbar{
-       box-sizing: border-box;
-       width: 99%;
-       border: 0px;
-       text-align: left;
-       background: teal;
-       color: white;
-}
-
-textarea#testinfo{
-       width: 99%;
-       font-size: 14px;
-}
-
-input,label,select{
-       font-size: 14px;
-}
-
-span.short{
-       padding-left: 10px;
-}
-
-span.long{
-       padding-left: 60px;
-}
-</style>
-</head>
-
-<body>
-<div id="navbar">
-       <span class="short"><input type="button" style="width:8%" id="btnPrev" value="< Prev"/></span>
-       <select id="selTestlist" style="width:60%"> </select>
-       <input type="button" style="width:8%" id="btnNext" value="Next >"/>
-       <input type="checkbox" name="manualonly" id="chkManualonly"/><label for="chkManualonly">Manual-Only</label>
-</div>
-<div width="99%">
-       <textarea id="testinfo" rows=8 disabled>
-       </textarea>
-</div>
-<div id="footbar">
-       <span class="short"><input type="button" style="width:8%" id="btnDone" value="Done"/></span>
-       <span class="short"><input type="radio" name="result" id="radPass" value="PASS"/><label for="radPass">Pass</label></span>
-       <span class="short"><input type="radio" name="result" id="radFail" value="FAIL"/><label for="radFail">Fail</label></span>
-       <span class="long"><input type="button" style="width:8%" id="btnRun" value="Run"/></span>
-       <input type="checkbox" name="batch" id="chkBatch"/><label for="chkBatch">Batch</label>
-</div>
-<iframe frameborder="1" width="100%" id="frmTest" allowFullScreen="true" mozAllowFullScreen="true" webkitAllowFullscreen="true" src="">
-</iframe>
-<script src="testrunner.js"> </script>
-</body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/testrunner.js b/wearable/tct-ui01-wrt-tests/multiple-other-application-launch/testrunner.js
deleted file mode 100755 (executable)
index 020c464..0000000
+++ /dev/null
@@ -1,688 +0,0 @@
-/*
-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.submitResult = null;
-               this.ui = 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
-               };
-               return { 
-                       constructor: TestRunner,
-                       getTestContext: function (field) {
-                               return testContext[field];
-                       },
-
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
-                       goNext: function () {
-                               index++;
-                       },
-
-                       getTestIndex: function () {
-                               return index;
-                       },
-
-                       setTestIndex: function (ind) {
-                               index = ind;
-                       },
-
-                       getTest: function (ind) {
-                               if (typeof ind === "undefined")
-                                       ind = index;
-                               return Tests[ind];
-                       },
-
-                       addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
-                       },
-
-                       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) {
-                               if (oldRes !== null)
-                                       sum[oldRes]--;
-                               if (newRes !== null)
-                                       sum[newRes]++;
-                       },
-
-                       checkResult: function () {
-                               var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
-                               // 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) {
-                                               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');
-                                       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 () {
-                               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.pre_condition)
-                                       info += "\nPrecondition: " + tc.pre_condition;
-                               if (tc.steps)
-                                       info += "\n" + tc.steps;
-                               return info;
-                       },
-
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
-                               function getUriField(uri, param) {
-                                       var querys = uri.split("?")
-                                       if (querys.length <= 1)
-                                               return "";
-                                       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();
-                               var delay = tc.onload_delay;
-                               if (delay)
-                                       testContext.onload_delay = parseInt(delay) * 1000;
-                               else
-                                       testContext.onload_delay = 5000;
-
-                               var uri = tc.test_script_entry;
-                               var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
-                                       testContext.sub_index = parseInt(val);
-                                       testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
-                                               return "";
-                                       }
-                               } else {
-                                       testContext.uri = uri;
-                                       testContext.sub_index = 0;
-                               }
-                               testContext.prev_uri = testContext.uri;
-                               testContext.start_time = new Date();
-                               return testContext.uri;
-                       },
-
-                       load_ready: function () {
-                               if (!autoflag)
-                                       return;
-                               if (!this.checkResult()){
-                                       if (testContext.onload_delay > 0){
-                                               var tval = 500;
-                                               var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
-                                               testContext.onload_delay -= tval;
-                                               return
-                                       }
-                                       this.report("BLOCK", "Timeout");
-                               }
-                               this.doTest();
-                       },
-
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
-                       },
-
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
-                       },
-
-                       TestCase: function() {
-                               return {
-                                       id: null,
-                                       test_script_entry: null,
-                                       execution_type: "manual",
-                                       result: "NOTRUN",
-                                       purpose: "",
-                                       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) {
-                       $(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(',');
-                                       }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
-               }
-
-               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");
-       };
-
-       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());
-                       return;
-               }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
-       };
-
-       master_runner.report = function (result, log) {
-               var tc = this.getTest();
-               var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
-               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);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       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);
-       };
-
-       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);
-               self.ui.updateTestInfo("Connecting server...");
-               var f = function () {
-                       var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
-                       self.doTest();
-               };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
-               return true;
-       };
-
-       slave_runner.doTest = function () {
-               var self = this;
-               if (self.internal.stage > 0) {
-                       self.setAutomode(false);
-                       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.purpose = task.purpose;
-                               test.pre_condition = task.pre_condition;
-                               self.cleanTests();
-                               self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
-                               return;
-                       } else {  //handle manual test
-                               self.setAutomode(false);
-                               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";
-                                               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.updateList();
-                                       self.sumInit();
-                               } 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;
-                       this.ui.updateResult(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);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       slave_runner.submitResult = function () {
-               $.get(SERVER + "/generate_xml");
-               close_window();
-       };
-
-       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 selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").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 runner = null;
-               var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
-               };
-
-               var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
-               };
-
-               var selectResult = function() {
-                       runner.report(this.value, "");
-               };
-
-               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 changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
-
-               return {
-                       bind: function (r) {
-                               var self = this;
-                               r.ui = self;
-                               runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).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());
-                                       }
-                               });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
-                               $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
-                               });
-                               frmTest.height = $(window).height();
-                       },
-
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
-                               } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
-                               }
-                       },
-
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
-                       },
-                  
-                       runTest: function (uri) {
-                               if (uri)
-                                       frmTest.src = uri;
-                       },
-
-                       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) {
-                          testinfo.value = info;
-                       }
-          };
-       } ());
-
-       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";
-       $.ajaxSetup({ async: false});
-       $(window).on("ready", pre_init);
-})(window);
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-application-read/config.xml b/wearable/tct-ui01-wrt-tests/multiple-other-application-read/config.xml
deleted file mode 100755 (executable)
index e45bf9d..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?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">
-  <access origin="*"/>
-  <icon src="icon.png" height="117" width="117"/>
-  <content src="index.html"/>
-  <name>multiple-other-application-read</name>
-  <tizen:application id="wrt4moa046.multipleotherapplicationread" package="wrt4moa046" required_version="2.3"/>
-</widget>
\ No newline at end of file
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-application-read/icon.png b/wearable/tct-ui01-wrt-tests/multiple-other-application-read/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-ui01-wrt-tests/multiple-other-application-read/icon.png and /dev/null differ
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-application-read/index.html b/wearable/tct-ui01-wrt-tests/multiple-other-application-read/index.html
deleted file mode 100755 (executable)
index 3a31e93..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Hao, Yunfei <yunfenx.hao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-application-read</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check if WRT supports new top-level browsing context created from widget context have access to Application.read feature."/>
-    <meta charset="utf-8">
-    <script type="text/javascript">
-        function Run() {
-            try{
-                window.open("testkit_index.html");
-            }catch(e){
-                document.write("catch--Fail");
-            }
-        }
-    </script>
-  </head>
-  <body bgcolor="FFFFFF"  onload="Run()">
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-application-read/jquery-1.10.2.min.js b/wearable/tct-ui01-wrt-tests/multiple-other-application-read/jquery-1.10.2.min.js
deleted file mode 100755 (executable)
index da41706..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/*! 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/wearable/tct-ui01-wrt-tests/multiple-other-application-read/multiple-other-application-read-test.html b/wearable/tct-ui01-wrt-tests/multiple-other-application-read/multiple-other-application-read-test.html
deleted file mode 100755 (executable)
index bee9ce8..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Yue, Jianhui <jianhuix.a.yue@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-application-read-test</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Test file"/>
-    <meta charset="utf-8">
-    <script src="resources/testharness.js"></script>
-    <script src="resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <div id="log"></div>
-    <script type="text/javascript">
-        test(function() {
-            assert_true("getAppsInfo" in tizen.application);
-        }, "WRT Test: multiple-other-application-read-test");
-    </script>
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-application-read/resources/testharness.css b/wearable/tct-ui01-wrt-tests/multiple-other-application-read/resources/testharness.css
deleted file mode 100755 (executable)
index 365084f..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-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/wearable/tct-ui01-wrt-tests/multiple-other-application-read/resources/testharness.js b/wearable/tct-ui01-wrt-tests/multiple-other-application-read/resources/testharness.js
deleted file mode 100755 (executable)
index 69acd7f..0000000
+++ /dev/null
@@ -1,2237 +0,0 @@
-/*
-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:5000,
-      test_timeout:2000
-    };
-
-    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/wearable/tct-ui01-wrt-tests/multiple-other-application-read/resources/testharnessreport.js b/wearable/tct-ui01-wrt-tests/multiple-other-application-read/resources/testharnessreport.js
deleted file mode 100755 (executable)
index fa73347..0000000
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * 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/wearable/tct-ui01-wrt-tests/multiple-other-application-read/testkit_index.html b/wearable/tct-ui01-wrt-tests/multiple-other-application-read/testkit_index.html
deleted file mode 100755 (executable)
index b1a211b..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<!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">
-div#navbar,#footbar{
-       box-sizing: border-box;
-       width: 99%;
-       border: 0px;
-       text-align: left;
-       background: teal;
-       color: white;
-}
-
-textarea#testinfo{
-       width: 99%;
-       font-size: 14px;
-}
-
-input,label,select{
-       font-size: 14px;
-}
-
-span.short{
-       padding-left: 10px;
-}
-
-span.long{
-       padding-left: 60px;
-}
-</style>
-</head>
-
-<body>
-<div id="navbar">
-       <span class="short"><input type="button" style="width:8%" id="btnPrev" value="< Prev"/></span>
-       <select id="selTestlist" style="width:60%"> </select>
-       <input type="button" style="width:8%" id="btnNext" value="Next >"/>
-       <input type="checkbox" name="manualonly" id="chkManualonly"/><label for="chkManualonly">Manual-Only</label>
-</div>
-<div width="99%">
-       <textarea id="testinfo" rows=8 disabled>
-       </textarea>
-</div>
-<div id="footbar">
-       <span class="short"><input type="button" style="width:8%" id="btnDone" value="Done"/></span>
-       <span class="short"><input type="radio" name="result" id="radPass" value="PASS"/><label for="radPass">Pass</label></span>
-       <span class="short"><input type="radio" name="result" id="radFail" value="FAIL"/><label for="radFail">Fail</label></span>
-       <span class="long"><input type="button" style="width:8%" id="btnRun" value="Run"/></span>
-       <input type="checkbox" name="batch" id="chkBatch"/><label for="chkBatch">Batch</label>
-</div>
-<iframe frameborder="1" width="100%" id="frmTest" allowFullScreen="true" mozAllowFullScreen="true" webkitAllowFullscreen="true" src="">
-</iframe>
-<script src="testrunner.js"> </script>
-</body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-application-read/testrunner.js b/wearable/tct-ui01-wrt-tests/multiple-other-application-read/testrunner.js
deleted file mode 100755 (executable)
index 020c464..0000000
+++ /dev/null
@@ -1,688 +0,0 @@
-/*
-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.submitResult = null;
-               this.ui = 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
-               };
-               return { 
-                       constructor: TestRunner,
-                       getTestContext: function (field) {
-                               return testContext[field];
-                       },
-
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
-                       goNext: function () {
-                               index++;
-                       },
-
-                       getTestIndex: function () {
-                               return index;
-                       },
-
-                       setTestIndex: function (ind) {
-                               index = ind;
-                       },
-
-                       getTest: function (ind) {
-                               if (typeof ind === "undefined")
-                                       ind = index;
-                               return Tests[ind];
-                       },
-
-                       addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
-                       },
-
-                       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) {
-                               if (oldRes !== null)
-                                       sum[oldRes]--;
-                               if (newRes !== null)
-                                       sum[newRes]++;
-                       },
-
-                       checkResult: function () {
-                               var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
-                               // 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) {
-                                               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');
-                                       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 () {
-                               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.pre_condition)
-                                       info += "\nPrecondition: " + tc.pre_condition;
-                               if (tc.steps)
-                                       info += "\n" + tc.steps;
-                               return info;
-                       },
-
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
-                               function getUriField(uri, param) {
-                                       var querys = uri.split("?")
-                                       if (querys.length <= 1)
-                                               return "";
-                                       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();
-                               var delay = tc.onload_delay;
-                               if (delay)
-                                       testContext.onload_delay = parseInt(delay) * 1000;
-                               else
-                                       testContext.onload_delay = 5000;
-
-                               var uri = tc.test_script_entry;
-                               var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
-                                       testContext.sub_index = parseInt(val);
-                                       testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
-                                               return "";
-                                       }
-                               } else {
-                                       testContext.uri = uri;
-                                       testContext.sub_index = 0;
-                               }
-                               testContext.prev_uri = testContext.uri;
-                               testContext.start_time = new Date();
-                               return testContext.uri;
-                       },
-
-                       load_ready: function () {
-                               if (!autoflag)
-                                       return;
-                               if (!this.checkResult()){
-                                       if (testContext.onload_delay > 0){
-                                               var tval = 500;
-                                               var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
-                                               testContext.onload_delay -= tval;
-                                               return
-                                       }
-                                       this.report("BLOCK", "Timeout");
-                               }
-                               this.doTest();
-                       },
-
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
-                       },
-
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
-                       },
-
-                       TestCase: function() {
-                               return {
-                                       id: null,
-                                       test_script_entry: null,
-                                       execution_type: "manual",
-                                       result: "NOTRUN",
-                                       purpose: "",
-                                       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) {
-                       $(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(',');
-                                       }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
-               }
-
-               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");
-       };
-
-       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());
-                       return;
-               }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
-       };
-
-       master_runner.report = function (result, log) {
-               var tc = this.getTest();
-               var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
-               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);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       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);
-       };
-
-       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);
-               self.ui.updateTestInfo("Connecting server...");
-               var f = function () {
-                       var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
-                       self.doTest();
-               };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
-               return true;
-       };
-
-       slave_runner.doTest = function () {
-               var self = this;
-               if (self.internal.stage > 0) {
-                       self.setAutomode(false);
-                       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.purpose = task.purpose;
-                               test.pre_condition = task.pre_condition;
-                               self.cleanTests();
-                               self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
-                               return;
-                       } else {  //handle manual test
-                               self.setAutomode(false);
-                               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";
-                                               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.updateList();
-                                       self.sumInit();
-                               } 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;
-                       this.ui.updateResult(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);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       slave_runner.submitResult = function () {
-               $.get(SERVER + "/generate_xml");
-               close_window();
-       };
-
-       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 selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").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 runner = null;
-               var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
-               };
-
-               var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
-               };
-
-               var selectResult = function() {
-                       runner.report(this.value, "");
-               };
-
-               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 changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
-
-               return {
-                       bind: function (r) {
-                               var self = this;
-                               r.ui = self;
-                               runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).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());
-                                       }
-                               });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
-                               $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
-                               });
-                               frmTest.height = $(window).height();
-                       },
-
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
-                               } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
-                               }
-                       },
-
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
-                       },
-                  
-                       runTest: function (uri) {
-                               if (uri)
-                                       frmTest.src = uri;
-                       },
-
-                       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) {
-                          testinfo.value = info;
-                       }
-          };
-       } ());
-
-       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";
-       $.ajaxSetup({ async: false});
-       $(window).on("ready", pre_init);
-})(window);
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-content-read/config.xml b/wearable/tct-ui01-wrt-tests/multiple-other-content-read/config.xml
deleted file mode 100755 (executable)
index edc4fe2..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?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">
-  <access origin="*"/>
-  <icon src="icon.png" height="117" width="117"/>
-  <content src="index.html"/>
-  <name>multiple-other-content-read</name>
-  <tizen:application id="wrt4moc087.multipleothercontentread" package="wrt4moc087" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/content.read"/>
-</widget>
\ No newline at end of file
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-content-read/icon.png b/wearable/tct-ui01-wrt-tests/multiple-other-content-read/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-ui01-wrt-tests/multiple-other-content-read/icon.png and /dev/null differ
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-content-read/index.html b/wearable/tct-ui01-wrt-tests/multiple-other-content-read/index.html
deleted file mode 100755 (executable)
index 636d6cb..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Hao, Yunfei <yunfenx.hao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-content-read</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check if WRT supports new top-level browsing context created from widget context have access to Content.rad feature."/>
-    <meta charset="utf-8">
-    <script type="text/javascript">
-        function Run() {
-            try{
-                window.open("testkit_index.html");
-            }catch(e){
-                document.write("catch--Fail");
-            }
-        }
-    </script>
-  </head>
-  <body bgcolor="FFFFFF"  onload="Run()">
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-content-read/jquery-1.10.2.min.js b/wearable/tct-ui01-wrt-tests/multiple-other-content-read/jquery-1.10.2.min.js
deleted file mode 100755 (executable)
index da41706..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/*! 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/wearable/tct-ui01-wrt-tests/multiple-other-content-read/multiple-other-content-read-test.html b/wearable/tct-ui01-wrt-tests/multiple-other-content-read/multiple-other-content-read-test.html
deleted file mode 100755 (executable)
index b82e010..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Yue, Jianhui <jianhuix.a.yue@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-content-read-test</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Test file"/>
-    <meta charset="utf-8">
-    <script src="resources/testharness.js"></script>
-    <script src="resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <div id="log"></div>
-    <script type="text/javascript">
-        test(function() {
-            assert_true("find" in tizen.content);
-        }, "WRT Test: multiple-other-content-read-test");
-    </script>
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-content-read/resources/testharness.css b/wearable/tct-ui01-wrt-tests/multiple-other-content-read/resources/testharness.css
deleted file mode 100755 (executable)
index 365084f..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-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/wearable/tct-ui01-wrt-tests/multiple-other-content-read/resources/testharness.js b/wearable/tct-ui01-wrt-tests/multiple-other-content-read/resources/testharness.js
deleted file mode 100755 (executable)
index 69acd7f..0000000
+++ /dev/null
@@ -1,2237 +0,0 @@
-/*
-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:5000,
-      test_timeout:2000
-    };
-
-    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/wearable/tct-ui01-wrt-tests/multiple-other-content-read/resources/testharnessreport.js b/wearable/tct-ui01-wrt-tests/multiple-other-content-read/resources/testharnessreport.js
deleted file mode 100755 (executable)
index fa73347..0000000
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * 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/wearable/tct-ui01-wrt-tests/multiple-other-content-read/testkit_index.html b/wearable/tct-ui01-wrt-tests/multiple-other-content-read/testkit_index.html
deleted file mode 100755 (executable)
index b1a211b..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<!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">
-div#navbar,#footbar{
-       box-sizing: border-box;
-       width: 99%;
-       border: 0px;
-       text-align: left;
-       background: teal;
-       color: white;
-}
-
-textarea#testinfo{
-       width: 99%;
-       font-size: 14px;
-}
-
-input,label,select{
-       font-size: 14px;
-}
-
-span.short{
-       padding-left: 10px;
-}
-
-span.long{
-       padding-left: 60px;
-}
-</style>
-</head>
-
-<body>
-<div id="navbar">
-       <span class="short"><input type="button" style="width:8%" id="btnPrev" value="< Prev"/></span>
-       <select id="selTestlist" style="width:60%"> </select>
-       <input type="button" style="width:8%" id="btnNext" value="Next >"/>
-       <input type="checkbox" name="manualonly" id="chkManualonly"/><label for="chkManualonly">Manual-Only</label>
-</div>
-<div width="99%">
-       <textarea id="testinfo" rows=8 disabled>
-       </textarea>
-</div>
-<div id="footbar">
-       <span class="short"><input type="button" style="width:8%" id="btnDone" value="Done"/></span>
-       <span class="short"><input type="radio" name="result" id="radPass" value="PASS"/><label for="radPass">Pass</label></span>
-       <span class="short"><input type="radio" name="result" id="radFail" value="FAIL"/><label for="radFail">Fail</label></span>
-       <span class="long"><input type="button" style="width:8%" id="btnRun" value="Run"/></span>
-       <input type="checkbox" name="batch" id="chkBatch"/><label for="chkBatch">Batch</label>
-</div>
-<iframe frameborder="1" width="100%" id="frmTest" allowFullScreen="true" mozAllowFullScreen="true" webkitAllowFullscreen="true" src="">
-</iframe>
-<script src="testrunner.js"> </script>
-</body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-content-read/testrunner.js b/wearable/tct-ui01-wrt-tests/multiple-other-content-read/testrunner.js
deleted file mode 100755 (executable)
index 020c464..0000000
+++ /dev/null
@@ -1,688 +0,0 @@
-/*
-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.submitResult = null;
-               this.ui = 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
-               };
-               return { 
-                       constructor: TestRunner,
-                       getTestContext: function (field) {
-                               return testContext[field];
-                       },
-
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
-                       goNext: function () {
-                               index++;
-                       },
-
-                       getTestIndex: function () {
-                               return index;
-                       },
-
-                       setTestIndex: function (ind) {
-                               index = ind;
-                       },
-
-                       getTest: function (ind) {
-                               if (typeof ind === "undefined")
-                                       ind = index;
-                               return Tests[ind];
-                       },
-
-                       addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
-                       },
-
-                       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) {
-                               if (oldRes !== null)
-                                       sum[oldRes]--;
-                               if (newRes !== null)
-                                       sum[newRes]++;
-                       },
-
-                       checkResult: function () {
-                               var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
-                               // 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) {
-                                               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');
-                                       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 () {
-                               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.pre_condition)
-                                       info += "\nPrecondition: " + tc.pre_condition;
-                               if (tc.steps)
-                                       info += "\n" + tc.steps;
-                               return info;
-                       },
-
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
-                               function getUriField(uri, param) {
-                                       var querys = uri.split("?")
-                                       if (querys.length <= 1)
-                                               return "";
-                                       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();
-                               var delay = tc.onload_delay;
-                               if (delay)
-                                       testContext.onload_delay = parseInt(delay) * 1000;
-                               else
-                                       testContext.onload_delay = 5000;
-
-                               var uri = tc.test_script_entry;
-                               var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
-                                       testContext.sub_index = parseInt(val);
-                                       testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
-                                               return "";
-                                       }
-                               } else {
-                                       testContext.uri = uri;
-                                       testContext.sub_index = 0;
-                               }
-                               testContext.prev_uri = testContext.uri;
-                               testContext.start_time = new Date();
-                               return testContext.uri;
-                       },
-
-                       load_ready: function () {
-                               if (!autoflag)
-                                       return;
-                               if (!this.checkResult()){
-                                       if (testContext.onload_delay > 0){
-                                               var tval = 500;
-                                               var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
-                                               testContext.onload_delay -= tval;
-                                               return
-                                       }
-                                       this.report("BLOCK", "Timeout");
-                               }
-                               this.doTest();
-                       },
-
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
-                       },
-
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
-                       },
-
-                       TestCase: function() {
-                               return {
-                                       id: null,
-                                       test_script_entry: null,
-                                       execution_type: "manual",
-                                       result: "NOTRUN",
-                                       purpose: "",
-                                       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) {
-                       $(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(',');
-                                       }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
-               }
-
-               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");
-       };
-
-       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());
-                       return;
-               }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
-       };
-
-       master_runner.report = function (result, log) {
-               var tc = this.getTest();
-               var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
-               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);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       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);
-       };
-
-       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);
-               self.ui.updateTestInfo("Connecting server...");
-               var f = function () {
-                       var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
-                       self.doTest();
-               };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
-               return true;
-       };
-
-       slave_runner.doTest = function () {
-               var self = this;
-               if (self.internal.stage > 0) {
-                       self.setAutomode(false);
-                       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.purpose = task.purpose;
-                               test.pre_condition = task.pre_condition;
-                               self.cleanTests();
-                               self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
-                               return;
-                       } else {  //handle manual test
-                               self.setAutomode(false);
-                               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";
-                                               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.updateList();
-                                       self.sumInit();
-                               } 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;
-                       this.ui.updateResult(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);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       slave_runner.submitResult = function () {
-               $.get(SERVER + "/generate_xml");
-               close_window();
-       };
-
-       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 selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").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 runner = null;
-               var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
-               };
-
-               var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
-               };
-
-               var selectResult = function() {
-                       runner.report(this.value, "");
-               };
-
-               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 changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
-
-               return {
-                       bind: function (r) {
-                               var self = this;
-                               r.ui = self;
-                               runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).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());
-                                       }
-                               });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
-                               $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
-                               });
-                               frmTest.height = $(window).height();
-                       },
-
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
-                               } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
-                               }
-                       },
-
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
-                       },
-                  
-                       runTest: function (uri) {
-                               if (uri)
-                                       frmTest.src = uri;
-                       },
-
-                       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) {
-                          testinfo.value = info;
-                       }
-          };
-       } ());
-
-       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";
-       $.ajaxSetup({ async: false});
-       $(window).on("ready", pre_init);
-})(window);
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-content-write/config.xml b/wearable/tct-ui01-wrt-tests/multiple-other-content-write/config.xml
deleted file mode 100755 (executable)
index c0a67ee..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?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">
-  <access origin="*"/>
-  <icon src="icon.png" height="117" width="117"/>
-  <content src="index.html"/>
-  <name>multiple-other-content-write</name>
-  <tizen:application id="wrt4moc088.multipleothercontentwrite" package="wrt4moc088" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/content.write"/>
-</widget>
\ No newline at end of file
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-content-write/icon.png b/wearable/tct-ui01-wrt-tests/multiple-other-content-write/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-ui01-wrt-tests/multiple-other-content-write/icon.png and /dev/null differ
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-content-write/index.html b/wearable/tct-ui01-wrt-tests/multiple-other-content-write/index.html
deleted file mode 100755 (executable)
index 891ff59..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Hao, Yunfei <yunfenx.hao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-content-write</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check if WRT supports new top-level browsing context created from widget context have access to Content.write feature."/>
-    <meta charset="utf-8">
-    <script type="text/javascript">
-        function Run() {
-            try{
-                window.open("testkit_index.html");
-            }catch(e){
-                document.write("catch--Fail");
-            }
-        }
-    </script>
-  </head>
-  <body bgcolor="FFFFFF"  onload="Run()">
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-content-write/jquery-1.10.2.min.js b/wearable/tct-ui01-wrt-tests/multiple-other-content-write/jquery-1.10.2.min.js
deleted file mode 100755 (executable)
index da41706..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/*! 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/wearable/tct-ui01-wrt-tests/multiple-other-content-write/multiple-other-content-write-test.html b/wearable/tct-ui01-wrt-tests/multiple-other-content-write/multiple-other-content-write-test.html
deleted file mode 100755 (executable)
index cd4f123..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Yue, Jianhui <jianhuix.a.yue@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-content-write-test</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Test file"/>
-    <meta charset="utf-8">
-    <script src="resources/testharness.js"></script>
-    <script src="resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <div id="log"></div>
-    <script type="text/javascript">
-        test(function() {
-            assert_true("updateBatch" in tizen.content);
-        }, "WRT Test: multiple-other-content-write-test");
-    </script>
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-content-write/resources/testharness.css b/wearable/tct-ui01-wrt-tests/multiple-other-content-write/resources/testharness.css
deleted file mode 100755 (executable)
index 365084f..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-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/wearable/tct-ui01-wrt-tests/multiple-other-content-write/resources/testharness.js b/wearable/tct-ui01-wrt-tests/multiple-other-content-write/resources/testharness.js
deleted file mode 100755 (executable)
index 69acd7f..0000000
+++ /dev/null
@@ -1,2237 +0,0 @@
-/*
-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:5000,
-      test_timeout:2000
-    };
-
-    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/wearable/tct-ui01-wrt-tests/multiple-other-content-write/resources/testharnessreport.js b/wearable/tct-ui01-wrt-tests/multiple-other-content-write/resources/testharnessreport.js
deleted file mode 100755 (executable)
index fa73347..0000000
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * 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/wearable/tct-ui01-wrt-tests/multiple-other-content-write/testkit_index.html b/wearable/tct-ui01-wrt-tests/multiple-other-content-write/testkit_index.html
deleted file mode 100755 (executable)
index b1a211b..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<!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">
-div#navbar,#footbar{
-       box-sizing: border-box;
-       width: 99%;
-       border: 0px;
-       text-align: left;
-       background: teal;
-       color: white;
-}
-
-textarea#testinfo{
-       width: 99%;
-       font-size: 14px;
-}
-
-input,label,select{
-       font-size: 14px;
-}
-
-span.short{
-       padding-left: 10px;
-}
-
-span.long{
-       padding-left: 60px;
-}
-</style>
-</head>
-
-<body>
-<div id="navbar">
-       <span class="short"><input type="button" style="width:8%" id="btnPrev" value="< Prev"/></span>
-       <select id="selTestlist" style="width:60%"> </select>
-       <input type="button" style="width:8%" id="btnNext" value="Next >"/>
-       <input type="checkbox" name="manualonly" id="chkManualonly"/><label for="chkManualonly">Manual-Only</label>
-</div>
-<div width="99%">
-       <textarea id="testinfo" rows=8 disabled>
-       </textarea>
-</div>
-<div id="footbar">
-       <span class="short"><input type="button" style="width:8%" id="btnDone" value="Done"/></span>
-       <span class="short"><input type="radio" name="result" id="radPass" value="PASS"/><label for="radPass">Pass</label></span>
-       <span class="short"><input type="radio" name="result" id="radFail" value="FAIL"/><label for="radFail">Fail</label></span>
-       <span class="long"><input type="button" style="width:8%" id="btnRun" value="Run"/></span>
-       <input type="checkbox" name="batch" id="chkBatch"/><label for="chkBatch">Batch</label>
-</div>
-<iframe frameborder="1" width="100%" id="frmTest" allowFullScreen="true" mozAllowFullScreen="true" webkitAllowFullscreen="true" src="">
-</iframe>
-<script src="testrunner.js"> </script>
-</body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-content-write/testrunner.js b/wearable/tct-ui01-wrt-tests/multiple-other-content-write/testrunner.js
deleted file mode 100755 (executable)
index 020c464..0000000
+++ /dev/null
@@ -1,688 +0,0 @@
-/*
-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.submitResult = null;
-               this.ui = 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
-               };
-               return { 
-                       constructor: TestRunner,
-                       getTestContext: function (field) {
-                               return testContext[field];
-                       },
-
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
-                       goNext: function () {
-                               index++;
-                       },
-
-                       getTestIndex: function () {
-                               return index;
-                       },
-
-                       setTestIndex: function (ind) {
-                               index = ind;
-                       },
-
-                       getTest: function (ind) {
-                               if (typeof ind === "undefined")
-                                       ind = index;
-                               return Tests[ind];
-                       },
-
-                       addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
-                       },
-
-                       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) {
-                               if (oldRes !== null)
-                                       sum[oldRes]--;
-                               if (newRes !== null)
-                                       sum[newRes]++;
-                       },
-
-                       checkResult: function () {
-                               var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
-                               // 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) {
-                                               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');
-                                       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 () {
-                               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.pre_condition)
-                                       info += "\nPrecondition: " + tc.pre_condition;
-                               if (tc.steps)
-                                       info += "\n" + tc.steps;
-                               return info;
-                       },
-
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
-                               function getUriField(uri, param) {
-                                       var querys = uri.split("?")
-                                       if (querys.length <= 1)
-                                               return "";
-                                       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();
-                               var delay = tc.onload_delay;
-                               if (delay)
-                                       testContext.onload_delay = parseInt(delay) * 1000;
-                               else
-                                       testContext.onload_delay = 5000;
-
-                               var uri = tc.test_script_entry;
-                               var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
-                                       testContext.sub_index = parseInt(val);
-                                       testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
-                                               return "";
-                                       }
-                               } else {
-                                       testContext.uri = uri;
-                                       testContext.sub_index = 0;
-                               }
-                               testContext.prev_uri = testContext.uri;
-                               testContext.start_time = new Date();
-                               return testContext.uri;
-                       },
-
-                       load_ready: function () {
-                               if (!autoflag)
-                                       return;
-                               if (!this.checkResult()){
-                                       if (testContext.onload_delay > 0){
-                                               var tval = 500;
-                                               var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
-                                               testContext.onload_delay -= tval;
-                                               return
-                                       }
-                                       this.report("BLOCK", "Timeout");
-                               }
-                               this.doTest();
-                       },
-
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
-                       },
-
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
-                       },
-
-                       TestCase: function() {
-                               return {
-                                       id: null,
-                                       test_script_entry: null,
-                                       execution_type: "manual",
-                                       result: "NOTRUN",
-                                       purpose: "",
-                                       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) {
-                       $(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(',');
-                                       }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
-               }
-
-               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");
-       };
-
-       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());
-                       return;
-               }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
-       };
-
-       master_runner.report = function (result, log) {
-               var tc = this.getTest();
-               var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
-               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);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       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);
-       };
-
-       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);
-               self.ui.updateTestInfo("Connecting server...");
-               var f = function () {
-                       var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
-                       self.doTest();
-               };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
-               return true;
-       };
-
-       slave_runner.doTest = function () {
-               var self = this;
-               if (self.internal.stage > 0) {
-                       self.setAutomode(false);
-                       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.purpose = task.purpose;
-                               test.pre_condition = task.pre_condition;
-                               self.cleanTests();
-                               self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
-                               return;
-                       } else {  //handle manual test
-                               self.setAutomode(false);
-                               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";
-                                               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.updateList();
-                                       self.sumInit();
-                               } 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;
-                       this.ui.updateResult(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);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       slave_runner.submitResult = function () {
-               $.get(SERVER + "/generate_xml");
-               close_window();
-       };
-
-       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 selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").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 runner = null;
-               var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
-               };
-
-               var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
-               };
-
-               var selectResult = function() {
-                       runner.report(this.value, "");
-               };
-
-               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 changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
-
-               return {
-                       bind: function (r) {
-                               var self = this;
-                               r.ui = self;
-                               runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).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());
-                                       }
-                               });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
-                               $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
-                               });
-                               frmTest.height = $(window).height();
-                       },
-
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
-                               } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
-                               }
-                       },
-
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
-                       },
-                  
-                       runTest: function (uri) {
-                               if (uri)
-                                       frmTest.src = uri;
-                       },
-
-                       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) {
-                          testinfo.value = info;
-                       }
-          };
-       } ());
-
-       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";
-       $.ajaxSetup({ async: false});
-       $(window).on("ready", pre_init);
-})(window);
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/config.xml b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/config.xml
deleted file mode 100755 (executable)
index 6c2c663..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?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">
-  <access origin="*"/>
-  <icon src="icon.png" height="117" width="117"/>
-  <content src="index.html"/>
-  <name>multiple-other-filesystem-read</name>
-  <tizen:application id="wrt4mof063.multipleotherfilesystemread" package="wrt4mof063" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
-</widget>
\ No newline at end of file
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/icon.png b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/icon.png and /dev/null differ
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/index.html b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/index.html
deleted file mode 100755 (executable)
index e864367..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Hao, Yunfei <yunfenx.hao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-filesystem_read</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check if WRT supports new top-level browsing context created from widget context have access to Filesystem.Read feature."/>
-    <meta charset="utf-8">
-    <script type="text/javascript">
-        function Run() {
-            try{
-                window.open("testkit_index.html");
-            }catch(e){
-                document.write("catch--Fail");
-            }
-        }
-    </script>
-  </head>
-  <body bgcolor="FFFFFF"  onload="Run()">
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/jquery-1.10.2.min.js b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/jquery-1.10.2.min.js
deleted file mode 100755 (executable)
index da41706..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/*! 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/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/multiple-other-filesystem-read-test.html b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/multiple-other-filesystem-read-test.html
deleted file mode 100755 (executable)
index 36f3497..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Hao, Yunfei <yunfenx.hao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-filesystem-read-test</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Test file."/>
-    <meta charset="utf-8">
-    <script src="resources/testharness.js"></script>
-    <script src="resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <div id="log"></div>
-    <script type="text/javascript">
-        test(function() {
-            assert_true("resolve" in tizen.filesystem);
-        }, "WRT Test: multiple-other-filesystem-read-test");
-    </script>
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/resources/testharness.css b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/resources/testharness.css
deleted file mode 100755 (executable)
index 365084f..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-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/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/resources/testharness.js b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/resources/testharness.js
deleted file mode 100755 (executable)
index 69acd7f..0000000
+++ /dev/null
@@ -1,2237 +0,0 @@
-/*
-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:5000,
-      test_timeout:2000
-    };
-
-    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/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/resources/testharnessreport.js b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/resources/testharnessreport.js
deleted file mode 100755 (executable)
index fa73347..0000000
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * 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/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/testkit_index.html b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/testkit_index.html
deleted file mode 100755 (executable)
index b1a211b..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<!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">
-div#navbar,#footbar{
-       box-sizing: border-box;
-       width: 99%;
-       border: 0px;
-       text-align: left;
-       background: teal;
-       color: white;
-}
-
-textarea#testinfo{
-       width: 99%;
-       font-size: 14px;
-}
-
-input,label,select{
-       font-size: 14px;
-}
-
-span.short{
-       padding-left: 10px;
-}
-
-span.long{
-       padding-left: 60px;
-}
-</style>
-</head>
-
-<body>
-<div id="navbar">
-       <span class="short"><input type="button" style="width:8%" id="btnPrev" value="< Prev"/></span>
-       <select id="selTestlist" style="width:60%"> </select>
-       <input type="button" style="width:8%" id="btnNext" value="Next >"/>
-       <input type="checkbox" name="manualonly" id="chkManualonly"/><label for="chkManualonly">Manual-Only</label>
-</div>
-<div width="99%">
-       <textarea id="testinfo" rows=8 disabled>
-       </textarea>
-</div>
-<div id="footbar">
-       <span class="short"><input type="button" style="width:8%" id="btnDone" value="Done"/></span>
-       <span class="short"><input type="radio" name="result" id="radPass" value="PASS"/><label for="radPass">Pass</label></span>
-       <span class="short"><input type="radio" name="result" id="radFail" value="FAIL"/><label for="radFail">Fail</label></span>
-       <span class="long"><input type="button" style="width:8%" id="btnRun" value="Run"/></span>
-       <input type="checkbox" name="batch" id="chkBatch"/><label for="chkBatch">Batch</label>
-</div>
-<iframe frameborder="1" width="100%" id="frmTest" allowFullScreen="true" mozAllowFullScreen="true" webkitAllowFullscreen="true" src="">
-</iframe>
-<script src="testrunner.js"> </script>
-</body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/testrunner.js b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-read/testrunner.js
deleted file mode 100755 (executable)
index 020c464..0000000
+++ /dev/null
@@ -1,688 +0,0 @@
-/*
-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.submitResult = null;
-               this.ui = 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
-               };
-               return { 
-                       constructor: TestRunner,
-                       getTestContext: function (field) {
-                               return testContext[field];
-                       },
-
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
-                       goNext: function () {
-                               index++;
-                       },
-
-                       getTestIndex: function () {
-                               return index;
-                       },
-
-                       setTestIndex: function (ind) {
-                               index = ind;
-                       },
-
-                       getTest: function (ind) {
-                               if (typeof ind === "undefined")
-                                       ind = index;
-                               return Tests[ind];
-                       },
-
-                       addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
-                       },
-
-                       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) {
-                               if (oldRes !== null)
-                                       sum[oldRes]--;
-                               if (newRes !== null)
-                                       sum[newRes]++;
-                       },
-
-                       checkResult: function () {
-                               var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
-                               // 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) {
-                                               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');
-                                       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 () {
-                               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.pre_condition)
-                                       info += "\nPrecondition: " + tc.pre_condition;
-                               if (tc.steps)
-                                       info += "\n" + tc.steps;
-                               return info;
-                       },
-
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
-                               function getUriField(uri, param) {
-                                       var querys = uri.split("?")
-                                       if (querys.length <= 1)
-                                               return "";
-                                       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();
-                               var delay = tc.onload_delay;
-                               if (delay)
-                                       testContext.onload_delay = parseInt(delay) * 1000;
-                               else
-                                       testContext.onload_delay = 5000;
-
-                               var uri = tc.test_script_entry;
-                               var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
-                                       testContext.sub_index = parseInt(val);
-                                       testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
-                                               return "";
-                                       }
-                               } else {
-                                       testContext.uri = uri;
-                                       testContext.sub_index = 0;
-                               }
-                               testContext.prev_uri = testContext.uri;
-                               testContext.start_time = new Date();
-                               return testContext.uri;
-                       },
-
-                       load_ready: function () {
-                               if (!autoflag)
-                                       return;
-                               if (!this.checkResult()){
-                                       if (testContext.onload_delay > 0){
-                                               var tval = 500;
-                                               var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
-                                               testContext.onload_delay -= tval;
-                                               return
-                                       }
-                                       this.report("BLOCK", "Timeout");
-                               }
-                               this.doTest();
-                       },
-
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
-                       },
-
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
-                       },
-
-                       TestCase: function() {
-                               return {
-                                       id: null,
-                                       test_script_entry: null,
-                                       execution_type: "manual",
-                                       result: "NOTRUN",
-                                       purpose: "",
-                                       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) {
-                       $(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(',');
-                                       }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
-               }
-
-               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");
-       };
-
-       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());
-                       return;
-               }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
-       };
-
-       master_runner.report = function (result, log) {
-               var tc = this.getTest();
-               var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
-               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);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       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);
-       };
-
-       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);
-               self.ui.updateTestInfo("Connecting server...");
-               var f = function () {
-                       var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
-                       self.doTest();
-               };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
-               return true;
-       };
-
-       slave_runner.doTest = function () {
-               var self = this;
-               if (self.internal.stage > 0) {
-                       self.setAutomode(false);
-                       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.purpose = task.purpose;
-                               test.pre_condition = task.pre_condition;
-                               self.cleanTests();
-                               self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
-                               return;
-                       } else {  //handle manual test
-                               self.setAutomode(false);
-                               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";
-                                               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.updateList();
-                                       self.sumInit();
-                               } 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;
-                       this.ui.updateResult(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);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       slave_runner.submitResult = function () {
-               $.get(SERVER + "/generate_xml");
-               close_window();
-       };
-
-       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 selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").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 runner = null;
-               var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
-               };
-
-               var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
-               };
-
-               var selectResult = function() {
-                       runner.report(this.value, "");
-               };
-
-               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 changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
-
-               return {
-                       bind: function (r) {
-                               var self = this;
-                               r.ui = self;
-                               runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).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());
-                                       }
-                               });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
-                               $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
-                               });
-                               frmTest.height = $(window).height();
-                       },
-
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
-                               } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
-                               }
-                       },
-
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
-                       },
-                  
-                       runTest: function (uri) {
-                               if (uri)
-                                       frmTest.src = uri;
-                       },
-
-                       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) {
-                          testinfo.value = info;
-                       }
-          };
-       } ());
-
-       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";
-       $.ajaxSetup({ async: false});
-       $(window).on("ready", pre_init);
-})(window);
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/config.xml b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/config.xml
deleted file mode 100755 (executable)
index b9f6e38..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?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">
-  <access origin="*"/>
-  <icon src="icon.png" height="117" width="117"/>
-  <content src="index.html"/>
-  <name>multiple-other-filesystem-write</name>
-  <tizen:application id="wrt4mof064.multipleotherfilesystemwrite" package="wrt4mof064" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
-</widget>
\ No newline at end of file
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/icon.png b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/icon.png and /dev/null differ
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/index.html b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/index.html
deleted file mode 100755 (executable)
index cb85344..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Hao, Yunfei <yunfenx.hao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-filesystem-wtite</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check if WRT supports new top-level browsing context created from widget context have access to Filesystem.write feature."/>
-    <meta charset="utf-8">
-    <script type="text/javascript">
-        function Run() {
-            try{
-                window.open("testkit_index.html");
-            }catch(e){
-                document.write("catch--Fail");
-            }
-        }
-    </script>
-  </head>
-  <body bgcolor="FFFFFF"  onload="Run()">
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/jquery-1.10.2.min.js b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/jquery-1.10.2.min.js
deleted file mode 100755 (executable)
index da41706..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/*! 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/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/multiple-other-filesystem-write-test.html b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/multiple-other-filesystem-write-test.html
deleted file mode 100755 (executable)
index f08d715..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Hao, Yunfei <yunfenx.hao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-filesystem-write-test</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Test file."/>
-    <meta charset="utf-8">
-    <script src="resources/testharness.js"></script>
-    <script src="resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <div id="log"></div>
-    <script type="text/javascript">
-        test(function() {
-            assert_true("resolve" in tizen.filesystem);
-        }, "WRT Test: multiple-other-filesystem-write-test");
-    </script>
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/resources/testharness.css b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/resources/testharness.css
deleted file mode 100755 (executable)
index 365084f..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-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/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/resources/testharness.js b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/resources/testharness.js
deleted file mode 100755 (executable)
index 69acd7f..0000000
+++ /dev/null
@@ -1,2237 +0,0 @@
-/*
-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:5000,
-      test_timeout:2000
-    };
-
-    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/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/resources/testharnessreport.js b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/resources/testharnessreport.js
deleted file mode 100755 (executable)
index fa73347..0000000
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * 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/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/testkit_index.html b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/testkit_index.html
deleted file mode 100755 (executable)
index b1a211b..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<!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">
-div#navbar,#footbar{
-       box-sizing: border-box;
-       width: 99%;
-       border: 0px;
-       text-align: left;
-       background: teal;
-       color: white;
-}
-
-textarea#testinfo{
-       width: 99%;
-       font-size: 14px;
-}
-
-input,label,select{
-       font-size: 14px;
-}
-
-span.short{
-       padding-left: 10px;
-}
-
-span.long{
-       padding-left: 60px;
-}
-</style>
-</head>
-
-<body>
-<div id="navbar">
-       <span class="short"><input type="button" style="width:8%" id="btnPrev" value="< Prev"/></span>
-       <select id="selTestlist" style="width:60%"> </select>
-       <input type="button" style="width:8%" id="btnNext" value="Next >"/>
-       <input type="checkbox" name="manualonly" id="chkManualonly"/><label for="chkManualonly">Manual-Only</label>
-</div>
-<div width="99%">
-       <textarea id="testinfo" rows=8 disabled>
-       </textarea>
-</div>
-<div id="footbar">
-       <span class="short"><input type="button" style="width:8%" id="btnDone" value="Done"/></span>
-       <span class="short"><input type="radio" name="result" id="radPass" value="PASS"/><label for="radPass">Pass</label></span>
-       <span class="short"><input type="radio" name="result" id="radFail" value="FAIL"/><label for="radFail">Fail</label></span>
-       <span class="long"><input type="button" style="width:8%" id="btnRun" value="Run"/></span>
-       <input type="checkbox" name="batch" id="chkBatch"/><label for="chkBatch">Batch</label>
-</div>
-<iframe frameborder="1" width="100%" id="frmTest" allowFullScreen="true" mozAllowFullScreen="true" webkitAllowFullscreen="true" src="">
-</iframe>
-<script src="testrunner.js"> </script>
-</body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/testrunner.js b/wearable/tct-ui01-wrt-tests/multiple-other-filesystem-write/testrunner.js
deleted file mode 100755 (executable)
index 020c464..0000000
+++ /dev/null
@@ -1,688 +0,0 @@
-/*
-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.submitResult = null;
-               this.ui = 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
-               };
-               return { 
-                       constructor: TestRunner,
-                       getTestContext: function (field) {
-                               return testContext[field];
-                       },
-
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
-                       goNext: function () {
-                               index++;
-                       },
-
-                       getTestIndex: function () {
-                               return index;
-                       },
-
-                       setTestIndex: function (ind) {
-                               index = ind;
-                       },
-
-                       getTest: function (ind) {
-                               if (typeof ind === "undefined")
-                                       ind = index;
-                               return Tests[ind];
-                       },
-
-                       addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
-                       },
-
-                       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) {
-                               if (oldRes !== null)
-                                       sum[oldRes]--;
-                               if (newRes !== null)
-                                       sum[newRes]++;
-                       },
-
-                       checkResult: function () {
-                               var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
-                               // 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) {
-                                               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');
-                                       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 () {
-                               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.pre_condition)
-                                       info += "\nPrecondition: " + tc.pre_condition;
-                               if (tc.steps)
-                                       info += "\n" + tc.steps;
-                               return info;
-                       },
-
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
-                               function getUriField(uri, param) {
-                                       var querys = uri.split("?")
-                                       if (querys.length <= 1)
-                                               return "";
-                                       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();
-                               var delay = tc.onload_delay;
-                               if (delay)
-                                       testContext.onload_delay = parseInt(delay) * 1000;
-                               else
-                                       testContext.onload_delay = 5000;
-
-                               var uri = tc.test_script_entry;
-                               var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
-                                       testContext.sub_index = parseInt(val);
-                                       testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
-                                               return "";
-                                       }
-                               } else {
-                                       testContext.uri = uri;
-                                       testContext.sub_index = 0;
-                               }
-                               testContext.prev_uri = testContext.uri;
-                               testContext.start_time = new Date();
-                               return testContext.uri;
-                       },
-
-                       load_ready: function () {
-                               if (!autoflag)
-                                       return;
-                               if (!this.checkResult()){
-                                       if (testContext.onload_delay > 0){
-                                               var tval = 500;
-                                               var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
-                                               testContext.onload_delay -= tval;
-                                               return
-                                       }
-                                       this.report("BLOCK", "Timeout");
-                               }
-                               this.doTest();
-                       },
-
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
-                       },
-
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
-                       },
-
-                       TestCase: function() {
-                               return {
-                                       id: null,
-                                       test_script_entry: null,
-                                       execution_type: "manual",
-                                       result: "NOTRUN",
-                                       purpose: "",
-                                       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) {
-                       $(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(',');
-                                       }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
-               }
-
-               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");
-       };
-
-       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());
-                       return;
-               }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
-       };
-
-       master_runner.report = function (result, log) {
-               var tc = this.getTest();
-               var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
-               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);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       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);
-       };
-
-       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);
-               self.ui.updateTestInfo("Connecting server...");
-               var f = function () {
-                       var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
-                       self.doTest();
-               };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
-               return true;
-       };
-
-       slave_runner.doTest = function () {
-               var self = this;
-               if (self.internal.stage > 0) {
-                       self.setAutomode(false);
-                       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.purpose = task.purpose;
-                               test.pre_condition = task.pre_condition;
-                               self.cleanTests();
-                               self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
-                               return;
-                       } else {  //handle manual test
-                               self.setAutomode(false);
-                               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";
-                                               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.updateList();
-                                       self.sumInit();
-                               } 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;
-                       this.ui.updateResult(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);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       slave_runner.submitResult = function () {
-               $.get(SERVER + "/generate_xml");
-               close_window();
-       };
-
-       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 selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").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 runner = null;
-               var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
-               };
-
-               var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
-               };
-
-               var selectResult = function() {
-                       runner.report(this.value, "");
-               };
-
-               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 changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
-
-               return {
-                       bind: function (r) {
-                               var self = this;
-                               r.ui = self;
-                               runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).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());
-                                       }
-                               });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
-                               $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
-                               });
-                               frmTest.height = $(window).height();
-                       },
-
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
-                               } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
-                               }
-                       },
-
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
-                       },
-                  
-                       runTest: function (uri) {
-                               if (uri)
-                                       frmTest.src = uri;
-                       },
-
-                       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) {
-                          testinfo.value = info;
-                       }
-          };
-       } ());
-
-       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";
-       $.ajaxSetup({ async: false});
-       $(window).on("ready", pre_init);
-})(window);
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-power/config.xml b/wearable/tct-ui01-wrt-tests/multiple-other-power/config.xml
deleted file mode 100755 (executable)
index 0d694fa..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?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">
-  <access origin="*"/>
-  <icon src="icon.png" height="117" width="117"/>
-  <content src="index.html"/>
-  <name>multiple-other-power</name>
-  <tizen:application id="wrt4mop093.multipleotherpower" package="wrt4mop093" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/power"/>
-</widget>
\ No newline at end of file
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-power/icon.png b/wearable/tct-ui01-wrt-tests/multiple-other-power/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-ui01-wrt-tests/multiple-other-power/icon.png and /dev/null differ
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-power/index.html b/wearable/tct-ui01-wrt-tests/multiple-other-power/index.html
deleted file mode 100755 (executable)
index 11bfbf5..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Hao, Yunfei <yunfenx.hao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-power</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check if WRT supports new top-level browsing context created from widget context have access to Power feature."/>
-    <meta charset="utf-8">
-    <script type="text/javascript">
-        function Run() {
-            try{
-                window.open("testkit_index.html");
-            }catch(e){
-                document.write("catch--Fail");
-            }
-        }
-    </script>
-  </head>
-  <body bgcolor="FFFFFF"  onload="Run()">
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-power/jquery-1.10.2.min.js b/wearable/tct-ui01-wrt-tests/multiple-other-power/jquery-1.10.2.min.js
deleted file mode 100755 (executable)
index da41706..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/*! 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/wearable/tct-ui01-wrt-tests/multiple-other-power/multiple-other-power-test.html b/wearable/tct-ui01-wrt-tests/multiple-other-power/multiple-other-power-test.html
deleted file mode 100755 (executable)
index a24d7e9..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Yue, Jianhui <jianhuix.a.yue@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-power-test</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Test file"/>
-    <meta charset="utf-8">
-    <script src="resources/testharness.js"></script>
-    <script src="resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <div id="log"></div>
-    <script type="text/javascript">
-        test(function() {
-            assert_true("request" in tizen.power);
-        }, "WRT Test: multiple-other-power-test");
-    </script>
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-power/resources/testharness.css b/wearable/tct-ui01-wrt-tests/multiple-other-power/resources/testharness.css
deleted file mode 100755 (executable)
index 365084f..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-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/wearable/tct-ui01-wrt-tests/multiple-other-power/resources/testharness.js b/wearable/tct-ui01-wrt-tests/multiple-other-power/resources/testharness.js
deleted file mode 100755 (executable)
index 69acd7f..0000000
+++ /dev/null
@@ -1,2237 +0,0 @@
-/*
-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:5000,
-      test_timeout:2000
-    };
-
-    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/wearable/tct-ui01-wrt-tests/multiple-other-power/resources/testharnessreport.js b/wearable/tct-ui01-wrt-tests/multiple-other-power/resources/testharnessreport.js
deleted file mode 100755 (executable)
index fa73347..0000000
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * 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/wearable/tct-ui01-wrt-tests/multiple-other-power/testkit_index.html b/wearable/tct-ui01-wrt-tests/multiple-other-power/testkit_index.html
deleted file mode 100755 (executable)
index b1a211b..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<!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">
-div#navbar,#footbar{
-       box-sizing: border-box;
-       width: 99%;
-       border: 0px;
-       text-align: left;
-       background: teal;
-       color: white;
-}
-
-textarea#testinfo{
-       width: 99%;
-       font-size: 14px;
-}
-
-input,label,select{
-       font-size: 14px;
-}
-
-span.short{
-       padding-left: 10px;
-}
-
-span.long{
-       padding-left: 60px;
-}
-</style>
-</head>
-
-<body>
-<div id="navbar">
-       <span class="short"><input type="button" style="width:8%" id="btnPrev" value="< Prev"/></span>
-       <select id="selTestlist" style="width:60%"> </select>
-       <input type="button" style="width:8%" id="btnNext" value="Next >"/>
-       <input type="checkbox" name="manualonly" id="chkManualonly"/><label for="chkManualonly">Manual-Only</label>
-</div>
-<div width="99%">
-       <textarea id="testinfo" rows=8 disabled>
-       </textarea>
-</div>
-<div id="footbar">
-       <span class="short"><input type="button" style="width:8%" id="btnDone" value="Done"/></span>
-       <span class="short"><input type="radio" name="result" id="radPass" value="PASS"/><label for="radPass">Pass</label></span>
-       <span class="short"><input type="radio" name="result" id="radFail" value="FAIL"/><label for="radFail">Fail</label></span>
-       <span class="long"><input type="button" style="width:8%" id="btnRun" value="Run"/></span>
-       <input type="checkbox" name="batch" id="chkBatch"/><label for="chkBatch">Batch</label>
-</div>
-<iframe frameborder="1" width="100%" id="frmTest" allowFullScreen="true" mozAllowFullScreen="true" webkitAllowFullscreen="true" src="">
-</iframe>
-<script src="testrunner.js"> </script>
-</body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-power/testrunner.js b/wearable/tct-ui01-wrt-tests/multiple-other-power/testrunner.js
deleted file mode 100755 (executable)
index 020c464..0000000
+++ /dev/null
@@ -1,688 +0,0 @@
-/*
-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.submitResult = null;
-               this.ui = 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
-               };
-               return { 
-                       constructor: TestRunner,
-                       getTestContext: function (field) {
-                               return testContext[field];
-                       },
-
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
-                       goNext: function () {
-                               index++;
-                       },
-
-                       getTestIndex: function () {
-                               return index;
-                       },
-
-                       setTestIndex: function (ind) {
-                               index = ind;
-                       },
-
-                       getTest: function (ind) {
-                               if (typeof ind === "undefined")
-                                       ind = index;
-                               return Tests[ind];
-                       },
-
-                       addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
-                       },
-
-                       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) {
-                               if (oldRes !== null)
-                                       sum[oldRes]--;
-                               if (newRes !== null)
-                                       sum[newRes]++;
-                       },
-
-                       checkResult: function () {
-                               var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
-                               // 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) {
-                                               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');
-                                       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 () {
-                               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.pre_condition)
-                                       info += "\nPrecondition: " + tc.pre_condition;
-                               if (tc.steps)
-                                       info += "\n" + tc.steps;
-                               return info;
-                       },
-
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
-                               function getUriField(uri, param) {
-                                       var querys = uri.split("?")
-                                       if (querys.length <= 1)
-                                               return "";
-                                       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();
-                               var delay = tc.onload_delay;
-                               if (delay)
-                                       testContext.onload_delay = parseInt(delay) * 1000;
-                               else
-                                       testContext.onload_delay = 5000;
-
-                               var uri = tc.test_script_entry;
-                               var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
-                                       testContext.sub_index = parseInt(val);
-                                       testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
-                                               return "";
-                                       }
-                               } else {
-                                       testContext.uri = uri;
-                                       testContext.sub_index = 0;
-                               }
-                               testContext.prev_uri = testContext.uri;
-                               testContext.start_time = new Date();
-                               return testContext.uri;
-                       },
-
-                       load_ready: function () {
-                               if (!autoflag)
-                                       return;
-                               if (!this.checkResult()){
-                                       if (testContext.onload_delay > 0){
-                                               var tval = 500;
-                                               var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
-                                               testContext.onload_delay -= tval;
-                                               return
-                                       }
-                                       this.report("BLOCK", "Timeout");
-                               }
-                               this.doTest();
-                       },
-
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
-                       },
-
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
-                       },
-
-                       TestCase: function() {
-                               return {
-                                       id: null,
-                                       test_script_entry: null,
-                                       execution_type: "manual",
-                                       result: "NOTRUN",
-                                       purpose: "",
-                                       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) {
-                       $(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(',');
-                                       }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
-               }
-
-               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");
-       };
-
-       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());
-                       return;
-               }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
-       };
-
-       master_runner.report = function (result, log) {
-               var tc = this.getTest();
-               var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
-               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);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       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);
-       };
-
-       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);
-               self.ui.updateTestInfo("Connecting server...");
-               var f = function () {
-                       var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
-                       self.doTest();
-               };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
-               return true;
-       };
-
-       slave_runner.doTest = function () {
-               var self = this;
-               if (self.internal.stage > 0) {
-                       self.setAutomode(false);
-                       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.purpose = task.purpose;
-                               test.pre_condition = task.pre_condition;
-                               self.cleanTests();
-                               self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
-                               return;
-                       } else {  //handle manual test
-                               self.setAutomode(false);
-                               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";
-                                               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.updateList();
-                                       self.sumInit();
-                               } 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;
-                       this.ui.updateResult(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);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       slave_runner.submitResult = function () {
-               $.get(SERVER + "/generate_xml");
-               close_window();
-       };
-
-       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 selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").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 runner = null;
-               var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
-               };
-
-               var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
-               };
-
-               var selectResult = function() {
-                       runner.report(this.value, "");
-               };
-
-               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 changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
-
-               return {
-                       bind: function (r) {
-                               var self = this;
-                               r.ui = self;
-                               runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).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());
-                                       }
-                               });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
-                               $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
-                               });
-                               frmTest.height = $(window).height();
-                       },
-
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
-                               } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
-                               }
-                       },
-
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
-                       },
-                  
-                       runTest: function (uri) {
-                               if (uri)
-                                       frmTest.src = uri;
-                       },
-
-                       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) {
-                          testinfo.value = info;
-                       }
-          };
-       } ());
-
-       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";
-       $.ajaxSetup({ async: false});
-       $(window).on("ready", pre_init);
-})(window);
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/config.xml b/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/config.xml
deleted file mode 100755 (executable)
index 15fec75..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?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">
-  <access origin="*"/>
-  <icon src="icon.png" height="117" width="117"/>
-  <content src="index.html"/>
-  <name>multiple-other-systeminfo</name>
-  <tizen:application id="wrt4mos078.multipleothersysteminfo" package="wrt4mos078" required_version="2.3"/>
-</widget>
\ No newline at end of file
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/icon.png b/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/icon.png and /dev/null differ
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/index.html b/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/index.html
deleted file mode 100755 (executable)
index 8d62e64..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Hao, Yunfei <yunfenx.hao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-systeminfo</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check if WRT supports new top-level browsing context created from widget context have access to Systeminfo feature."/>
-    <meta charset="utf-8">
-    <script type="text/javascript">
-        function Run() {
-            try{
-                window.open("testkit_index.html");
-            }catch(e){
-                document.write("catch--Fail");
-            }
-        }
-    </script>
-  </head>
-  <body bgcolor="FFFFFF"  onload="Run()">
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/jquery-1.10.2.min.js b/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/jquery-1.10.2.min.js
deleted file mode 100755 (executable)
index da41706..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/*! 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/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/multiple-other-systeminfo-test.html b/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/multiple-other-systeminfo-test.html
deleted file mode 100755 (executable)
index c966532..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Hao, Yunfei <yunfenx.hao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-systeminfo-test</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Test file."/>
-    <meta charset="utf-8">
-    <script src="resources/testharness.js"></script>
-    <script src="resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <div id="log"></div>
-    <script type="text/javascript">
-        test(function() {
-            assert_true("systeminfo" in tizen);
-        }, "WRT Test: multiple-other-systeminfo-test");
-    </script>
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/resources/testharness.css b/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/resources/testharness.css
deleted file mode 100755 (executable)
index 365084f..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-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/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/resources/testharness.js b/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/resources/testharness.js
deleted file mode 100755 (executable)
index 69acd7f..0000000
+++ /dev/null
@@ -1,2237 +0,0 @@
-/*
-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:5000,
-      test_timeout:2000
-    };
-
-    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/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/resources/testharnessreport.js b/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/resources/testharnessreport.js
deleted file mode 100755 (executable)
index fa73347..0000000
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * 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/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/testkit_index.html b/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/testkit_index.html
deleted file mode 100755 (executable)
index b1a211b..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<!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">
-div#navbar,#footbar{
-       box-sizing: border-box;
-       width: 99%;
-       border: 0px;
-       text-align: left;
-       background: teal;
-       color: white;
-}
-
-textarea#testinfo{
-       width: 99%;
-       font-size: 14px;
-}
-
-input,label,select{
-       font-size: 14px;
-}
-
-span.short{
-       padding-left: 10px;
-}
-
-span.long{
-       padding-left: 60px;
-}
-</style>
-</head>
-
-<body>
-<div id="navbar">
-       <span class="short"><input type="button" style="width:8%" id="btnPrev" value="< Prev"/></span>
-       <select id="selTestlist" style="width:60%"> </select>
-       <input type="button" style="width:8%" id="btnNext" value="Next >"/>
-       <input type="checkbox" name="manualonly" id="chkManualonly"/><label for="chkManualonly">Manual-Only</label>
-</div>
-<div width="99%">
-       <textarea id="testinfo" rows=8 disabled>
-       </textarea>
-</div>
-<div id="footbar">
-       <span class="short"><input type="button" style="width:8%" id="btnDone" value="Done"/></span>
-       <span class="short"><input type="radio" name="result" id="radPass" value="PASS"/><label for="radPass">Pass</label></span>
-       <span class="short"><input type="radio" name="result" id="radFail" value="FAIL"/><label for="radFail">Fail</label></span>
-       <span class="long"><input type="button" style="width:8%" id="btnRun" value="Run"/></span>
-       <input type="checkbox" name="batch" id="chkBatch"/><label for="chkBatch">Batch</label>
-</div>
-<iframe frameborder="1" width="100%" id="frmTest" allowFullScreen="true" mozAllowFullScreen="true" webkitAllowFullscreen="true" src="">
-</iframe>
-<script src="testrunner.js"> </script>
-</body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/testrunner.js b/wearable/tct-ui01-wrt-tests/multiple-other-systeminfo/testrunner.js
deleted file mode 100755 (executable)
index 020c464..0000000
+++ /dev/null
@@ -1,688 +0,0 @@
-/*
-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.submitResult = null;
-               this.ui = 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
-               };
-               return { 
-                       constructor: TestRunner,
-                       getTestContext: function (field) {
-                               return testContext[field];
-                       },
-
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
-                       goNext: function () {
-                               index++;
-                       },
-
-                       getTestIndex: function () {
-                               return index;
-                       },
-
-                       setTestIndex: function (ind) {
-                               index = ind;
-                       },
-
-                       getTest: function (ind) {
-                               if (typeof ind === "undefined")
-                                       ind = index;
-                               return Tests[ind];
-                       },
-
-                       addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
-                       },
-
-                       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) {
-                               if (oldRes !== null)
-                                       sum[oldRes]--;
-                               if (newRes !== null)
-                                       sum[newRes]++;
-                       },
-
-                       checkResult: function () {
-                               var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
-                               // 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) {
-                                               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');
-                                       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 () {
-                               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.pre_condition)
-                                       info += "\nPrecondition: " + tc.pre_condition;
-                               if (tc.steps)
-                                       info += "\n" + tc.steps;
-                               return info;
-                       },
-
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
-                               function getUriField(uri, param) {
-                                       var querys = uri.split("?")
-                                       if (querys.length <= 1)
-                                               return "";
-                                       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();
-                               var delay = tc.onload_delay;
-                               if (delay)
-                                       testContext.onload_delay = parseInt(delay) * 1000;
-                               else
-                                       testContext.onload_delay = 5000;
-
-                               var uri = tc.test_script_entry;
-                               var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
-                                       testContext.sub_index = parseInt(val);
-                                       testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
-                                               return "";
-                                       }
-                               } else {
-                                       testContext.uri = uri;
-                                       testContext.sub_index = 0;
-                               }
-                               testContext.prev_uri = testContext.uri;
-                               testContext.start_time = new Date();
-                               return testContext.uri;
-                       },
-
-                       load_ready: function () {
-                               if (!autoflag)
-                                       return;
-                               if (!this.checkResult()){
-                                       if (testContext.onload_delay > 0){
-                                               var tval = 500;
-                                               var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
-                                               testContext.onload_delay -= tval;
-                                               return
-                                       }
-                                       this.report("BLOCK", "Timeout");
-                               }
-                               this.doTest();
-                       },
-
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
-                       },
-
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
-                       },
-
-                       TestCase: function() {
-                               return {
-                                       id: null,
-                                       test_script_entry: null,
-                                       execution_type: "manual",
-                                       result: "NOTRUN",
-                                       purpose: "",
-                                       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) {
-                       $(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(',');
-                                       }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
-               }
-
-               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");
-       };
-
-       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());
-                       return;
-               }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
-       };
-
-       master_runner.report = function (result, log) {
-               var tc = this.getTest();
-               var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
-               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);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       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);
-       };
-
-       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);
-               self.ui.updateTestInfo("Connecting server...");
-               var f = function () {
-                       var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
-                       self.doTest();
-               };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
-               return true;
-       };
-
-       slave_runner.doTest = function () {
-               var self = this;
-               if (self.internal.stage > 0) {
-                       self.setAutomode(false);
-                       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.purpose = task.purpose;
-                               test.pre_condition = task.pre_condition;
-                               self.cleanTests();
-                               self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
-                               return;
-                       } else {  //handle manual test
-                               self.setAutomode(false);
-                               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";
-                                               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.updateList();
-                                       self.sumInit();
-                               } 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;
-                       this.ui.updateResult(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);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       slave_runner.submitResult = function () {
-               $.get(SERVER + "/generate_xml");
-               close_window();
-       };
-
-       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 selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").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 runner = null;
-               var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
-               };
-
-               var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
-               };
-
-               var selectResult = function() {
-                       runner.report(this.value, "");
-               };
-
-               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 changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
-
-               return {
-                       bind: function (r) {
-                               var self = this;
-                               r.ui = self;
-                               runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).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());
-                                       }
-                               });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
-                               $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
-                               });
-                               frmTest.height = $(window).height();
-                       },
-
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
-                               } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
-                               }
-                       },
-
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
-                       },
-                  
-                       runTest: function (uri) {
-                               if (uri)
-                                       frmTest.src = uri;
-                       },
-
-                       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) {
-                          testinfo.value = info;
-                       }
-          };
-       } ());
-
-       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";
-       $.ajaxSetup({ async: false});
-       $(window).on("ready", pre_init);
-})(window);
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-time/config.xml b/wearable/tct-ui01-wrt-tests/multiple-other-time/config.xml
deleted file mode 100755 (executable)
index 088805d..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?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">
-  <access origin="*"/>
-  <icon src="icon.png" height="117" width="117"/>
-  <content src="index.html"/>
-  <name>multiple-other-time</name>
-  <tizen:application id="wrt4mot079.multipleothertime" package="wrt4mot079" required_version="2.3"/>
-  <tizen:privilege name="http://tizen.org/privilege/time"/>
-</widget>
\ No newline at end of file
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-time/icon.png b/wearable/tct-ui01-wrt-tests/multiple-other-time/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-ui01-wrt-tests/multiple-other-time/icon.png and /dev/null differ
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-time/index.html b/wearable/tct-ui01-wrt-tests/multiple-other-time/index.html
deleted file mode 100755 (executable)
index b967a88..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Hao, Yunfei <yunfenx.hao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-time</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check if WRT supports new top-level browsing context created from widget context have access to Time feature."/>
-    <meta charset="utf-8">
-    <script type="text/javascript">
-        function Run() {
-            try{
-                window.open("testkit_index.html");
-            }catch(e){
-                document.write("catch--Fail");
-            }
-        }
-    </script>
-  </head>
-  <body bgcolor="FFFFFF"  onload="Run()">
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-time/jquery-1.10.2.min.js b/wearable/tct-ui01-wrt-tests/multiple-other-time/jquery-1.10.2.min.js
deleted file mode 100755 (executable)
index da41706..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/*! 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/wearable/tct-ui01-wrt-tests/multiple-other-time/multiple-other-time-test.html b/wearable/tct-ui01-wrt-tests/multiple-other-time/multiple-other-time-test.html
deleted file mode 100755 (executable)
index b5875b5..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Hao, Yunfei <yunfenx.hao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-time-test</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Test file."/>
-    <meta charset="utf-8">
-    <script src="resources/testharness.js"></script>
-    <script src="resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <div id="log"></div>
-    <script type="text/javascript">
-        test(function() {
-            assert_true("time" in tizen);
-        }, "WRT Test: multiple-other-time-test");
-    </script>
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-time/resources/testharness.css b/wearable/tct-ui01-wrt-tests/multiple-other-time/resources/testharness.css
deleted file mode 100755 (executable)
index 365084f..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-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/wearable/tct-ui01-wrt-tests/multiple-other-time/resources/testharness.js b/wearable/tct-ui01-wrt-tests/multiple-other-time/resources/testharness.js
deleted file mode 100755 (executable)
index 69acd7f..0000000
+++ /dev/null
@@ -1,2237 +0,0 @@
-/*
-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:5000,
-      test_timeout:2000
-    };
-
-    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/wearable/tct-ui01-wrt-tests/multiple-other-time/resources/testharnessreport.js b/wearable/tct-ui01-wrt-tests/multiple-other-time/resources/testharnessreport.js
deleted file mode 100755 (executable)
index fa73347..0000000
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * 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/wearable/tct-ui01-wrt-tests/multiple-other-time/testkit_index.html b/wearable/tct-ui01-wrt-tests/multiple-other-time/testkit_index.html
deleted file mode 100755 (executable)
index b1a211b..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<!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">
-div#navbar,#footbar{
-       box-sizing: border-box;
-       width: 99%;
-       border: 0px;
-       text-align: left;
-       background: teal;
-       color: white;
-}
-
-textarea#testinfo{
-       width: 99%;
-       font-size: 14px;
-}
-
-input,label,select{
-       font-size: 14px;
-}
-
-span.short{
-       padding-left: 10px;
-}
-
-span.long{
-       padding-left: 60px;
-}
-</style>
-</head>
-
-<body>
-<div id="navbar">
-       <span class="short"><input type="button" style="width:8%" id="btnPrev" value="< Prev"/></span>
-       <select id="selTestlist" style="width:60%"> </select>
-       <input type="button" style="width:8%" id="btnNext" value="Next >"/>
-       <input type="checkbox" name="manualonly" id="chkManualonly"/><label for="chkManualonly">Manual-Only</label>
-</div>
-<div width="99%">
-       <textarea id="testinfo" rows=8 disabled>
-       </textarea>
-</div>
-<div id="footbar">
-       <span class="short"><input type="button" style="width:8%" id="btnDone" value="Done"/></span>
-       <span class="short"><input type="radio" name="result" id="radPass" value="PASS"/><label for="radPass">Pass</label></span>
-       <span class="short"><input type="radio" name="result" id="radFail" value="FAIL"/><label for="radFail">Fail</label></span>
-       <span class="long"><input type="button" style="width:8%" id="btnRun" value="Run"/></span>
-       <input type="checkbox" name="batch" id="chkBatch"/><label for="chkBatch">Batch</label>
-</div>
-<iframe frameborder="1" width="100%" id="frmTest" allowFullScreen="true" mozAllowFullScreen="true" webkitAllowFullscreen="true" src="">
-</iframe>
-<script src="testrunner.js"> </script>
-</body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-time/testrunner.js b/wearable/tct-ui01-wrt-tests/multiple-other-time/testrunner.js
deleted file mode 100755 (executable)
index 020c464..0000000
+++ /dev/null
@@ -1,688 +0,0 @@
-/*
-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.submitResult = null;
-               this.ui = 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
-               };
-               return { 
-                       constructor: TestRunner,
-                       getTestContext: function (field) {
-                               return testContext[field];
-                       },
-
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
-                       goNext: function () {
-                               index++;
-                       },
-
-                       getTestIndex: function () {
-                               return index;
-                       },
-
-                       setTestIndex: function (ind) {
-                               index = ind;
-                       },
-
-                       getTest: function (ind) {
-                               if (typeof ind === "undefined")
-                                       ind = index;
-                               return Tests[ind];
-                       },
-
-                       addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
-                       },
-
-                       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) {
-                               if (oldRes !== null)
-                                       sum[oldRes]--;
-                               if (newRes !== null)
-                                       sum[newRes]++;
-                       },
-
-                       checkResult: function () {
-                               var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
-                               // 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) {
-                                               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');
-                                       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 () {
-                               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.pre_condition)
-                                       info += "\nPrecondition: " + tc.pre_condition;
-                               if (tc.steps)
-                                       info += "\n" + tc.steps;
-                               return info;
-                       },
-
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
-                               function getUriField(uri, param) {
-                                       var querys = uri.split("?")
-                                       if (querys.length <= 1)
-                                               return "";
-                                       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();
-                               var delay = tc.onload_delay;
-                               if (delay)
-                                       testContext.onload_delay = parseInt(delay) * 1000;
-                               else
-                                       testContext.onload_delay = 5000;
-
-                               var uri = tc.test_script_entry;
-                               var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
-                                       testContext.sub_index = parseInt(val);
-                                       testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
-                                               return "";
-                                       }
-                               } else {
-                                       testContext.uri = uri;
-                                       testContext.sub_index = 0;
-                               }
-                               testContext.prev_uri = testContext.uri;
-                               testContext.start_time = new Date();
-                               return testContext.uri;
-                       },
-
-                       load_ready: function () {
-                               if (!autoflag)
-                                       return;
-                               if (!this.checkResult()){
-                                       if (testContext.onload_delay > 0){
-                                               var tval = 500;
-                                               var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
-                                               testContext.onload_delay -= tval;
-                                               return
-                                       }
-                                       this.report("BLOCK", "Timeout");
-                               }
-                               this.doTest();
-                       },
-
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
-                       },
-
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
-                       },
-
-                       TestCase: function() {
-                               return {
-                                       id: null,
-                                       test_script_entry: null,
-                                       execution_type: "manual",
-                                       result: "NOTRUN",
-                                       purpose: "",
-                                       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) {
-                       $(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(',');
-                                       }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
-               }
-
-               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");
-       };
-
-       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());
-                       return;
-               }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
-       };
-
-       master_runner.report = function (result, log) {
-               var tc = this.getTest();
-               var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
-               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);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       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);
-       };
-
-       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);
-               self.ui.updateTestInfo("Connecting server...");
-               var f = function () {
-                       var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
-                       self.doTest();
-               };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
-               return true;
-       };
-
-       slave_runner.doTest = function () {
-               var self = this;
-               if (self.internal.stage > 0) {
-                       self.setAutomode(false);
-                       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.purpose = task.purpose;
-                               test.pre_condition = task.pre_condition;
-                               self.cleanTests();
-                               self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
-                               return;
-                       } else {  //handle manual test
-                               self.setAutomode(false);
-                               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";
-                                               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.updateList();
-                                       self.sumInit();
-                               } 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;
-                       this.ui.updateResult(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);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       slave_runner.submitResult = function () {
-               $.get(SERVER + "/generate_xml");
-               close_window();
-       };
-
-       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 selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").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 runner = null;
-               var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
-               };
-
-               var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
-               };
-
-               var selectResult = function() {
-                       runner.report(this.value, "");
-               };
-
-               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 changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
-
-               return {
-                       bind: function (r) {
-                               var self = this;
-                               r.ui = self;
-                               runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).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());
-                                       }
-                               });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
-                               $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
-                               });
-                               frmTest.height = $(window).height();
-                       },
-
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
-                               } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
-                               }
-                       },
-
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
-                       },
-                  
-                       runTest: function (uri) {
-                               if (uri)
-                                       frmTest.src = uri;
-                       },
-
-                       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) {
-                          testinfo.value = info;
-                       }
-          };
-       } ());
-
-       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";
-       $.ajaxSetup({ async: false});
-       $(window).on("ready", pre_init);
-})(window);
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-tizen/config.xml b/wearable/tct-ui01-wrt-tests/multiple-other-tizen/config.xml
deleted file mode 100755 (executable)
index bbef6a2..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?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">
-  <access origin="*"/>
-  <icon src="icon.png" height="117" width="117"/>
-  <content src="index.html"/>
-  <name>multiple-other-tizen</name>
-  <tizen:application id="wrt4mot082.multipleothertizen" package="wrt4mot082" required_version="2.3"/>
-</widget>
\ No newline at end of file
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-tizen/icon.png b/wearable/tct-ui01-wrt-tests/multiple-other-tizen/icon.png
deleted file mode 100755 (executable)
index c22cfa8..0000000
Binary files a/wearable/tct-ui01-wrt-tests/multiple-other-tizen/icon.png and /dev/null differ
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-tizen/index.html b/wearable/tct-ui01-wrt-tests/multiple-other-tizen/index.html
deleted file mode 100755 (executable)
index dab6055..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Hao, Yunfei <yunfenx.hao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-tizen</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Check if WRT supports new top-level browsing context created from widget context have access to Tizen feature."/>
-    <meta charset="utf-8">
-    <script type="text/javascript">
-        function Run() {
-            try{
-                window.open("testkit_index.html");
-            }catch(e){
-                document.write("catch--Fail");
-            }
-        }
-    </script>
-  </head>
-  <body bgcolor="FFFFFF"  onload="Run()">
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-tizen/jquery-1.10.2.min.js b/wearable/tct-ui01-wrt-tests/multiple-other-tizen/jquery-1.10.2.min.js
deleted file mode 100755 (executable)
index da41706..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/*! 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/wearable/tct-ui01-wrt-tests/multiple-other-tizen/multiple-other-tizen-test.html b/wearable/tct-ui01-wrt-tests/multiple-other-tizen/multiple-other-tizen-test.html
deleted file mode 100755 (executable)
index 6d8b2c8..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2012 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:
-        Hao, Yunfei <yunfenx.hao@intel.com>
-
--->
-
-<html>
-  <head>
-    <title>WRT Test: multiple-other-tizen-test</title>
-    <link rel="author" title="Intel" href="http://www.intel.com"/>
-    <link rel="help" href=""/>
-    <meta name="flags" content=""/>
-    <meta name="assert" content="Test file."/>
-    <meta charset="utf-8">
-    <script src="resources/testharness.js"></script>
-    <script src="resources/testharnessreport.js"></script>
-  </head>
-  <body>
-    <div id="log"></div>
-    <script type="text/javascript">
-        test(function() {
-            assert_true("tizen" in window);
-        }, "WRT Test: multiple-other-tizen-test");
-    </script>
-  </body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-tizen/resources/testharness.css b/wearable/tct-ui01-wrt-tests/multiple-other-tizen/resources/testharness.css
deleted file mode 100755 (executable)
index 365084f..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-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/wearable/tct-ui01-wrt-tests/multiple-other-tizen/resources/testharness.js b/wearable/tct-ui01-wrt-tests/multiple-other-tizen/resources/testharness.js
deleted file mode 100755 (executable)
index 69acd7f..0000000
+++ /dev/null
@@ -1,2237 +0,0 @@
-/*
-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:5000,
-      test_timeout:2000
-    };
-
-    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/wearable/tct-ui01-wrt-tests/multiple-other-tizen/resources/testharnessreport.js b/wearable/tct-ui01-wrt-tests/multiple-other-tizen/resources/testharnessreport.js
deleted file mode 100755 (executable)
index fa73347..0000000
+++ /dev/null
@@ -1,380 +0,0 @@
-/*
- * 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/wearable/tct-ui01-wrt-tests/multiple-other-tizen/testkit_index.html b/wearable/tct-ui01-wrt-tests/multiple-other-tizen/testkit_index.html
deleted file mode 100755 (executable)
index b1a211b..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-<!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">
-div#navbar,#footbar{
-       box-sizing: border-box;
-       width: 99%;
-       border: 0px;
-       text-align: left;
-       background: teal;
-       color: white;
-}
-
-textarea#testinfo{
-       width: 99%;
-       font-size: 14px;
-}
-
-input,label,select{
-       font-size: 14px;
-}
-
-span.short{
-       padding-left: 10px;
-}
-
-span.long{
-       padding-left: 60px;
-}
-</style>
-</head>
-
-<body>
-<div id="navbar">
-       <span class="short"><input type="button" style="width:8%" id="btnPrev" value="< Prev"/></span>
-       <select id="selTestlist" style="width:60%"> </select>
-       <input type="button" style="width:8%" id="btnNext" value="Next >"/>
-       <input type="checkbox" name="manualonly" id="chkManualonly"/><label for="chkManualonly">Manual-Only</label>
-</div>
-<div width="99%">
-       <textarea id="testinfo" rows=8 disabled>
-       </textarea>
-</div>
-<div id="footbar">
-       <span class="short"><input type="button" style="width:8%" id="btnDone" value="Done"/></span>
-       <span class="short"><input type="radio" name="result" id="radPass" value="PASS"/><label for="radPass">Pass</label></span>
-       <span class="short"><input type="radio" name="result" id="radFail" value="FAIL"/><label for="radFail">Fail</label></span>
-       <span class="long"><input type="button" style="width:8%" id="btnRun" value="Run"/></span>
-       <input type="checkbox" name="batch" id="chkBatch"/><label for="chkBatch">Batch</label>
-</div>
-<iframe frameborder="1" width="100%" id="frmTest" allowFullScreen="true" mozAllowFullScreen="true" webkitAllowFullscreen="true" src="">
-</iframe>
-<script src="testrunner.js"> </script>
-</body>
-</html>
diff --git a/wearable/tct-ui01-wrt-tests/multiple-other-tizen/testrunner.js b/wearable/tct-ui01-wrt-tests/multiple-other-tizen/testrunner.js
deleted file mode 100755 (executable)
index 020c464..0000000
+++ /dev/null
@@ -1,688 +0,0 @@
-/*
-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.submitResult = null;
-               this.ui = 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
-               };
-               return { 
-                       constructor: TestRunner,
-                       getTestContext: function (field) {
-                               return testContext[field];
-                       },
-
-                       cleanTests: function () {
-                               Tests = [];
-                       },
-
-                       goNext: function () {
-                               index++;
-                       },
-
-                       getTestIndex: function () {
-                               return index;
-                       },
-
-                       setTestIndex: function (ind) {
-                               index = ind;
-                       },
-
-                       getTest: function (ind) {
-                               if (typeof ind === "undefined")
-                                       ind = index;
-                               return Tests[ind];
-                       },
-
-                       addTest: function (test) {
-                               Tests.push(test);
-                       },
-
-                       getTestLength: function () {
-                               if (Tests === null)
-                                       return 0;
-                               return Tests.length;
-                       },
-
-                       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) {
-                               if (oldRes !== null)
-                                       sum[oldRes]--;
-                               if (newRes !== null)
-                                       sum[newRes]++;
-                       },
-
-                       checkResult: function () {
-                               var message = "";
-                               var oTestDoc = this.ui.getTestfrmDoc();
-                               // 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) {
-                                               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');
-                                       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 () {
-                               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.pre_condition)
-                                       info += "\nPrecondition: " + tc.pre_condition;
-                               if (tc.steps)
-                                       info += "\n" + tc.steps;
-                               return info;
-                       },
-
-                       getTestCase: function (name, ind) {
-                               if (ind === null)
-                                       ind = this.getTestIndex();
-                               var tc = this.getTest(ind);
-                               return tc[name];
-                       },
-
-                       getTestCase: function () {
-                               function getUriField(uri, param) {
-                                       var querys = uri.split("?")
-                                       if (querys.length <= 1)
-                                               return "";
-                                       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();
-                               var delay = tc.onload_delay;
-                               if (delay)
-                                       testContext.onload_delay = parseInt(delay) * 1000;
-                               else
-                                       testContext.onload_delay = 5000;
-
-                               var uri = tc.test_script_entry;
-                               var val = getUriField(uri, "value");
-                               if (val && tc.execution_type == "auto") { // Need sub index in TC
-                                       testContext.sub_index = parseInt(val);
-                                       testContext.uri = uri.split("?")[0];
-                                       if (testContext.uri == testContext.prev_uri) {
-                                               this.load_ready();
-                                               return "";
-                                       }
-                               } else {
-                                       testContext.uri = uri;
-                                       testContext.sub_index = 0;
-                               }
-                               testContext.prev_uri = testContext.uri;
-                               testContext.start_time = new Date();
-                               return testContext.uri;
-                       },
-
-                       load_ready: function () {
-                               if (!autoflag)
-                                       return;
-                               if (!this.checkResult()){
-                                       if (testContext.onload_delay > 0){
-                                               var tval = 500;
-                                               var self = this;
-                                               setTimeout(function() {self.load_ready();}, tval);
-                                               testContext.onload_delay -= tval;
-                                               return
-                                       }
-                                       this.report("BLOCK", "Timeout");
-                               }
-                               this.doTest();
-                       },
-
-                       setAutomode: function (flag) {
-                               if (this.ui)
-                                       this.ui.setAutotestView(flag);
-                               autoflag = flag;
-                       },
-
-                       autoTest: function () {
-                               index = -1;
-                               this.setAutomode(true);
-                               this.doTest();
-                       },
-
-                       TestCase: function() {
-                               return {
-                                       id: null,
-                                       test_script_entry: null,
-                                       execution_type: "manual",
-                                       result: "NOTRUN",
-                                       purpose: "",
-                                       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) {
-                       $(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(',');
-                                       }
-                               } else
-                                  parms[items[i]] = 1;
-                       }
-                       if (!parms.testsuite)
-                               parms.testsuite = 'tests.xml';
-                       return parms;
-               }
-
-               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");
-       };
-
-       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());
-                       return;
-               }
-               self.ui.updateList();
-               this.setAutomode(false);
-               setTimeout(function () {self.submitResult();}, 2000);
-       };
-
-       master_runner.report = function (result, log) {
-               var tc = this.getTest();
-               var oldresult = tc.result;
-               this.sumUpdate(oldresult, result);
-               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);
-               this.ui.updateResult(result);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       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);
-       };
-
-       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);
-               self.ui.updateTestInfo("Connecting server...");
-               var f = function () {
-                       var p = self.internal.get_json("check_execution_progress");
-                       if (p)
-                               self.sumInit(parseInt(p.total));
-                       self.doTest();
-               };
-               self.setAutomode(true);
-               setTimeout(f, 2000);
-               return true;
-       };
-
-       slave_runner.doTest = function () {
-               var self = this;
-               if (self.internal.stage > 0) {
-                       self.setAutomode(false);
-                       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.purpose = task.purpose;
-                               test.pre_condition = task.pre_condition;
-                               self.cleanTests();
-                               self.addTest(test);
-                               self.setTestIndex(0);
-                               self.ui.runTest(self.getTestCase());
-                               return;
-                       } else {  //handle manual test
-                               self.setAutomode(false);
-                               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";
-                                               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.updateList();
-                                       self.sumInit();
-                               } 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;
-                       this.ui.updateResult(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);
-               this.ui.updateTestInfo(this.testinfo());
-       };
-
-       slave_runner.submitResult = function () {
-               $.get(SERVER + "/generate_xml");
-               close_window();
-       };
-
-       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 selTestlist  = $("#selTestlist").get(0);
-               var radPass = $("#radPass").get(0);
-               var radFail = $("#radFail").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 runner = null;
-               var nextTest = function () {
-                       if (selTestlist.selectedIndex >= (selTestlist.options.length - 1))
-                               selTestlist.selectedIndex = 0;
-                       else
-                               selTestlist.selectedIndex++;
-                       selectTest.call(selTestlist);
-               };
-
-               var prevTest = function() {
-                       if (selTestlist.selectedIndex <= 0)
-                               selTestlist.selectedIndex = selTestlist.options.length - 1;
-                       else
-                               selTestlist.selectedIndex--;
-                       selectTest.call(selTestlist);
-               };
-
-               var selectResult = function() {
-                       runner.report(this.value, "");
-               };
-
-               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 changeOptColor = function (result, opt) {
-                       if (result == "PASS")
-                               $(opt).css("backgroundColor", "greenyellow");
-                       else if ($.inArray(result, ["FAIL", "BLOCK"]) > -1)
-                               $(opt).css("backgroundColor", "orangered");
-               };
-
-               return {
-                       bind: function (r) {
-                               var self = this;
-                               r.ui = self;
-                               runner = r;
-                               $(radPass).on("click", selectResult);
-                               $(radFail).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());
-                                       }
-                               });
-                               $(frmTest).on("load",  function () {runner.load_ready();});
-                               $(btnDone).on("click", function () {
-                                       setTimeout(function () {runner.submitResult();}, 300);
-                                       frmTest.src = "";});
-                               $(chkManualonly).on("click", function () {
-                                       chkBatch.disabled = this.checked;
-                                       chkBatch.checked = false;
-                                       self.updateList();
-                               });
-                               frmTest.height = $(window).height();
-                       },
-
-                       setAutotestView: function (autoflag) {
-                               if (autoflag){
-                                       $(divNav).hide();
-                                       $(divFoot).hide();
-                               } else {
-                                       $(divNav).show();
-                                       $(divFoot).show();
-                                       frmTest.src = "";
-                               }
-                       },
-
-                       getTestfrmDoc: function () {
-                               return frmTest.contentWindow.document;
-                       },
-                  
-                       runTest: function (uri) {
-                               if (uri)
-                                       frmTest.src = uri;
-                       },
-
-                       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) {
-                          testinfo.value = info;
-                       }
-          };
-       } ());
-
-       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";
-       $.ajaxSetup({ async: false});
-       $(window).on("ready", pre_init);
-})(window);
diff --git a/wearable/tct-ui01-wrt-tests/pack.sh b/wearable/tct-ui01-wrt-tests/pack.sh
deleted file mode 100755 (executable)
index 62f1529..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/wearable/tct-ui01-wrt-tests/signing_whitedirs b/wearable/tct-ui01-wrt-tests/signing_whitedirs
deleted file mode 100755 (executable)
index 2762fc1..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-multiple-other-alarm
-multiple-other-application-launch
-multiple-other-application-read
-multiple-other-content-read
-multiple-other-content-write
-multiple-other-filesystem-read
-multiple-other-filesystem-write
-multiple-other-power
-multiple-other-systeminfo
-multiple-other-time
-multiple-other-tizen
diff --git a/wearable/tct-ui01-wrt-tests/tct-ui01-wrt-tests.spec b/wearable/tct-ui01-wrt-tests/tct-ui01-wrt-tests.spec
deleted file mode 100755 (executable)
index f64c4f0..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-name=$(basename $(pwd))
-main_version="2.3.1"
-release=""
-version="$main_version"
-appname=$(echo $name|sed 's/-/_/g')
diff --git a/wearable/tct-ui01-wrt-tests/testcase.xsl b/wearable/tct-ui01-wrt-tests/testcase.xsl
deleted file mode 100755 (executable)
index 8623c28..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/wearable/tct-ui01-wrt-tests/testresult.xsl b/wearable/tct-ui01-wrt-tests/testresult.xsl
deleted file mode 100755 (executable)
index d1ad1b9..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/wearable/tct-ui01-wrt-tests/tests.css b/wearable/tct-ui01-wrt-tests/tests.css
deleted file mode 100755 (executable)
index 30c3670..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/wearable/tct-ui01-wrt-tests/tests.full.xml b/wearable/tct-ui01-wrt-tests/tests.full.xml
deleted file mode 100755 (executable)
index ef64230..0000000
+++ /dev/null
@@ -1,248 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?xml-stylesheet type="text/xsl"  href="testcase.xsl"?>
-<test_definition>
-  <suite name="tct-ui01-wrt-tests" launcher="WRTLauncher -iu" category="Web Runtime">
-    <set name="multiple-other-alarm">
-      <testcase purpose="Check if WRT supports new top-level browsing context created from widget context has access to Alarm feature." type="user_experience" status="approved" component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" priority="P3" id="multiple-other-alarm">
-        <description>
-          <pre_condition/>
-          <post_condition/>
-          <steps>
-            <step order="1">
-              <step_desc>Check if WRT supports new top-level browsing context created from widget context has access to Alarm feature.</step_desc>
-              <expected>WRT supports new top-level browsing context created from widget context has access to Alarm feature.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">multiple-other-alarm-test.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion usage="true" interface="0520" specification="Multiple browsing windows support" section="Web Application Runtime UI" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-    </set>
-    <set name="multiple-other-filesystem-read">
-      <testcase purpose="Check if WRT supports new top-level browsing context created from widget context has access to Filesystem.read feature." type="user_experience" status="approved" component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" priority="P3" id="multiple-other-filesystem-read">
-        <description>
-          <pre_condition/>
-          <post_condition/>
-          <steps>
-            <step order="1">
-              <step_desc>Check if WRT supports new top-level browsing context created from widget context has access to Filesystem.read feature.</step_desc>
-              <expected>WRT supports new top-level browsing context created from widget context has access to Filesystem.read feature.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">multiple-other-filesystem-read-test.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion usage="true" interface="0520" specification="Multiple browsing windows support" section="Web Application Runtime UI" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-    </set>
-    <set name="multiple-other-filesystem-write">
-      <testcase purpose="Check if WRT supports new top-level browsing context created from widget context has access to Filesystem.write feature." type="user_experience" status="approved" component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" priority="P3" id="multiple-other-filesystem-write">
-        <description>
-          <pre_condition/>
-          <post_condition/>
-          <steps>
-            <step order="1">
-              <step_desc>Check if WRT supports new top-level browsing context created from widget context has access to Filesystem.write feature.</step_desc>
-              <expected>WRT supports new top-level browsing context created from widget context has access to Filesystem.write feature.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">multiple-other-filesystem-write-test.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion usage="true" interface="0520" specification="Multiple browsing windows support" section="Web Application Runtime UI" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-    </set>
-    <set name="multiple-other-systeminfo">
-      <testcase purpose="Check if WRT supports new top-level browsing context created from widget context has access to SystemInfor feature." type="user_experience" status="approved" component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" priority="P3" id="multiple-other-systeminfo">
-        <description>
-          <pre_condition/>
-          <post_condition/>
-          <steps>
-            <step order="1">
-              <step_desc>Check if WRT supports new top-level browsing context created from widget context has access to SystemInfor feature.</step_desc>
-              <expected>WRT supports new top-level browsing context created from widget context has access to SystemInfor feature.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">multiple-other-systeminfo-test.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion usage="true" interface="0520" specification="Multiple browsing windows support" section="Web Application Runtime UI" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-    </set>
-    <set name="multiple-other-time">
-      <testcase purpose="Check if WRT supports new top-level browsing context created from widget context has access to Time feature." type="user_experience" status="approved" component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" priority="P3" id="multiple-other-time">
-        <description>
-          <pre_condition/>
-          <post_condition/>
-          <steps>
-            <step order="1">
-              <step_desc>Check if WRT supports new top-level browsing context created from widget context has access to Time feature.</step_desc>
-              <expected>WRT supports new top-level browsing context created from widget context has access to Time feature.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">multiple-other-time-test.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion usage="true" interface="0520" specification="Multiple browsing windows support" section="Web Application Runtime UI" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-    </set>
-    <set name="multiple-other-tizen">
-      <testcase purpose="Check if WRT supports new top-level browsing context created from widget context has access to Tizen feature." type="user_experience" status="approved" component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" priority="P3" id="multiple-other-tizen">
-        <description>
-          <pre_condition/>
-          <post_condition/>
-          <steps>
-            <step order="1">
-              <step_desc>Check if WRT supports new top-level browsing context created from widget context has access to Tizen feature.</step_desc>
-              <expected>WRT supports new top-level browsing context created from widget context has access to Tizen feature.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">multiple-other-tizen-test.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion usage="true" interface="0520" specification="Multiple browsing windows support" section="Web Application Runtime UI" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-    </set>
-    <set name="multiple-other-application-launch">
-      <testcase purpose="Check if WRT supports new top-level browsing context created from widget context has access to Application.launch feature." type="user_experience" status="approved" component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" priority="P3" id="multiple-other-application-launch">
-        <description>
-          <pre_condition/>
-          <post_condition/>
-          <steps>
-            <step order="1">
-              <step_desc>Check if WRT supports new top-level browsing context created from widget context has access to Application.launch feature.</step_desc>
-              <expected>WRT supports new top-level browsing context created from widget context has access to Application.launch feature.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">multiple-other-application-launch-test.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion usage="true" interface="0520" specification="Multiple browsing windows support" section="Web Application Runtime UI" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-    </set>
-    <set name="multiple-other-application-read">
-      <testcase purpose="Check if WRT supports new top-level browsing context created from widget context has access to Application.read feature." type="user_experience" status="approved" component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" priority="P3" id="multiple-other-application-read">
-        <description>
-          <pre_condition/>
-          <post_condition/>
-          <steps>
-            <step order="1">
-              <step_desc>Check if WRT supports new top-level browsing context created from widget context has access to Application.read feature.</step_desc>
-              <expected>WRT supports new top-level browsing context created from widget context has access to Application.read feature.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">multiple-other-application-read-test.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion usage="true" interface="0520" specification="Multiple browsing windows support" section="Web Application Runtime UI" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-    </set>
-    <set name="multiple-other-content-read">
-      <testcase purpose="Check if WRT supports new top-level browsing context created from widget context has access to content.read feature." type="user_experience" status="approved" component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" priority="P3" id="multiple-other-content-read">
-        <description>
-          <pre_condition/>
-          <post_condition/>
-          <steps>
-            <step order="1">
-              <step_desc>Check if WRT supports new top-level browsing context created from widget context has access to content.read feature.</step_desc>
-              <expected>WRT supports new top-level browsing context created from widget context has access to content.read feature.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">multiple-other-content-read-test.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion usage="true" interface="0520" specification="Multiple browsing windows support" section="Web Application Runtime UI" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-    </set>
-    <set name="multiple-other-content-write">
-      <testcase purpose="Check if WRT supports new top-level browsing context created from widget context has access to content.write feature." type="user_experience" status="approved" component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" priority="P3" id="multiple-other-content-write">
-        <description>
-          <pre_condition/>
-          <post_condition/>
-          <steps>
-            <step order="1">
-              <step_desc>Check if WRT supports new top-level browsing context created from widget context has access to content.write feature.</step_desc>
-              <expected>WRT supports new top-level browsing context created from widget context has access to content.write feature.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">multiple-other-content-write-test.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion usage="true" interface="0520" specification="Multiple browsing windows support" section="Web Application Runtime UI" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-    </set>
-    <set name="multiple-other-power">
-      <testcase purpose="Check if WRT supports new top-level browsing context created from widget context has access to power feature." type="user_experience" status="approved" component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" priority="P3" id="multiple-other-power">
-        <description>
-          <pre_condition/>
-          <post_condition/>
-          <steps>
-            <step order="1">
-              <step_desc>Check if WRT supports new top-level browsing context created from widget context has access to power feature.</step_desc>
-              <expected>WRT supports new top-level browsing context created from widget context has access to power feature.</expected>
-            </step>
-          </steps>
-          <test_script_entry test_script_expected_result="0">multiple-other-power-test.html</test_script_entry>
-        </description>
-        <specs>
-          <spec>
-            <spec_assertion usage="true" interface="0520" specification="Multiple browsing windows support" section="Web Application Runtime UI" category="Tizen WRT Core Specifications"/>
-            <spec_url/>
-            <spec_statement>TBD</spec_statement>
-          </spec>
-        </specs>
-      </testcase>
-    </set>
-  </suite>
-</test_definition>
diff --git a/wearable/tct-ui01-wrt-tests/tests.xml b/wearable/tct-ui01-wrt-tests/tests.xml
deleted file mode 100755 (executable)
index 0970113..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-    <?xml-stylesheet type="text/xsl" href="./testcase.xsl"?>
-<test_definition>
-  <suite launcher="WRTLauncher -iu" name="tct-ui01-wrt-tests" category="Web Runtime">
-    <set name="multiple-other-alarm">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-alarm" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Alarm feature.">
-        <description>
-          <test_script_entry test_script_expected_result="0">multiple-other-alarm-test.html</test_script_entry>
-        </description>
-        </testcase>
-    </set>
-    <set name="multiple-other-filesystem-read">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-filesystem-read" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Filesystem.read feature.">
-        <description>
-          <test_script_entry test_script_expected_result="0">multiple-other-filesystem-read-test.html</test_script_entry>
-        </description>
-        </testcase>
-    </set>
-    <set name="multiple-other-filesystem-write">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-filesystem-write" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Filesystem.write feature.">
-        <description>
-          <test_script_entry test_script_expected_result="0">multiple-other-filesystem-write-test.html</test_script_entry>
-        </description>
-        </testcase>
-    </set>
-    <set name="multiple-other-systeminfo">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-systeminfo" purpose="Check if WRT supports new top-level browsing context created from widget context has access to SystemInfor feature.">
-        <description>
-          <test_script_entry test_script_expected_result="0">multiple-other-systeminfo-test.html</test_script_entry>
-        </description>
-        </testcase>
-    </set>
-    <set name="multiple-other-time">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-time" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Time feature.">
-        <description>
-          <test_script_entry test_script_expected_result="0">multiple-other-time-test.html</test_script_entry>
-        </description>
-        </testcase>
-    </set>
-    <set name="multiple-other-tizen">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-tizen" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Tizen feature.">
-        <description>
-          <test_script_entry test_script_expected_result="0">multiple-other-tizen-test.html</test_script_entry>
-        </description>
-        </testcase>
-    </set>
-    <set name="multiple-other-application-launch">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-application-launch" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Application.launch feature.">
-        <description>
-          <test_script_entry test_script_expected_result="0">multiple-other-application-launch-test.html</test_script_entry>
-        </description>
-        </testcase>
-    </set>
-    <set name="multiple-other-application-read">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-application-read" purpose="Check if WRT supports new top-level browsing context created from widget context has access to Application.read feature.">
-        <description>
-          <test_script_entry test_script_expected_result="0">multiple-other-application-read-test.html</test_script_entry>
-        </description>
-        </testcase>
-    </set>
-    <set name="multiple-other-content-read">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-content-read" purpose="Check if WRT supports new top-level browsing context created from widget context has access to content.read feature.">
-        <description>
-          <test_script_entry test_script_expected_result="0">multiple-other-content-read-test.html</test_script_entry>
-        </description>
-        </testcase>
-    </set>
-    <set name="multiple-other-content-write">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-content-write" purpose="Check if WRT supports new top-level browsing context created from widget context has access to content.write feature.">
-        <description>
-          <test_script_entry test_script_expected_result="0">multiple-other-content-write-test.html</test_script_entry>
-        </description>
-        </testcase>
-    </set>
-    <set name="multiple-other-power">
-      <testcase component="Web/Runtime/WebApplicationRuntimeUI" execution_type="auto" id="multiple-other-power" purpose="Check if WRT supports new top-level browsing context created from widget context has access to power feature.">
-        <description>
-          <test_script_entry test_script_expected_result="0">multiple-other-power-test.html</test_script_entry>
-        </description>
-        </testcase>
-    </set>
-  </suite>
-</test_definition>