Behavior Test Update
authorj-h.choi <j-h.choi@smaung.com>
Fri, 31 May 2013 08:26:36 +0000 (17:26 +0900)
committerGerrit Code Review <gerrit2@kim11>
Mon, 3 Jun 2013 01:55:13 +0000 (10:55 +0900)
tests/Application/js/main.js
tests/Application/res/audio.aac
tests/Application/res/audio.amr
tests/Application/res/audio.mp3
tests/Application/res/audio.wav
tests/Application/res/iconA.png
tests/Application/res/iconV.png
tests/Application/res/video.3gp
tests/Application/res/video.mp4
tests/NFC/NFC.html
tests/Push/Push.html

index 89fdc11..5723818 100644 (file)
@@ -177,7 +177,7 @@ function setAppControlImage(url, mime, name) {
 function setAppControlAudio(url, mime, name) {
     var appControl = new tizen.ApplicationControl(
             "http://tizen.org/appcontrol/operation/view",
-            url,
+            sharedDir+"/data/"+name,
             mime);
     var appControlReplyCB = {
             onsuccess: function(data) {
@@ -203,7 +203,7 @@ function setAppControlAudio(url, mime, name) {
 function setAppControlVideo(url, mime, name) {
     var appControl = new tizen.ApplicationControl(
             "http://tizen.org/appcontrol/operation/view",
-            url,
+            sharedDir+"/data/"+name,
             mime);
     var appControlReplyCB = {
             onsuccess: function(data) {
@@ -288,6 +288,7 @@ function applicationPre() {
         for (var i = 0; i < files.length; i++)
         {
             sharedDir = tizen.application.getAppSharedURI();
+            sharedDir = sharedDir.replace("file:///", "/");
             documentsDir.copyTo(
                 files[i].fullPath,
                 sharedDir+"/data/"+files[i].name,
index e69de29..dea42a8 100644 (file)
Binary files a/tests/Application/res/audio.aac and b/tests/Application/res/audio.aac differ
index e69de29..81093ff 100644 (file)
Binary files a/tests/Application/res/audio.amr and b/tests/Application/res/audio.amr differ
index e69de29..2b62d4c 100644 (file)
Binary files a/tests/Application/res/audio.mp3 and b/tests/Application/res/audio.mp3 differ
index e69de29..f336ec8 100644 (file)
Binary files a/tests/Application/res/audio.wav and b/tests/Application/res/audio.wav differ
index 394dfa3..93674e1 100644 (file)
Binary files a/tests/Application/res/iconA.png and b/tests/Application/res/iconA.png differ
index a809e1e..125c1ce 100644 (file)
Binary files a/tests/Application/res/iconV.png and b/tests/Application/res/iconV.png differ
index e69de29..0e98843 100644 (file)
Binary files a/tests/Application/res/video.3gp and b/tests/Application/res/video.3gp differ
index e69de29..4bd6d59 100644 (file)
Binary files a/tests/Application/res/video.mp4 and b/tests/Application/res/video.mp4 differ
index 7cae917..774ffee 100644 (file)
@@ -62,4 +62,4 @@ Authors:
         </div>
     </div>
 </body>
-</html>
+</html>
\ No newline at end of file
index ef886fc..62954e9 100755 (executable)
@@ -75,4 +75,4 @@ Authors:
         </div>
     </div>
 </body>
-</html>
+</html>
\ No newline at end of file