Fixed TTS-1875 by moving gumallow 5 TCs from delta to tct-gumallow-w3c-tests
authorLiu, Xin <xinx.liu@intel.com>
Wed, 14 Aug 2013 11:23:51 +0000 (19:23 +0800)
committerwanmingx.lin <wanmingx.lin@intel.com>
Wed, 14 Aug 2013 12:07:25 +0000 (20:07 +0800)
Signed-off-by: Liu, Xin <xinx.liu@intel.com>
tct-gumallow-w3c-tests/gumallow/navigator_audio_getting_datastream.html [new file with mode: 0644]
tct-gumallow-w3c-tests/gumallow/navigator_audio_not_getting_datastream.html [new file with mode: 0644]
tct-gumallow-w3c-tests/gumallow/navigator_audio_video_getting_datastream.html [new file with mode: 0644]
tct-gumallow-w3c-tests/gumallow/navigator_video_getting_datastream.html [new file with mode: 0644]
tct-gumallow-w3c-tests/gumallow/navigator_video_not_getting_datastream.html [new file with mode: 0644]
tct-gumallow-w3c-tests/tests.xml
tct-notification-w3c-tests/notification/notification_body.html

diff --git a/tct-gumallow-w3c-tests/gumallow/navigator_audio_getting_datastream.html b/tct-gumallow-w3c-tests/gumallow/navigator_audio_getting_datastream.html
new file mode 100644 (file)
index 0000000..6cb7e5d
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Cui,Jieqiong <jieqiongx.cui@intel.com>
+        Xinx, liu <xinx.liu@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>GetUserMedia Test: navigator_audio_getting_datastream</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia-20111130.html#navigatorusermedia" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="we can access to the user's microphone by calling the API 'getUserMedia'." />
+    <script src="../resources/testharness.js"></script>
+    <script src="../resources/testharnessreport.js"></script>
+    <script type="text/javascript">
+        navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia;
+        function gotUserMediaSuccess(s) {
+            var url =!!webkitURL ? webkitURL.createObjectURL(s):window.URL.createObjectURL(s);
+            document.getElementById("localView").src = url;
+            assert_true(true, "getUserMedia SuccessCallback tests");
+        }
+        function gotUserMediaError(error) {
+            assert_true(false, "It should enter gotUserMediaSuccess.");
+        }
+        function testUserMedia() {
+            try {
+                if (navigator.getUserMedia) {
+                    navigator.getUserMedia({audio: true}, gotUserMediaSuccess, gotUserMediaError);
+                } else {
+                    assert_true(false, "No microphone installed in your computer");
+                }
+            } catch (e) {
+                assert_true(false, "No microphone installed in your computer");
+            }
+        }
+        test(testUserMedia, "Test Description: Test GetUserMedia SuccessCallback.");
+    </script>
+  </head>
+  <body>
+    <div id="log"></div>
+    <audio id="localView" autoplay></audio>
+  </body>
+</html>
diff --git a/tct-gumallow-w3c-tests/gumallow/navigator_audio_not_getting_datastream.html b/tct-gumallow-w3c-tests/gumallow/navigator_audio_not_getting_datastream.html
new file mode 100644 (file)
index 0000000..bf17ea4
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Cui,Jieqiong <jieqiongx.cui@intel.com>
+        Xinx, liu <xinx.liu@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>GetUserMedia Test: navigator_audio_not_getting_datastream</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia-20111130.html#navigatorusermedia" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="we can not access to the user's microphone by calling the API 'getUserMedia'." />
+    <script src="../resources/testharness.js"></script>
+    <script src="../resources/testharnessreport.js"></script>
+    <script type="text/javascript">
+        navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia;
+        function gotUserMediaSuccess(s) {
+            var url =!!webkitURL ? webkitURL.createObjectURL(s):window.URL.createObjectURL(s);
+            document.getElementById("localView").src = url;
+            assert_true(false, "It should enter gotUserMediaError");
+        }
+        function gotUserMediaError(error) {
+            assert_true(false, "getUserMedia errorCallback tests");
+        }
+        function testUserMedia() {
+            try {
+                if (navigator.getUserMedia) {
+                    navigator.getUserMedia({audio: false}, gotUserMediaSuccess, gotUserMediaError);
+                } else {
+                    assert_true(false, "No microphone installed in your computer the platform actually doesn't support navigator.getUserMedia");
+                }
+            } catch (e) {
+                assert_true(true, "the attribute audio is set to false");
+            }
+        }
+        test(testUserMedia, "Test Description: Test GetUserMedia SuccessCallback.");
+    </script>
+  </head>
+  <body>
+    <div id="log"></div>
+    <audio id="localView" autoplay></audio>
+  </body>
+</html>
diff --git a/tct-gumallow-w3c-tests/gumallow/navigator_audio_video_getting_datastream.html b/tct-gumallow-w3c-tests/gumallow/navigator_audio_video_getting_datastream.html
new file mode 100644 (file)
index 0000000..3c240c7
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Cui,Jieqiong <jieqiongx.cui@intel.com>
+        Xinx, liu <xinx.liu@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>GetUserMedia Test: navigator_audio_video_getting_datastream</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia-20111130.html#navigatorusermedia" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="we can access to local devices (video cameras, microphones, Web cams) that can generate multimedia stream data by calling the API 'getUserMedia'." />
+    <script src="../resources/testharness.js"></script>
+    <script src="../resources/testharnessreport.js"></script>
+    <script type="text/javascript">
+        navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia;
+        function gotUserMediaSuccess(s) {
+            var url =!!webkitURL ? webkitURL.createObjectURL(s):window.URL.createObjectURL(s);
+            document.getElementById("localView").src = url;
+            assert_true(true, "getUserMedia SuccessCallback tests");
+        }
+        function gotUserMediaError(error) {
+            assert_true(false, "It should enter gotUserMediaSuccess");
+        }
+        function testUserMedia() {
+            try {
+                if (navigator.getUserMedia) {
+                    navigator.getUserMedia({video: true, audio: true}, gotUserMediaSuccess, gotUserMediaError);
+                } else {
+                    assert_true(false, "No microphone installed in your computer the platform actually doesn't support navigator.getUserMedia");
+                }
+             } catch (e) {
+                assert_true(false, "No microphone and cameras installed in your computer or getUserMedia SuccessCallback tests");
+             }
+        }
+        test(testUserMedia, "Test Description: Test GetUserMedia SuccessCallback.");
+    </script>
+  </head>
+  <body>
+    <div id="log"></div>
+    <video width="240" height="180" id="localView" autoplay="autoplay"></video>
+  </body>
+</html>
diff --git a/tct-gumallow-w3c-tests/gumallow/navigator_video_getting_datastream.html b/tct-gumallow-w3c-tests/gumallow/navigator_video_getting_datastream.html
new file mode 100644 (file)
index 0000000..9ed161a
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Cui,Jieqiong <jieqiongx.cui@intel.com>
+        Xinx, liu <xinx.liu@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>GetUserMedia Test: navigator_video_getting_datastream</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia-20111130.html#navigatorusermedia" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="we can access to the user's Web cams or video cameras by calling the API 'getUserMedia'." />
+    <script src="../resources/testharness.js"></script>
+    <script src="../resources/testharnessreport.js"></script>
+    <script type="text/javascript">
+        navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia;
+        function gotUserMediaSuccess(s) {
+            var url =!!webkitURL ? webkitURL.createObjectURL(s):window.URL.createObjectURL(s);
+            document.getElementById("localView").src = url;
+            assert_true(true, "getUserMedia SuccessCallback tests");
+        }
+        function gotUserMediaError(error) {
+            assert_true(false, "It should enter gotUserMediaSuccess");
+        }
+        function testUserMedia() {
+            try {
+                if (navigator.getUserMedia) {
+                    navigator.getUserMedia({video: true}, gotUserMediaSuccess, gotUserMediaError);
+                } else {
+                    assert_true(false, "No cameras installed in your computer the platform actually doesn't support navigator.getUserMedia");
+                }
+             } catch (e) {
+                assert_true(false, "No cameras installed in your computer or getUserMedia SuccessCallback tests");
+             }
+        }
+        test(testUserMedia, "Test Description: Test GetUserMedia SuccessCallback.");
+    </script>
+  </head>
+  <body>
+    <div id="log"></div>
+    <video width="240" height="180" id="localView" autoplay="autoplay"></video>
+  </body>
+</html>
diff --git a/tct-gumallow-w3c-tests/gumallow/navigator_video_not_getting_datastream.html b/tct-gumallow-w3c-tests/gumallow/navigator_video_not_getting_datastream.html
new file mode 100644 (file)
index 0000000..0904552
--- /dev/null
@@ -0,0 +1,71 @@
+<!DOCTYPE html>
+<!--
+Copyright (c) 2013 Intel Corporation.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+* Redistributions of works must retain the original copyright notice, this list
+  of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the original copyright notice,
+  this list of conditions and the following disclaimer in the documentation
+  and/or other materials provided with the distribution.
+* Neither the name of Intel Corporation nor the names of its contributors
+  may be used to endorse or promote products derived from this work without
+  specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY INTEL CORPORATION "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL INTEL CORPORATION BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Authors:
+        Cui,Jieqiong <jieqiongx.cui@intel.com>
+        Xinx, liu <xinx.liu@intel.com>
+
+-->
+
+<html>
+  <head>
+    <title>GetUserMedia Test: navigator_video_not_getting_datastream</title>
+    <link rel="author" title="Intel" href="http://www.intel.com" />
+    <link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia-20111130.html#navigatorusermedia" />
+    <meta name="flags" content="" />
+    <meta name="assert" content="we can not access to the user's Web cams and video cameras by calling the API 'getUserMedia'." />
+    <script src="../resources/testharness.js"></script>
+    <script src="../resources/testharnessreport.js"></script>
+    <script type="text/javascript">
+        navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia;
+        function gotUserMediaSuccess(s) {
+            var url =!!webkitURL ? webkitURL.createObjectURL(s):window.URL.createObjectURL(s);
+            document.getElementById("localView").src = url;
+                assert_true(false, "It should enter gotUserMediaError");
+        }
+        function gotUserMediaError(error) {
+            assert_true(false, "getUserMedia errorCallback tests");
+        }
+        function testUserMedia() {
+            try {
+                if (navigator.getUserMedia) {
+                    navigator.getUserMedia({video: false}, gotUserMediaSuccess, gotUserMediaError);
+                } else {
+                    assert_true(false, "No cameras installed in your computer the platform actually doesn't support navigator.getUserMedia");
+                }
+             } catch (e) {
+                assert_true(true, "the attribute video is set to false");
+             }
+        }
+        test(testUserMedia, "Test Description: Test GetUserMedia SuccessCallback.");
+    </script>
+  </head>
+  <body>
+    <div id="log"></div>
+    <video width="240" height="180" id="localView" autoplay="autoplay"></video>
+  </body>
+</html>
index fc89c1ec5c984b0365b18f12fbbc9b0bf8675f38..b2a841f81b664786ec4f04ee96cc93a14c93da17 100644 (file)
           </spec>
         </specs>
       </testcase>
