{
- "main-version": "6",
- "release-version": "0"
+ "main-version": "5",
+ "release-version": "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://tizen.org/test/tct-behavior-tests" version="6.0" viewmodes="">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/test/tct-behavior-tests" version="5.5" viewmodes="">
<access origin="*"/>
- <tizen:application id="tctbhtests.TCTBehaviorTests" package="tctbhtests" required_version="6.0"/>
+ <tizen:application id="tctbhtests.TCTBehaviorTests" package="tctbhtests" required_version="5.5"/>
<icon src="icon.png" height="117" width="117"/>
<name>tct-behavior-tests</name>
<tizen:privilege name="http://tizen.org/privilege/location"/>
{
- "version": "6.0",
+ "version": "5.5",
"name": "tct-behavior-tests",
"permissions": ["tabs", "unlimited_storage", "notifications", "http://*/*", "https://*/*"],
"description": "tct-behavior-tests",
};
function gettpkInfoByPlatForm(){
- var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
- if (arch == "armv7") {
+ var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ if(deviceCapabilities.platformCoreCpuArch=="armv7"){
wgt_names.unshift("rMLtTXzQr2-2.0.0-arm.tpk");
package_ids.unshift("rMLtTXzQr2");
launch_tpk = "rMLtTXzQr2.DBV";
- } else if (arch == "x86") {
+ }else if(deviceCapabilities.platformCoreCpuArch=="x86"){
wgt_names.unshift("SD2nFxbyeA-2.0.0-i386.tpk");
package_ids.unshift("SD2nFxbyeA");
launch_tpk = "SD2nFxbyeA.DBV";
};
function gettpkInfoByPlatForm(){
- var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
- if (arch == "armv7") {
+ var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ if(deviceCapabilities.platformCoreCpuArch=="armv7"){
wgt_names.unshift("rMLtTXzQr2-2.0.0-arm.tpk");
package_ids.unshift("rMLtTXzQr2");
launch_tpk = "rMLtTXzQr2.DBV";
- } else if (arch == "x86") {
+ }else if(deviceCapabilities.platformCoreCpuArch=="x86"){
wgt_names.unshift("SD2nFxbyeA-2.0.0-i386.tpk");
package_ids.unshift("SD2nFxbyeA");
launch_tpk = "SD2nFxbyeA.DBV";
<p>Expected Result: </p>
<ul>
<li>The "JS time" is different from the "Difference time".</li>
- <li>The "Animation time" is the same with the "Difference time".</li>
+ <li>The "Animation time" is different from the "Difference time".</li>
</ul>
</font>
</div>
try {
navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia;
navigator.getUserMedia({video: true}, function(s){
- $("#localView")[0].srcObject = s;
+ var url = webkitURL.createObjectURL(s);
+ $("#localView")[0].src = url;
$("#localView").show();
$("#errormassage").hide();
EnablePassButton();
var packageEventCallback = {
oninstalled: function(packageInfo) {
+ hideProcess();
alert("The application " + packageInfo.name + " is installed");
},
onuninstalled: function(packageId) {
+ hideProcess();
alert("The Clipboard application is uninstalled");
}
};
console.log("Installation(" + packageId + ") Complete");
$("#install").addClass("ui-disabled");
$("#launch1").removeClass("ui-disabled");
- hideProcess();
}
}
console.log("Uninstallation(" + packageId + ") Complete");
$("#launch1").addClass("ui-disabled");
$("#uninstall").addClass("ui-disabled");
- hideProcess();
EnablePassButton();
}
}
var packageEventCallback = {
oninstalled: function(packageInfo) {
+ hideProcess();
alert("The application " + packageInfo.name + " is installed");
},
onuninstalled: function(packageId) {
+ hideProcess();
alert("The application DragandDrop is uninstalled");
}
};
$("#install").addClass("ui-disabled");
$("#launch1").removeClass("ui-disabled");
}
- hideProcess();
}
}
console.log("Uninstallation(" + packageId + ") Complete");
$("#launch1").addClass("ui-disabled");
$("#uninstall").addClass("ui-disabled");
- hideProcess();
EnablePassButton();
}
}
};
function gettpkInfoByPlatForm(){
- var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
- if (arch == "armv7") {
+ var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ if(deviceCapabilities.platformCoreCpuArch=="armv7"){
wgt_names.unshift("rMLtTXzQr2-2.0.0-arm.tpk");
package_ids.unshift("rMLtTXzQr2");
launch_tpk = "rMLtTXzQr2.DBV";
- } else if (arch == "x86") {
+ }else if(deviceCapabilities.platformCoreCpuArch=="x86"){
wgt_names.unshift("SD2nFxbyeA-2.0.0-i386.tpk");
package_ids.unshift("SD2nFxbyeA");
launch_tpk = "SD2nFxbyeA.DBV";
var packageEventCallback = {
oninstalled: function(packageInfo) {
+ hideProcess();
alert("The application " + packageInfo.name + " is installed");
},
onupdated: function(packageInfo) {
+ hideProcess();
alert("The application " + packageInfo.name + " is updated");
+ $("#update").removeClass("ui-disabled");
},
onuninstalled: function(packageId) {
+ hideProcess();
alert("The Hybrid application is uninstalled");
}
};
$("#update").addClass("ui-disabled");
$("#launch2").removeClass("ui-disabled");
}
- hideProcess();
}
}
$("#launch2").addClass("ui-disabled");
$("#uninstall").addClass("ui-disabled");
$("#launch3").removeClass("ui-disabled");
- hideProcess();
}
}
}
//add corssplatform support
- var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
- if (arch == "armv7") {
+ var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ platformName = deviceCapabilities.platformCoreCpuArch;
+ if (platformName.indexOf("armv7") >= 0) {
packagePath = "wgt-package/tests/HybridApplication/res/armv7/";
- } else if (arch == "x86") {
+ } else if (platformName.indexOf("x86") >= 0) {
packagePath = "wgt-package/tests/HybridApplication/res/x86/";
} else {
alert("Error: Unsupported platform");
*/
var h, m, s, day, year, month, date;
-var telephonyMms;
+var deviceCapabilities;
$(document).delegate("#main", "pageinit", function() {
$("#sms").bind("vclick", function() {
$("#mms").bind("vclick", function() {
tizen.messaging.getMessageServices("messaging.mms", mmsSuccessCallback, errorCallback);
});
-
- telephonyMms = tizen.systeminfo.getCapability("http://tizen.org/feature/network.telephony.mms");
- if(!telephonyMms) {
+ deviceCapabilities = tizen.systeminfo.getCapabilities();
+ if(!deviceCapabilities.telephonyMms) {
$("#mms").addClass("ui-disabled");
}
});
<div data-role="footer" data-position="fixed" data-tap-toggle="false">
</div>
<div data-role="popup" id="popup_info">
- <div style="font-size:85%">
- <p>Check if the screen status is successfully changed after every step</p>
+ <font style="font-size:85%">
+ <p>Check if the screen status is successfully changed</p>
<p>(Note: Response time varies depends on the system setting)</p><br>
- <p>* Setting -> Display -> Screen Timeout: 15 Seconds</p>
- <p>* Default screen behavior: NORMAL -> (after screen timeout) -> screen goes DIM -> (after a while) -> screen turns OFF</p>
- <p>1. Click 'Request SCREEN_DIM' : Check if the screen becomes DIM within 15 seconds. The screen stays at DIM and not turned off. To restore the default screen behavior, click 'Release SCREEN'.</p>
- <p>2. Click 'Request SCREEN_NORMAL' : Check if the screen stays at NORMAL even after 15 seconds. To restore the default screen behavior, click 'Release SCREEN'.</p>
- <p>3. Click 'Turn SCREEN_OFF' and check if the screen is turned off immediately.</p>
- </div>
+ <p>* Setting -> Display -> Backlight time : 15 Seconds<p>
+ <p>1. Click Turn SCREEN_OFF and check the screen is off immediately</p>
+ <p>2. Click Request SCREEN_DIM(After 15 second) : Check if the screen is dim. But Screen doesn't turn off</p>
+ <p>3. Click Request SCREEN_NORMAL(After 15 second) : Check if the screen doesn't dim and turn off</p>
+ <p>4. Click Release SCREEN(After 15 second) : Check the screen resource release(Screen is dim and turn off)</p>
+ </font>
</div>
</body>
</html>
<?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/test/tct-behavior-tests" version="6.0" viewmodes="">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/test/tct-behavior-tests" version="5.5" viewmodes="">
<access origin="*"/>
- <tizen:application id="tctbhtests.TCTBehaviorTests" package="tctbhtests" required_version="6.0"/>
+ <tizen:application id="tctbhtests.TCTBehaviorTests" package="tctbhtests" required_version="5.5"/>
<icon src="icon.png" height="117" width="117"/>
<name>tct-behavior-tests</name>
<tizen:privilege name="http://tizen.org/privilege/mediacapture"/>
{
- "version": "6.0",
+ "version": "5.5",
"name": "tct-behavior-tests",
"permissions": ["tabs", "unlimited_storage", "notifications", "http://*/*", "https://*/*"],
"description": "tct-behavior-tests",
name="tct-behavior-tests"
-main_version="6.0"
+main_version="5.5"
release=""
version="$main_version"
appname=$(echo $name|sed 's/-/_/g')
};
function gettpkInfoByPlatForm(){
- var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
- if (arch == "armv7") {
+ var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ if(deviceCapabilities.platformCoreCpuArch=="armv7"){
wgt_names.unshift("rMLtTXzQr2-2.0.0-arm.tpk");
package_ids.unshift("rMLtTXzQr2");
launch_tpk = "rMLtTXzQr2.DBV";
- } else if (arch == "x86") {
+ }else if(deviceCapabilities.platformCoreCpuArch=="x86"){
wgt_names.unshift("SD2nFxbyeA-2.0.0-i386.tpk");
package_ids.unshift("SD2nFxbyeA");
launch_tpk = "SD2nFxbyeA.DBV";
};
function gettpkInfoByPlatForm(){
- var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
- if (arch == "armv7") {
+ var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ if(deviceCapabilities.platformCoreCpuArch=="armv7"){
wgt_names.unshift("rMLtTXzQr2-2.0.0-arm.tpk");
package_ids.unshift("rMLtTXzQr2");
launch_tpk = "rMLtTXzQr2.DBV";
- } else if (arch == "x86") {
+ }else if(deviceCapabilities.platformCoreCpuArch=="x86"){
wgt_names.unshift("SD2nFxbyeA-2.0.0-i386.tpk");
package_ids.unshift("SD2nFxbyeA");
launch_tpk = "SD2nFxbyeA.DBV";
};
function gettpkInfoByPlatForm(){
- var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
- if (arch == "armv7") {
+ var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ if(deviceCapabilities.platformCoreCpuArch=="armv7"){
wgt_names.unshift("rMLtTXzQr2-2.0.0-arm.tpk");
package_ids.unshift("rMLtTXzQr2");
launch_tpk = "rMLtTXzQr2.DBV";
- } else if (arch == "x86") {
+ }else if(deviceCapabilities.platformCoreCpuArch=="x86"){
wgt_names.unshift("SD2nFxbyeA-2.0.0-i386.tpk");
package_ids.unshift("SD2nFxbyeA");
launch_tpk = "SD2nFxbyeA.DBV";
}
//add corssplatform support
- var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
- if (arch == "armv7") {
+ var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ platformName = deviceCapabilities.platformCoreCpuArch;
+ if (platformName.indexOf("armv7") >= 0) {
packagePath = "wgt-package/tests/HybridApplication/res/armv7/";
- } else if (arch == "x86") {
+ } else if (platformName.indexOf("x86") >= 0) {
packagePath = "wgt-package/tests/HybridApplication/res/x86/";
} else {
alert("Error: Unsupported platform");
*/
var h, m, s, day, year, month, date;
-var telephonyMms;
+var deviceCapabilities;
$(document).delegate("#main", "pageinit", function() {
$("#sms").bind("vclick", function() {
$("#mms").bind("vclick", function() {
tizen.messaging.getMessageServices("messaging.mms", mmsSuccessCallback, errorCallback);
});
-
- telephonyMms = tizen.systeminfo.getCapability("http://tizen.org/feature/network.telephony.mms");
- if(!telephonyMms) {
+ deviceCapabilities = tizen.systeminfo.getCapabilities();
+ if(!deviceCapabilities.telephonyMms) {
$("#mms").addClass("ui-disabled");
}
});
<?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/test/tct-behavior-tests" version="6.0" viewmodes="">
+<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://tizen.org/test/tct-behavior-tests" version="5.5" viewmodes="">
<access origin="*"/>
- <tizen:application id="tctbhtests.TCTBehaviorTests" package="tctbhtests" required_version="6.0"/>
+ <tizen:application id="tctbhtests.TCTBehaviorTests" package="tctbhtests" required_version="5.5"/>
<icon src="icon.png" height="117" width="117"/>
<name>tct-behavior-tests</name>
<tizen:privilege name="http://tizen.org/privilege/location"/>
{
- "version": "6.0",
+ "version": "5.5",
"name": "tct-behavior-tests",
"permissions": ["tabs", "unlimited_storage", "notifications", "http://*/*", "https://*/*"],
"description": "tct-behavior-tests",
};
function gettpkInfoByPlatForm(){
- var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
- if (arch == "armv7") {
+ var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ if(deviceCapabilities.platformCoreCpuArch=="armv7"){
wgt_names.unshift("rMLtTXzQr2-2.0.0-arm.tpk");
package_ids.unshift("rMLtTXzQr2");
launch_tpk = "rMLtTXzQr2.DBV";
- } else if (arch == "x86") {
+ }else if(deviceCapabilities.platformCoreCpuArch=="x86"){
wgt_names.unshift("SD2nFxbyeA-2.0.0-i386.tpk");
package_ids.unshift("SD2nFxbyeA");
launch_tpk = "SD2nFxbyeA.DBV";
};
function gettpkInfoByPlatForm(){
- var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
- if (arch == "armv7") {
+ var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ if(deviceCapabilities.platformCoreCpuArch=="armv7"){
wgt_names.unshift("rMLtTXzQr2-2.0.0-arm.tpk");
package_ids.unshift("rMLtTXzQr2");
launch_tpk = "rMLtTXzQr2.DBV";
- } else if (arch == "x86") {
+ }else if(deviceCapabilities.platformCoreCpuArch=="x86"){
wgt_names.unshift("SD2nFxbyeA-2.0.0-i386.tpk");
package_ids.unshift("SD2nFxbyeA");
launch_tpk = "SD2nFxbyeA.DBV";
<p>Expected Result: </p>
<ul>
<li>The "JS time" is different from the "Difference time".</li>
- <li>The "Animation time" is the same with the "Difference time".</li>
+ <li>The "Animation time" is different from the "Difference time".</li>
</ul>
</div>
</div>
};
function gettpkInfoByPlatForm(){
- var arch = tizen.systeminfo.getCapability("http://tizen.org/feature/platform.core.cpu.arch");
-
- if (arch == "armv7") {
+ var deviceCapabilities = tizen.systeminfo.getCapabilities();
+ if(deviceCapabilities.platformCoreCpuArch=="armv7"){
wgt_names.unshift("rMLtTXzQr2-2.0.0-arm.tpk");
package_ids.unshift("rMLtTXzQr2");
launch_tpk = "rMLtTXzQr2.DBV";
- } else if (arch == "x86") {
+ }else if(deviceCapabilities.platformCoreCpuArch=="x86"){
wgt_names.unshift("SD2nFxbyeA-2.0.0-i386.tpk");
package_ids.unshift("SD2nFxbyeA");
launch_tpk = "SD2nFxbyeA.DBV";
},
oncomplete: function(packageId)
{
- $.mobile.hidePageLoadingMsg();
console.log("Uninstallation(" + packageId + ") Complete");
$('#launch').addClass("ui-disabled");
$('#uninstall').addClass("ui-disabled");
</div>
<div data-role="popup" id="popup_info">
<div style="font-size:85%">
- <p>Check if the screen status is successfully changed after every step</p>
+ <p>Check if the screen status is successfully changed</p>
<p>(Note: Response time varies depends on the system setting)</p><br>
- <p>* Setting -> Display -> Screen Timeout: 15 Seconds</p>
- <p>* Default screen behavior: NORMAL -> (after screen timeout) screen is turned OFF</p>
- <p>* Wearable profile does not have DIM state, so you do not need to test DIM.</p>
- <p>1. Click 'Request SCREEN_NORMAL' : Check if the screen is stayed at NORMAL even after 15 seconds. To restore the default screen behavior, click 'Release SCREEN'.</p>
- <p>2. Click 'Turn SCREEN_OFF' and check if the screen is turned off immediately.</p>
- </div>
+ <p>* Setting -> Display -> Backlight time : 15 Seconds<p>
+ <p>1. Click Request SCREEN_DIM(After 15 second) : Check if the screen is dim. But Screen doesn't turn off</p>
+ <p>2. Click Request SCREEN_NORMAL(After 15 second) : Check if the screen doesn't dim and turn off</p>
+ <p>3. Click Release SCREEN(After 15 second) : Check the screen resource release(Screen is dim and turn off)</p>
+ <p>4. Click Turn SCREEN_OFF and check the screen is off immediately</p>
+ </div>
</div>
</body>
</html>