-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
test(function () {
assert_type(tizen.alarm, "object", "tizen.alarm object must exist");
+ assert_not_equals(tizen.alarm, null, "tizen.alarm");
}, "Alarm_AlarmManagerObject");
</script>
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
test(function () {
assert_type(tizen.application, "object", "tizen.application object must exist");
+ assert_not_equals(tizen.application, null, "tizen.application");
}, "Application_ApplicationManagerObject");
</script>
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
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");
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
test(function () {
assert_type(tizen.bookmark, "object", "tizen.bookmark object must exist");
+ assert_not_equals(tizen.bookmark, null, "tizen.bookmark");
}, "Bookmark_BookmarkManagerObject");
</script>
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
test(function () {
assert_type(tizen.calendar, "object", "tizen.calendar object must exist");
+ assert_not_equals(tizen.calendar, null, "tizen.calendar");
}, "Calendar_CalendarManagerObject");
</script>
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
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");
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
test(function () {
assert_type(tizen.contact, "object", "tizen.contact object must exist");
+ assert_not_equals(tizen.contact, null, "tizen.contact");
}, "Contact_ContactManagerObject");
</script>
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
test(function () {
assert_type(tizen.content, "object", "tizen.content object must exist");
+ assert_not_equals(tizen.content, null, "tizen.content");
}, "Content_ContentManagerObject");
</script>
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
test(function () {
assert_type(tizen.datacontrol, "object", "tizen.datacontrol object must exist");
+ assert_not_equals(tizen.datacontrol, null, "tizen.datacontrol");
}, "DataControl_DataControlManagerObject");
</script>
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
test(function () {
assert_type(tizen.datasync, "object", "tizen.datasync object must exist");
+ assert_not_equals(tizen.datasync, null, "tizen.datasync");
}, "DataSync_DataSynchronizationManagerObject");
</script>
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
test(function () {
assert_type(tizen.download, "object", "tizen.download object must exist");
+ assert_not_equals(tizen.download, null, "tizen.download");
}, "Download_DownloadManagerObject");
</script>
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
test(function () {
assert_type(tizen.filesystem, "object", "tizen.filesystem object must exist");
+ assert_not_equals(tizen.filesystem, null, "tizen.filesystem");
}, "Filesystem_FileSystemManagerObject");
</script>
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
test(function () {
assert_type(tizen.messageport, "object", "tizen.messageport object must exist");
+ assert_not_equals(tizen.messageport, null, "tizen.messageport");
}, "MessagePort_MessagePortManagerObject");
</script>
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
test(function () {
assert_type(tizen.messaging, "object", "tizen.messaging object must exist");
+ assert_not_equals(tizen.messaging, null, "tizen.messaging");
}, "Messaging_MessageManagerObject");
</script>
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
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");
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
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 ");
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
test(function () {
assert_type(tizen.notification, "object", "tizen.notification object must exist");
+ assert_not_equals(tizen.notification, null, "tizen.notification");
}, "Notification_NotificationObject");
</script>
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
test(function () {
assert_type(tizen.package, "object", "tizen.package object must exist");
+ assert_not_equals(tizen.package, null, "tizen.package");
}, "Package_PackageManagerObject");
</script>
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
test(function () {
assert_type(tizen.power, "object", "tizen.power object must exist");
+ assert_not_equals(tizen.power, null, "tizen.power");
}, "Power_PowerManagerObject");
</script>
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
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");
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
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");
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
test(function () {
assert_type(tizen.systeminfo, "object", "tizen.systeminfo object must exist");
+ assert_not_equals(tizen.systeminfo, null, "tizen.systeminfo");
}, "SystemInfo_SystemInfoObject");
</script>
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
test(function () {
assert_type(tizen.systemsetting, "object", "tizen.systemsetting object must exist");
+ assert_not_equals(tizen.systemsetting, null, "tizen.systemsetting");
}, "SystemSetting_SystemSettingObject");
</script>
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
test(function () {
assert_type(tizen.time, "object", "tizen.time object must exist");
+ assert_not_equals(tizen.time, null, "tizen.time");
}, "Time_TimeManagerObject");
</script>
-<!doctype html>
+<!DOCTYPE html>
<!--
Copyright (c) 2013 Samsung Electronics Co., Ltd.
<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>
//==== 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>