//==== SPEC_URL https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/bluetooth.html
//==== PRIORITY P2
test(function () {
- var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ var bluetooth = tizen.systeminfo.getCapability("http://tizen.org/feature/network.bluetooth");
// if bluetooth is not supported then skip this test
- assert_own_property(deviceCapabilities, "bluetooth", "deviceCapabilities");
- if (!deviceCapabilities.bluetooth) {
+ if (!bluetooth) {
return; // test will PASS
}
//==== PRIORITY P2
test(function () {
- var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ var nfc = tizen.systeminfo.getCapability("http://tizen.org/feature/network.nfc");
// if nfc is not supported then skip this test
- assert_own_property(deviceCapabilities, "nfc", "deviceCapabilities");
- if (!deviceCapabilities.nfc) {
+ if (!nfc) {
return; // test will PASS
}
//==== PRIORITY P2
test(function () {
- var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ var nfc = tizen.systeminfo.getCapability("http://tizen.org/feature/network.nfc");
// if nfc is not supported then skip this test
- assert_own_property(deviceCapabilities, "nfc", "deviceCapabilities");
- if (!deviceCapabilities.nfc) {
+ if (!nfc) {
return; // test will PASS
}
//==== PRIORITY P2
test(function () {
- var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ var push = tizen.systeminfo.getCapability("http://tizen.org/feature/network.push");
// if push is not supported then skip this test
- assert_own_property(deviceCapabilities, "push", "deviceCapabilities");
- if (!deviceCapabilities.push) {
+ if (!push) {
return; // test will PASS
}
//==== PRIORITY P2
test(function () {
- var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ var push = tizen.systeminfo.getCapability("http://tizen.org/feature/network.push");
// if push is not supported then skip this test
- assert_own_property(deviceCapabilities, "push", "deviceCapabilities");
- if (!deviceCapabilities.push) {
+ if (!push) {
return; // test will PASS
}
//==== PRIORITY P2
test(function () {
- var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ var push = tizen.systeminfo.getCapability("http://tizen.org/feature/network.push");
// if push is not supported then skip this test
- assert_own_property(deviceCapabilities, "push", "deviceCapabilities");
- if (!deviceCapabilities.push) {
+ if (!push) {
return; // test will PASS
}
//==== PRIORITY P2
test(function () {
- var deviceCapabilities = tizen.systeminfo.getCapabilities(), service;
+ var push = tizen.systeminfo.getCapability("http://tizen.org/feature/network.push");
// if push is not supported then skip this test
- assert_own_property(deviceCapabilities, "push", "deviceCapabilities");
- if (!deviceCapabilities.push) {
+ if (!push) {
return; // test will PASS
}
//==== PRIORITY P2
test(function () {
- var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ var push = tizen.systeminfo.getCapability("http://tizen.org/feature/network.push");
// if push is not supported then skip this test
- assert_own_property(deviceCapabilities, "push", "deviceCapabilities");
- if (!deviceCapabilities.push) {
+ if (!push) {
return; // test will PASS
}
//==== PRIORITY P2
test(function () {
- var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ var secureElement = tizen.systeminfo.getCapability("http://tizen.org/feature/network.secure_element");
// if secureElement is not supported then skip this test
- assert_own_property(deviceCapabilities, "secureElement", "deviceCapabilities");
- if (!deviceCapabilities.secureElement) {
+ if (!secureElement) {
return; // test will PASS
}
//==== PRIORITY P2
test(function () {
- var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ var secureElement = tizen.systeminfo.getCapability("http://tizen.org/feature/network.secure_element");
// if secureElement is not supported then skip this test
- assert_own_property(deviceCapabilities, "secureElement", "deviceCapabilities");
- if (!deviceCapabilities.secureElement) {
+ if (!secureElement) {
return; // test will PASS
}
//==== PRIORITY P2
test(function () {
- var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ var secureElement = tizen.systeminfo.getCapability("http://tizen.org/feature/network.secure_element");
// if secureElement is not supported then skip this test
- assert_own_property(deviceCapabilities, "secureElement", "deviceCapabilities");
- if (!deviceCapabilities.secureElement) {
+ if (!secureElement) {
return; // test will PASS
}
//==== PRIORITY P2
test(function () {
- var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ var secureElement = tizen.systeminfo.getCapability("http://tizen.org/feature/network.secure_element");
// if secureElement is not supported then skip this test
- assert_own_property(deviceCapabilities, "secureElement", "deviceCapabilities");
- if (!deviceCapabilities.secureElement) {
+ if (!secureElement) {
return; // test will PASS
}