[Namespace] error message fixed
authorPiotr Szydelko <p.szydelko@samsung.com>
Tue, 20 Aug 2013 06:51:53 +0000 (08:51 +0200)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Tue, 20 Aug 2013 11:54:32 +0000 (11:54 +0000)
Change-Id: I54dc4ee6682953fcd082325bcdca4a3f4730051d

27 files changed:
tct-namespace-tizen-tests/config.xml.wgt [changed mode: 0755->0644]
tct-namespace-tizen-tests/namespace/Alarm_AlarmManagerObject.html
tct-namespace-tizen-tests/namespace/Application_ApplicationManagerObject.html
tct-namespace-tizen-tests/namespace/Bluetooth_BluetoothManagerObject.html
tct-namespace-tizen-tests/namespace/Bookmark_BookmarkManagerObject.html
tct-namespace-tizen-tests/namespace/Calendar_CalendarManagerObject.html
tct-namespace-tizen-tests/namespace/Callhistory_CallHistoryObject.html
tct-namespace-tizen-tests/namespace/Contact_ContactManagerObject.html
tct-namespace-tizen-tests/namespace/Content_ContentManagerObject.html
tct-namespace-tizen-tests/namespace/DataControl_DataControlManagerObject.html
tct-namespace-tizen-tests/namespace/DataSync_DataSynchronizationManagerObject.html
tct-namespace-tizen-tests/namespace/Download_DownloadManagerObject.html
tct-namespace-tizen-tests/namespace/Filesystem_FileSystemManagerObject.html
tct-namespace-tizen-tests/namespace/MessagePort_MessagePortManagerObject.html
tct-namespace-tizen-tests/namespace/Messaging_MessageManagerObject.html
tct-namespace-tizen-tests/namespace/NFC_NFCManagerObject.html
tct-namespace-tizen-tests/namespace/NetworkBearerSelection_NetworkBearerSelectionObject.html [changed mode: 0755->0644]
tct-namespace-tizen-tests/namespace/Notification_NotificationObject.html
tct-namespace-tizen-tests/namespace/Package_PackageManagerObject.html
tct-namespace-tizen-tests/namespace/Power_PowerManagerObject.html
tct-namespace-tizen-tests/namespace/Push_PushManagerObject.html
tct-namespace-tizen-tests/namespace/SecureElement_SEServiceManagerObject.html
tct-namespace-tizen-tests/namespace/SystemInfo_SystemInfoObject.html
tct-namespace-tizen-tests/namespace/SystemSetting_SystemSettingObject.html
tct-namespace-tizen-tests/namespace/Time_TimeManagerObject.html
tct-namespace-tizen-tests/namespace/Tizen_TizenObject.html
tct-namespace-tizen-tests/tct-namespace-tizen-tests.spec [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index fea48f7272e4569178640f58f1b639c595fb3b90..075ebdf61a3c40bac95ba1ec3015aa1bd2d6fb8f 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>Alarm_AlarmManagerObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,6 +38,7 @@ Authors:
 
 test(function () {
     assert_type(tizen.alarm, "object", "tizen.alarm object must exist");
+    assert_not_equals(tizen.alarm, null, "tizen.alarm");
 }, "Alarm_AlarmManagerObject");
 
 </script>
index f3d005360978aa6414b9a5d55e55163ea35d9643..7b0f3298c3da67a2dd260ec5f7bea0c3a02739ef 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>Application_ApplicationManagerObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,6 +38,7 @@ Authors:
 
 test(function () {
     assert_type(tizen.application, "object", "tizen.application object must exist");
+    assert_not_equals(tizen.application, null, "tizen.application");
 }, "Application_ApplicationManagerObject");
 
 </script>
index ccdf61b3213dbf9f7ea1867fef83ead10f00f416..79c8a1f9ca78471602bd8125c8f27b5cc476103f 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>Bluetooth_BluetoothManagerObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -43,8 +43,9 @@ test(function () {
 
     if (deviceCapabilities.bluetooth) {
         assert_type(tizen.bluetooth, "object", "tizen.bluetooth object must exist");
+        assert_not_equals(tizen.bluetooth, null, "tizen.bluetooth");
     } else {
-        assert_type(tizen.bluetooth, "undefined", "tizen.bluetooth must return undefined");
+        assert_equals(tizen.bluetooth, undefined, "tizen.bluetooth must return undefined");
     }
 }, "Bluetooth_BluetoothManagerObject");
 
index 6b6ac87680b199e419ca2bb20e247bd4af73d0eb..af9121098c9a6fcb57c0115989dc4f5ed2acec84 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>Bookmark_BookmarkManagerObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,6 +38,7 @@ Authors:
 
 test(function () {
     assert_type(tizen.bookmark, "object", "tizen.bookmark object must exist");
+    assert_not_equals(tizen.bookmark, null, "tizen.bookmark");
 }, "Bookmark_BookmarkManagerObject");
 
 </script>
index 8db1ac25c08e72667da839e229098e35f69e7214..858c2bc14eeab9c5277d643e2cfd4503a5498486 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>Calendar_CalendarManagerObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,6 +38,7 @@ Authors:
 
 test(function () {
     assert_type(tizen.calendar, "object", "tizen.calendar object must exist");
+    assert_not_equals(tizen.calendar, null, "tizen.calendar");
 }, "Calendar_CalendarManagerObject");
 
 </script>
index 75ef052bbd34e3a6580c54e07977704959643b11..5d4f7d80848ccfe77f265ed780f203fbd7441c30 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>Callhistory_CallHistoryObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -43,8 +43,9 @@ test(function () {
 
     if (deviceCapabilities.telephony) {
         assert_type(tizen.callhistory, "object", "tizen.callhistory object must exist");
+        assert_not_equals(tizen.callhistory, null, "tizen.callhistory");
     } else {
-        assert_type(tizen.callhistory, "undefined", "tizen.callhistory must return undefined");
+        assert_equals(tizen.callhistory, undefined, "tizen.callhistory must return undefined");
     }
 }, "Callhistory_CallHistoryObject");
 
index 42f4777b6715dfb3a956b2b851fe6927ab410ef3..6da92f4749a8b7e435eb8c5c3741520893473e76 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>Contact_ContactManagerObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,6 +38,7 @@ Authors:
 
 test(function () {
     assert_type(tizen.contact, "object", "tizen.contact object must exist");
+    assert_not_equals(tizen.contact, null, "tizen.contact");
 }, "Contact_ContactManagerObject");
 
 </script>
index 9da76dac973613aba84624c9d9e38783301e9cef..031c442d77d9d8f592a192a5337e7be5905ffa2b 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>Content_ContentManagerObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,6 +38,7 @@ Authors:
 
 test(function () {
     assert_type(tizen.content, "object", "tizen.content object must exist");
+    assert_not_equals(tizen.content, null, "tizen.content");
 }, "Content_ContentManagerObject");
 
 </script>
index bebe83e29d198d675c7fe3c6d74f0e823983dbd1..36b47e5535f9f6357d6b1b4554cec85ac982b521 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>DataControl_DataControlManagerObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,6 +38,7 @@ Authors:
 
 test(function () {
     assert_type(tizen.datacontrol, "object", "tizen.datacontrol object must exist");
+    assert_not_equals(tizen.datacontrol, null, "tizen.datacontrol");
 }, "DataControl_DataControlManagerObject");
 
 </script>
index 12a9bec46f21d5f5e14497c4144f883f44aeb802..853cdea7cc34293bdb3ff9c78e85003735c5527f 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>DataSync_DataSynchronizationManagerObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,6 +38,7 @@ Authors:
 
 test(function () {
     assert_type(tizen.datasync, "object", "tizen.datasync object must exist");
+    assert_not_equals(tizen.datasync, null, "tizen.datasync");
 }, "DataSync_DataSynchronizationManagerObject");
 
 </script>
index afea64f9be6936bc0638d19734de334cd0509ee5..20855097aa32ad593896ba085b26dcf36310c278 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>Download_DownloadManagerObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,6 +38,7 @@ Authors:
 
 test(function () {
     assert_type(tizen.download, "object", "tizen.download object must exist");
+    assert_not_equals(tizen.download, null, "tizen.download");
 }, "Download_DownloadManagerObject");
 
 </script>
index 345a241c9f007e79647305a09b1d1320696710fc..8624c316cbf19c8c75d6ffeb0292b4822bca9ac6 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>Filesystem_FileSystemManagerObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,6 +38,7 @@ Authors:
 
 test(function () {
     assert_type(tizen.filesystem, "object", "tizen.filesystem object must exist");
+    assert_not_equals(tizen.filesystem, null, "tizen.filesystem");
 }, "Filesystem_FileSystemManagerObject");
 
 </script>
index be0a5d9499e390ca396d2e0fdfb254025a683914..1ef243a04092980b5f4cd8c6ed3860b7b4ab29f5 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>MessagePort_MessagePortManagerObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,6 +38,7 @@ Authors:
 
 test(function () {
     assert_type(tizen.messageport, "object", "tizen.messageport object must exist");
+    assert_not_equals(tizen.messageport, null, "tizen.messageport");
 }, "MessagePort_MessagePortManagerObject");
 
 </script>
index 35dde46517e3e31abbf420468370c314def87b38..bfc7ccb61b9d0a003ca940431b05b159409831e6 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>Messaging_MessageManagerObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,6 +38,7 @@ Authors:
 
 test(function () {
     assert_type(tizen.messaging, "object", "tizen.messaging object must exist");
+    assert_not_equals(tizen.messaging, null, "tizen.messaging");
 }, "Messaging_MessageManagerObject");
 
 </script>
index 916a8eb2ca911470e43d8b27d7ecc11bb2c7c61f..db324f1af4f6770edcf786f2302e5356a6740258 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>NFC_NFCManagerObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -43,8 +43,9 @@ test(function () {
 
     if (deviceCapabilities.nfc) {
         assert_type(tizen.nfc, "object", "tizen.nfc object must exist");
+        assert_not_equals(tizen.nfc, null, "tizen.nfc");
     } else {
-        assert_type(tizen.nfc, "undefined", "tizen.nfc must return undefined");
+        assert_equals(tizen.nfc, undefined, "tizen.nfc must return undefined");
     }
 }, "NFC_NFCManagerObject");
 
old mode 100755 (executable)
new mode 100644 (file)
index ee2364c..0200e73
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>NetworkBearerSelection_NetworkBearerSelectionObject </title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -43,8 +43,9 @@ test(function () {
 
     if (deviceCapabilities.telephony) {
         assert_type(tizen.networkbearerselection, "object", "tizen.networkbearerselection object must exist");
+        assert_not_equals(tizen.networkbearerselection, null, "tizen.networkbearerselection");
     } else {
-        assert_type(tizen.networkbearerselection, "undefined", "tizen.networkbearerselection must return undefined");
+        assert_equals(tizen.networkbearerselection, undefined, "tizen.networkbearerselection must return undefined");
     }
 }, "NetworkBearerSelection_NetworkBearerSelectionObject ");
 
index 87cb8221a28e3d4298e025517a4f536f96787bd9..59c890c7d56f2153bd614b8a927a079b45a6e2c3 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>Notification_NotificationObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,6 +38,7 @@ Authors:
 
 test(function () {
     assert_type(tizen.notification, "object", "tizen.notification object must exist");
+    assert_not_equals(tizen.notification, null, "tizen.notification");
 }, "Notification_NotificationObject");
 
 </script>
index ec64064742c8669a4d0961a8946f181e147ed03f..924b9ad31125bb79ae023627f523fd5811310742 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>Package_PackageManagerObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,6 +38,7 @@ Authors:
 
 test(function () {
     assert_type(tizen.package, "object", "tizen.package object must exist");
+    assert_not_equals(tizen.package, null, "tizen.package");
 }, "Package_PackageManagerObject");
 
 </script>
index 69e0b3ce8ca6361df95c0c4015cd63c7f325cf45..b5b1be919d0a89d6a9a6f5b16ea4a6ce42e843d6 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>Power_PowerManagerObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,6 +38,7 @@ Authors:
 
 test(function () {
     assert_type(tizen.power, "object", "tizen.power object must exist");
+    assert_not_equals(tizen.power, null, "tizen.power");
 }, "Power_PowerManagerObject");
 
 </script>
index 8f58101def59ccbdeb181ccd7872e5683ce3a31c..a43d2b8a3a0c7c78b6b3bcaba47e520e9fbba474 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>Push_PushManagerObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -43,8 +43,9 @@ test(function () {
 
     if (deviceCapabilities.push) {
         assert_type(tizen.push, "object", "tizen.push object must exist");
+        assert_not_equals(tizen.push, null, "tizen.push");
     } else {
-        assert_type(tizen.push, "undefined", "tizen.push must return undefined");
+        assert_equals(tizen.push, undefined, "tizen.push must return undefined");
     }
 }, "Push_PushManagerObject");
 
index 73559b97736c7eefce6d5c1fa1451578e9736a68..4d12a8d56490661768c09de42c62d98784e94298 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>SecureElement_SEServiceManagerObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -43,8 +43,9 @@ test(function () {
 
     if (deviceCapabilities.secureElement) {
         assert_type(tizen.seService, "object", "tizen.seService object must exist");
+        assert_not_equals(tizen.seService, null, "tizen.seService");
     } else {
-        assert_type(tizen.seService, "undefined", "tizen.seService must return undefined");
+        assert_equals(tizen.seService, undefined, "tizen.seService must return undefined");
     }
 }, "SecureElement_SEServiceManagerObject");
 
index 6eaf3fed1fcf3e99a5067a9c4d9dd77c11863a0f..d1f0d4e6a9c5f9290fb72564c3cf949ffab05003 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>SystemInfo_SystemInfoObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,6 +38,7 @@ Authors:
 
 test(function () {
     assert_type(tizen.systeminfo, "object", "tizen.systeminfo object must exist");
+    assert_not_equals(tizen.systeminfo, null, "tizen.systeminfo");
 }, "SystemInfo_SystemInfoObject");
 
 </script>
index e51ed91a3ab8c57ec72bde714ff9ea62fd60ea6c..77b0477b9837aabcdf5b6b245bf3d41630ab94e9 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>SystemSetting_SystemSettingObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,6 +38,7 @@ Authors:
 
 test(function () {
     assert_type(tizen.systemsetting, "object", "tizen.systemsetting object must exist");
+    assert_not_equals(tizen.systemsetting, null, "tizen.systemsetting");
 }, "SystemSetting_SystemSettingObject");
 
 </script>
index 2648f8503115f3bcde6814c2aa831874ec943456..5e381b058955d96563141e2674391bd70c732174 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>Time_TimeManagerObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -38,6 +38,7 @@ Authors:
 
 test(function () {
     assert_type(tizen.time, "object", "tizen.time object must exist");
+    assert_not_equals(tizen.time, null, "tizen.time");
 }, "Time_TimeManagerObject");
 
 </script>
index 8a6ce31d324b7618d84079d2ef70714f0c8a0e90..520d28a3b26d8ba263b092c05b8bc1ff7db5cf6b 100644 (file)
@@ -1,4 +1,4 @@
-<!doctype html>
+<!DOCTYPE html>
 <!--
 Copyright (c) 2013 Samsung Electronics Co., Ltd.
 
@@ -24,7 +24,7 @@ Authors:
 <head>
 <title>Tizen_TizenObject</title>
 <meta charset="utf-8"/>
-<script language="javascript" src="../resources/unitcommon.js"></script>
+<script type="text/javascript" src="../resources/unitcommon.js"></script>
 </head>
 
 <body>
@@ -37,7 +37,8 @@ Authors:
 //==== SPEC_URL https://developer.tizen.org/help/index.jsp?topic=/org.tizen.web.device.apireference/tizen/nfc.html
 
 test(function () {
-    assert_type(tizen, "object", "tizen.alarm object must exist");
+    assert_type(tizen, "object", "tizen object must exist");
+    assert_not_equals(tizen, null, "tizen");
 }, "Tizen_TizenObject");
 
 </script>