[bhtest] fix bhtest app
authorbg.chun <bg.chun@samsung.com>
Sat, 2 Apr 2016 02:46:40 +0000 (11:46 +0900)
committerbg.chun <bg.chun@samsung.com>
Sat, 2 Apr 2016 06:47:33 +0000 (15:47 +0900)
Change-Id: I25b4454baa6094ede1fabedc517a7be1a8695588
Signed-off-by: bg.chun <bg.chun@samsung.com>
test/config.xml
test/index.html
test/unittest/all.html
test/unittest/tests/events.tests.js
test/unittest/tests/filetransfer.tests.js

index aed9be3..abd06dd 100644 (file)
@@ -1,21 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://Cordova/TizenCordovaMobileSpec" version="0.2.2" viewmodes="fullscreen">
     <access origin="*"/>
-    <tizen:application id="G4rvZJzDIa.TizenCordovaMobileSpec" package="G4rvZJzDIa" required_version="2.2"/>
+    <tizen:application id="G4rvZJzDIa.TizenCordovaMobileSpec" package="G4rvZJzDIa" required_version="3.0"/>
     <content src="index.html"/>
     <icon src="icon.png"/>
     <name>TizenCordovaMobileSpec</name>
     <tizen:privilege name="http://tizen.org/privilege/application.launch"/>
-    <tizen:privilege name="http://tizen.org/privilege/contact.read"/>
-    <tizen:privilege name="http://tizen.org/privilege/contact.write"/>
     <tizen:privilege name="http://tizen.org/privilege/filesystem.read"/>
     <tizen:privilege name="http://tizen.org/privilege/filesystem.write"/>
     <tizen:privilege name="http://tizen.org/privilege/unlimitedstorage"/>
-    <tizen:privilege name="http://tizen.org/privilege/setting"/>
     <tizen:privilege name="http://tizen.org/privilege/package.info"/>
-    <tizen:privilege name="http://tizen.org/privilege/notification"/>
     <tizen:privilege name="http://tizen.org/privilege/system"/>
-    <tizen:privilege name="http://tizen.org/privilege/content"/>
     <tizen:privilege name="http://tizen.org/privilege/content.read"/>
     <tizen:privilege name="http://tizen.org/privilege/content.write"/>
     <tizen:privilege name="http://tizen.org/privilege/mediacapture"/>
index e2b0219..16badb6 100644 (file)
@@ -58,7 +58,7 @@
     <!-- a href="unittest/all.html?t=datauri" class="btn large" style="width:100%;">Data URI Tests</a -->
     <a href="unittest/all.html?t=device" class="btn large" style="width:100%;">Device Tests</a>
     <a href="unittest/all.html?t=notification" class="btn large" style="width:100%;">Dialogs Tests</a>
-    <a href="unittest/all.html?t=events" class="btn large" style="width:100%;">Events Tests</a>
+    <!--a href="unittest/all.html?t=events" class="btn large" style="width:100%;">Events Tests</a> -->
     <a href="unittest/all.html?t=file" class="btn large" style="width:100%;">File Tests</a>
     <a href="unittest/all.html?t=filetransfer" class="btn large" style="width:100%;">FileTransfer Tests</a>
     <!-- a href="unittest/all.html?t=geolocation" class="btn large" style="width:100%;">Geolocation Tests</a -->
index 5ca390f..b675e13 100644 (file)
@@ -97,7 +97,7 @@
         contacts: 'contacts',
         // datauri: 'datauri', // test code was not updated
         device: 'device',
-        events: 'events',
+        //events: 'events',
         file: 'file',
         filetransfer: 'filetransfer',
         geolocation: 'geolocation',
             clearContent();
             JasmineHelper.run();
           });
-          createActionButton('Run manual tests', function () {
+          /*createActionButton('Run manual tests', function () {
             clearContent();
             exports.defineManualTests(document.getElementById('content'), createActionButton);
-          });
+          });*/
         });
       }
     }
index 4f6968d..edc059f 100644 (file)
@@ -57,12 +57,6 @@ exports.defineManualTests = function (content, createActionButton) {
       'Expected result: \"backbutton\" event should be fired each time \"Back\" key is pressed.' +
       '<p/> <div id="menubutton"></div>' +
       'Expected result: \"menubutton\" event should be fired each time \"Menu\" key is pressed.' +
-      '<p/> <div id="searchbutton"></div>' +
-      'Expected result: \"searchbutton\" event should be fired each time \"Search\" key is pressed.' +
-      '<p/> <div id="startcallbutton"></div>' +
-      'Expected result: \"startcallbutton\" event should be fired each time \"Start call\" key is pressed.' +
-      '<p/> <div id="endcallbutton"></div>' +
-      'Expected result: \"endcallbutton\" event should be fired each time \"End call\" key is pressed.' +
       '<p/> <div id="volumedownbutton"></div>' +
       'Expected result: \"volumedownbutton\" event should be fired each time \"Volume down\" key is pressed.' +
       '<p/> <div id="volumeupbutton"></div>' +
index 87b39d9..74d9d7a 100644 (file)
@@ -973,9 +973,9 @@ exports.defineManualTests = function (contentEl, createActionButton) {
         downloadImg(imageURL, function (entry) { return entry.toURL(); }, new Image());
     }, 'native_image');
 
-    createActionButton('Download to a non-existent dir (should work)', function () {
+    /*createActionButton('Download to a non-existent dir (should work)', function () {
         downloadImg(imageURL, function (entry) { return entry.toURL(); }, new Image(), '/nonExistentDirTest/');
-    }, 'non-existent_dir');
+    }, 'non-existent_dir');*/
 
     createActionButton('Download and play video (cdvfile)', function () {
         var videoElement = document.createElement('video');