+      <testcase purpose="Check if we can access to the user's microphone by calling the API 'getUserMedia'" type="compliance" status="approved" component="WebAPI/Media/getUserMedia (Partial)" execution_type="auto" priority="P3" id="navigator_audio_getting_datastream">
+        <description>
+          <pre_condition/>
+          <post_condition/>
+          <steps>
+            <step order="1">
+              <step_desc>Check if we can access to the user's microphone by calling the API 'getUserMedia'</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-gumallow-w3c-tests/gumallow/navigator_audio_getting_datastream.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="NavigatorUserMedia" specification="getUserMedia (Partial)" section="Media" category="Tizen W3C API Specifications"/>
+            <spec_url>http://dev.w3.org/2011/webrtc/editor/getusermedia-20111130.html#navigatorusermedia</spec_url>
+            <spec_statement>Set to true if a audio track is requested, default is false</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if we can access to local devices (video cameras, microphones, Web cams) that can generate multimedia stream data by calling the API 'getUserMedia'" type="compliance" status="approved" component="WebAPI/Media/getUserMedia (Partial)" execution_type="auto" priority="P3" id="navigator_audio_video_getting_datastream">
+        <description>
+          <pre_condition/>
+          <post_condition/>
+          <steps>
+            <step order="1">
+              <step_desc>Check if we can access to local devices (video cameras, microphones, Web cams) that can generate multimedia stream data by calling the API 'getUserMedia'</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-gumallow-w3c-tests/gumallow/navigator_audio_video_getting_datastream.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="NavigatorUserMedia" specification="getUserMedia (Partial)" section="Media" category="Tizen W3C API Specifications"/>
+            <spec_url>http://dev.w3.org/2011/webrtc/editor/getusermedia-20111130.html#navigatorusermedia</spec_url>
+            <spec_statement>Access to multimedia streams (video, audio, or both) from local devices (video cameras, microphones, Web cams) can have a number of uses, such as real-time communication, recording, surveillance.</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if we can not access to the user's microphone by calling the API 'getUserMedia'" type="compliance" status="approved" component="WebAPI/Media/getUserMedia (Partial)" execution_type="auto" priority="P3" id="navigator_audio_not_getting_datastream">
+        <description>
+          <pre_condition/>
+          <post_condition/>
+          <steps>
+            <step order="1">
+              <step_desc>Check if we can not access to the user's microphone by calling the API 'getUserMedia'</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-gumallow-w3c-tests/gumallow/navigator_audio_not_getting_datastream.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="NavigatorUserMedia" specification="getUserMedia (Partial)" section="Media" category="Tizen W3C API Specifications"/>
+            <spec_url>http://dev.w3.org/2011/webrtc/editor/getusermedia-20111130.html#navigatorusermedia</spec_url>
+            <spec_statement>Set to true if a audio track is requested, default is false</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if we can access to the user's Web cams or video cameras by calling the API 'getUserMedia'" type="compliance" status="approved" component="WebAPI/Media/getUserMedia (Partial)" execution_type="auto" priority="P3" id="navigator_video_getting_datastream">
+        <description>
+          <pre_condition/>
+          <post_condition/>
+          <steps>
+            <step order="1">
+              <step_desc>Check if we can access to the user's Web cams or video cameras by calling the API 'getUserMedia'</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-gumallow-w3c-tests/gumallow/navigator_video_getting_datastream.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="NavigatorUserMedia" specification="getUserMedia (Partial)" section="Media" category="Tizen W3C API Specifications"/>
+            <spec_url>http://dev.w3.org/2011/webrtc/editor/getusermedia-20111130.html#navigatorusermedia</spec_url>
+            <spec_statement>Set to true if an video track is requested, default is false</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
+      <testcase purpose="Check if we can not access to the user's Web cams and video cameras by calling the API 'getUserMedia'" type="compliance" status="approved" component="WebAPI/Media/getUserMedia (Partial)" execution_type="auto" priority="P3" id="navigator_video_not_getting_datastream">
+        <description>
+          <pre_condition/>
+          <post_condition/>
+          <steps>
+            <step order="1">
+              <step_desc>Check if we can not access to the user's Web cams and video cameras by calling the API 'getUserMedia'</step_desc>
+              <expected>Pass</expected>
+            </step>
+          </steps>
+          <test_script_entry>/opt/tct-gumallow-w3c-tests/gumallow/navigator_video_not_getting_datastream.html</test_script_entry>
+        </description>
+        <specs>
+          <spec>
+            <spec_assertion usage="true" interface="NavigatorUserMedia" specification="getUserMedia (Partial)" section="Media" category="Tizen W3C API Specifications"/>
+            <spec_url>http://dev.w3.org/2011/webrtc/editor/getusermedia-20111130.html#navigatorusermedia</spec_url>
+            <spec_statement>Set to true if an video track is requested, default is false</spec_statement>
+          </spec>
+        </specs>
+      </testcase>
     </set>
   </suite>
 </test_definition>
index ba0be85220fbbd6c18e8a21669e06d6acc427095..7d1b452096b4131ffeb4c15eea45cc24ac35a399 100644 (file)
@@ -26,6 +26,7 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 Authors:
+        Cui,Jieqiong <jieqiongx.cui@intel.com>
         Xinx, liu <xinx.liu@intel.com>
 
 -->