Remove the SystemSettingNotificationEmail TC
authorj-h.choi <j-h.choi@samsung.com>
Thu, 24 Oct 2013 01:04:03 +0000 (10:04 +0900)
committerj-h.choi <j-h.choi@samsung.com>
Thu, 24 Oct 2013 01:04:03 +0000 (10:04 +0900)
tests.full.xml
tests.xml
tests/SystemSettingNotificationEmail/NOTICE [deleted file]
tests/SystemSettingNotificationEmail/index.html [deleted file]
tests/SystemSettingNotificationEmail/js/main.js [deleted file]

index 0437a65..740ed8e 100644 (file)
         <test_script_entry test_script_expected_result="0"></test_script_entry>
       </description>
       </testcase>
-      <testcase purpose="SystemSetting NotificationEmail Test" type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="SystemSettingNotificationEmail">
-      <description>
-        <pre_condition />
-        <post_condition />
-        <steps>
-          <step order="1">
-            <step_desc>0</step_desc>
-            <expected>0</expected>
-          </step>
-        </steps>
-        <test_script_entry test_script_expected_result="0"></test_script_entry>
-      </description>
-      </testcase>
       <testcase purpose="Security Test" type="functional_positive" status="approved" component="behavior" execution_type="manual" priority="P0" id="Security">
       <description>
         <pre_condition />
index d8725e7..8ceb61d 100644 (file)
--- a/tests.xml
+++ b/tests.xml
         <test_script_entry test_script_expected_result="0" />
       </description>
       </testcase>
-      <testcase component="behavior" execution_type="manual" id="SystemSettingNotificationEmail" purpose="SystemSetting NotificationEmail Test">
-      <description>
-        <pre_condition />
-        <steps>
-          <step order="1">
-            <step_desc>0</step_desc>
-            <expected>0</expected>
-          </step>
-        </steps>
-        <test_script_entry test_script_expected_result="0" />
-      </description>
-      </testcase>
       <testcase component="behavior" execution_type="manual" id="Security" purpose="Security Test">
       <description>
         <pre_condition />
diff --git a/tests/SystemSettingNotificationEmail/NOTICE b/tests/SystemSettingNotificationEmail/NOTICE
deleted file mode 100644 (file)
index 28f0df2..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-Copyright (c) 2012 Samsung Electronics Co., Ltd. All rights reserved.
-Copyright (c) 2012 Intel Corporation.
-Except as noted, this software is licensed under Apache License, Version 2 or BSD-3-Clause License.
-Please, see the LICENSE.Apache-2.0 file for Apache License, Version 2 terms and conditions
-or the LICENSE.BSD-3 file for BSD-3-Clause License.
diff --git a/tests/SystemSettingNotificationEmail/index.html b/tests/SystemSettingNotificationEmail/index.html
deleted file mode 100755 (executable)
index 01bcef1..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Choi, Jongheon <j-h.choi@samsung.com>
-
--->
-<html>
-<head>
-<meta charset="utf-8" />
-<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />
-<link rel="stylesheet" type="text/css" href="../../css/jquery.mobile.css" />
-<script src="../../js/thirdparty/jquery.js"></script>
-<script src="../../js/thirdparty/jquery.mobile.js"></script>
-<script src="../../js/tests.js"></script>
-<script src="js/main.js"></script>
-</head>
-<body>
-    <div data-role="page" id="main">
-        <div data-role="header" data-position="fixed" data-tap-toggle="false">
-            <h1 id="main_page_title">SystemSetting<br>(NotificationEmail)</h1>
-        </div>
-        <div id="content">
-            <ul data-role="listview">
-                <li data-role="list-divider">Set Alert tone</li>
-            </ul>
-            <ul data-role="listview" id="alerttone"></ul>
-            <ul data-role="listview">
-                <li data-role="list-divider">Get Alert tone</li>
-                <li><div data-role="button" id="tone">Get Alert tone & Play Sound</div></li>
-            </ul>
-            <audio data-controls="true" style="width:100%;" id="MyAudio"></audio>
-        </div>
-        <div data-role="footer" data-position="fixed" data-tap-toggle="false">
-        </div>
-        <div data-role="popup" id="popup_info">
-            <font style="font-size:85%">
-                <p>Check if the email notification sound is successfully changed</p><br>
-                <p>1. Click Set tone</p>
-                <p>2. Send an email to an account that is registered to the device</p>
-                <p>3. Check if the email notification sound is successfully changed</p>
-                <p>4. Proceed the checking for other tones</p>
-            </font>
-        </div>
-    </div>
-</body>
-</html>
diff --git a/tests/SystemSettingNotificationEmail/js/main.js b/tests/SystemSettingNotificationEmail/js/main.js
deleted file mode 100644 (file)
index 667588a..0000000
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
-Copyright (c) 2013 Samsung Electronics Co., Ltd.
-
-Licensed under the Apache License, Version 2.0 (the License);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-Authors:
-        Choi, Jongheon <j-h.choi@samsung.com>
-
-*/
-
-var path;
-
-$(document).delegate("#main", "pageinit", function() {
-    $("#alerttone").delegate("li", "vclick", function() {
-        path = $(this).data("url");
-        setSystemProperty("NOTIFICATION_EMAIL", path, onNotiEmailSetSuccess);
-        return false;
-    });
-    $("#tone").bind("vclick", function() {
-        getSystemProperty("NOTIFICATION_EMAIL", onNotiEmailGetSuccess);
-        return false;
-    });
-    fileAudio();
-});
-
-function onError(e) {
-    alert("Error: " + e.message);
-}
-
-function onNotiEmailSetSuccess() {
-    alert("Change of NORIFICATION_EMAIL alert tone");
-}
-
-function onNotiEmailGetSuccess(value) {
-    alert("Sound(Get) path : " + value);
-    var audio = document.getElementById("MyAudio");
-    audio.src = value;
-    audio.type = "audio/*";
-    audio.play();
-}
-
-function setSystemProperty(property, path, onSuccess) {
-    try {
-        tizen.systemsetting.setProperty(property, path, onSuccess, onError);
-        console.log(path);
-    } catch (e) {
-        console.log("Exception: " + e.message);
-    }
-}
-
-function getSystemProperty(property, onSuccess) {
-    try {
-        tizen.systemsetting.getProperty(property, onSuccess, onError);
-    } catch (e) {
-        console.log("Exception: " + e.message);
-    }
-}
-
-function fileAudio() {
-    var documentsDir, length = 0, str = "";
-    function onsuccess(files) {
-        for (var i = 0; i < files.length; i++)
-        {
-            if(files[i].isFile == true)
-            {
-                var Url = files[i].toURI();
-                Url = Url.replace("file:///", "/");
-                str += '<li data-url="' + Url + '">' + files[i].name + '</li>';
-                length++;
-                if(length >= 9)
-                    break;
-            }
-        }
-        if(length == 0)
-            alert("Not found Sound files\nPlease add sound files.\nAdd Path: " + documentsDir.toURI() + "/");
-        $("#alerttone").html(str).trigger("create").listview("refresh");
-    }
-
-    function onerror(error) {
-        console.log("The error " + error.message + " occurred when listing the files in the selected folder");
-    }
-
-    tizen.filesystem.resolve(
-            'ringtones',
-            function(dir){
-                documentsDir = dir;
-                dir.listFiles(onsuccess, onerror);
-            }, function(e) {
-                alert("Error " + e.message);
-            }, "r"
-    );
-}