Title: [213526] trunk/LayoutTests
Revision
213526
Author
clo...@igalia.com
Date
2017-03-07 11:16:09 -0800 (Tue, 07 Mar 2017)

Log Message

Move webrtc/descriptionGetters.html to webrtc/libwebrtc/descriptionGetters.html
https://bugs.webkit.org/show_bug.cgi?id=169216

Unreviewed test gardening.

Move the test webrtc/descriptionGetters.html under the directory webrtc/libwebrtc
because its still not testing the spec, but the current libwebrtc based implementation.

This way the test is skipped on the GTK+ port (The whole directory webrtc/libwebrtc is skipped).

* webrtc/libwebrtc/descriptionGetters-expected.txt: Renamed from LayoutTests/webrtc/descriptionGetters-expected.txt.
* webrtc/libwebrtc/descriptionGetters.html: Renamed from LayoutTests/webrtc/descriptionGetters.html.

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (213525 => 213526)


--- trunk/LayoutTests/ChangeLog	2017-03-07 18:54:56 UTC (rev 213525)
+++ trunk/LayoutTests/ChangeLog	2017-03-07 19:16:09 UTC (rev 213526)
@@ -1,3 +1,18 @@
+2017-03-07  Carlos Alberto Lopez Perez  <clo...@igalia.com>
+
+        Move webrtc/descriptionGetters.html to webrtc/libwebrtc/descriptionGetters.html
+        https://bugs.webkit.org/show_bug.cgi?id=169216
+
+        Unreviewed test gardening.
+
+        Move the test webrtc/descriptionGetters.html under the directory webrtc/libwebrtc
+        because its still not testing the spec, but the current libwebrtc based implementation.
+
+        This way the test is skipped on the GTK+ port (The whole directory webrtc/libwebrtc is skipped).
+
+        * webrtc/libwebrtc/descriptionGetters-expected.txt: Renamed from LayoutTests/webrtc/descriptionGetters-expected.txt.
+        * webrtc/libwebrtc/descriptionGetters.html: Renamed from LayoutTests/webrtc/descriptionGetters.html.
+
 2017-03-07  Youenn Fablet  <you...@apple.com>
 
         Expose WebRTC current/pending description getters

Deleted: trunk/LayoutTests/webrtc/descriptionGetters-expected.txt (213525 => 213526)


--- trunk/LayoutTests/webrtc/descriptionGetters-expected.txt	2017-03-07 18:54:56 UTC (rev 213525)
+++ trunk/LayoutTests/webrtc/descriptionGetters-expected.txt	2017-03-07 19:16:09 UTC (rev 213526)
@@ -1,3 +0,0 @@
-
-PASS description getters when changing description from video to video & data channel 
-

Deleted: trunk/LayoutTests/webrtc/descriptionGetters.html (213525 => 213526)


--- trunk/LayoutTests/webrtc/descriptionGetters.html	2017-03-07 18:54:56 UTC (rev 213525)
+++ trunk/LayoutTests/webrtc/descriptionGetters.html	2017-03-07 19:16:09 UTC (rev 213526)
@@ -1,84 +0,0 @@
-<!doctype html>
-<html>
-    <head>
-        <meta charset="utf-8">
-        <title>Testing basic video exchange from offerer to receiver</title>
-        <script src=""
-        <script src=""
-    </head>
-    <body>
-        <script>
-if (window.testRunner)
-    testRunner.setUserMediaPermission(true);
-
-promise_test((test) => {
-     if (window.internals)
-     internals.useMockRTCPeerConnectionFactory("TwoRealPeerConnections");
-     
-     var localConnection = new RTCPeerConnection();
-     var remoteConnection = new RTCPeerConnection();
-     var currentSDP;
-     return navigator.mediaDevices.getUserMedia({ video: true}).then((stream) => {
-
-        localConnection.addStream(stream);
-        return localConnection.createOffer();
-    }).then((desc) => {
-        currentSDP = desc.sdp;
-
-        assert_equals(localConnection.currentLocalDescription, null);
-        assert_equals(localConnection.pendingLocalDescription, null);
-        assert_equals(localConnection.localDescription, null);
-
-        assert_equals(remoteConnection.currentRemoteDescription, null);
-        assert_equals(remoteConnection.pendingRemoteDescription, null);
-        assert_equals(remoteConnection.remoteDescription, null);
-
-        localDescriptionPromise = localConnection.setLocalDescription(desc);
-        remoteDescriptionPromise = remoteConnection.setRemoteDescription(desc);
-
-        assert_equals(localConnection.currentLocalDescription, null);
-        assert_equals(localConnection.pendingLocalDescription.sdp, currentSDP);
-        assert_equals(localConnection.localDescription.sdp, currentSDP);
-
-        assert_equals(remoteConnection.currentRemoteDescription, null);
-        assert_equals(remoteConnection.pendingRemoteDescription.sdp, currentSDP);
-        assert_equals(remoteConnection.remoteDescription.sdp, currentSDP);
-
-        return Promise.all([localDescriptionPromise, remoteDescriptionPromise]);
-    }).then(() => {
-        return remoteConnection.createAnswer();
-    }).then((desc) => {       
-        assert_equals(localConnection.currentLocalDescription, null);
-        assert_equals(localConnection.pendingLocalDescription.sdp, currentSDP);
-        assert_equals(localConnection.localDescription.sdp, currentSDP);
-
-        localConnection.setRemoteDescription(desc);
-
-        assert_equals(localConnection.currentLocalDescription.sdp, currentSDP);
-        assert_equals(localConnection.pendingLocalDescription, null);
-        assert_equals(localConnection.localDescription.sdp, currentSDP);
-
-        assert_equals(remoteConnection.currentRemoteDescription, null);
-        assert_equals(remoteConnection.pendingRemoteDescription.sdp, currentSDP);
-        assert_equals(remoteConnection.remoteDescription.sdp, currentSDP);
-
-        remoteConnection.setLocalDescription(desc);
-
-        assert_equals(remoteConnection.currentRemoteDescription.sdp, currentSDP);
-        assert_equals(remoteConnection.pendingRemoteDescription, null);
-        assert_equals(remoteConnection.remoteDescription.sdp, currentSDP);
-
-        localConnection.createDataChannel("test");
-
-        assert_equals(localConnection.currentLocalDescription.sdp, currentSDP);
-        assert_equals(localConnection.pendingLocalDescription, null);
-        assert_equals(localConnection.localDescription.sdp, currentSDP);
-
-        assert_equals(remoteConnection.currentRemoteDescription.sdp, currentSDP);
-        assert_equals(remoteConnection.pendingRemoteDescription, null);
-        assert_equals(remoteConnection.remoteDescription.sdp, currentSDP);
-    });
-}, "description getters when changing description from video to video & data channel");
-        </script>
-    </body>
-</html>

Copied: trunk/LayoutTests/webrtc/libwebrtc/descriptionGetters-expected.txt (from rev 213525, trunk/LayoutTests/webrtc/descriptionGetters-expected.txt) (0 => 213526)


--- trunk/LayoutTests/webrtc/libwebrtc/descriptionGetters-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/webrtc/libwebrtc/descriptionGetters-expected.txt	2017-03-07 19:16:09 UTC (rev 213526)
@@ -0,0 +1,3 @@
+
+PASS description getters when changing description from video to video & data channel 
+

Copied: trunk/LayoutTests/webrtc/libwebrtc/descriptionGetters.html (from rev 213525, trunk/LayoutTests/webrtc/descriptionGetters.html) (0 => 213526)


--- trunk/LayoutTests/webrtc/libwebrtc/descriptionGetters.html	                        (rev 0)
+++ trunk/LayoutTests/webrtc/libwebrtc/descriptionGetters.html	2017-03-07 19:16:09 UTC (rev 213526)
@@ -0,0 +1,84 @@
+<!doctype html>
+<html>
+    <head>
+        <meta charset="utf-8">
+        <title>Testing basic video exchange from offerer to receiver</title>
+        <script src=""
+        <script src=""
+    </head>
+    <body>
+        <script>
+if (window.testRunner)
+    testRunner.setUserMediaPermission(true);
+
+promise_test((test) => {
+     if (window.internals)
+     internals.useMockRTCPeerConnectionFactory("TwoRealPeerConnections");
+     
+     var localConnection = new RTCPeerConnection();
+     var remoteConnection = new RTCPeerConnection();
+     var currentSDP;
+     return navigator.mediaDevices.getUserMedia({ video: true}).then((stream) => {
+
+        localConnection.addStream(stream);
+        return localConnection.createOffer();
+    }).then((desc) => {
+        currentSDP = desc.sdp;
+
+        assert_equals(localConnection.currentLocalDescription, null);
+        assert_equals(localConnection.pendingLocalDescription, null);
+        assert_equals(localConnection.localDescription, null);
+
+        assert_equals(remoteConnection.currentRemoteDescription, null);
+        assert_equals(remoteConnection.pendingRemoteDescription, null);
+        assert_equals(remoteConnection.remoteDescription, null);
+
+        localDescriptionPromise = localConnection.setLocalDescription(desc);
+        remoteDescriptionPromise = remoteConnection.setRemoteDescription(desc);
+
+        assert_equals(localConnection.currentLocalDescription, null);
+        assert_equals(localConnection.pendingLocalDescription.sdp, currentSDP);
+        assert_equals(localConnection.localDescription.sdp, currentSDP);
+
+        assert_equals(remoteConnection.currentRemoteDescription, null);
+        assert_equals(remoteConnection.pendingRemoteDescription.sdp, currentSDP);
+        assert_equals(remoteConnection.remoteDescription.sdp, currentSDP);
+
+        return Promise.all([localDescriptionPromise, remoteDescriptionPromise]);
+    }).then(() => {
+        return remoteConnection.createAnswer();
+    }).then((desc) => {       
+        assert_equals(localConnection.currentLocalDescription, null);
+        assert_equals(localConnection.pendingLocalDescription.sdp, currentSDP);
+        assert_equals(localConnection.localDescription.sdp, currentSDP);
+
+        localConnection.setRemoteDescription(desc);
+
+        assert_equals(localConnection.currentLocalDescription.sdp, currentSDP);
+        assert_equals(localConnection.pendingLocalDescription, null);
+        assert_equals(localConnection.localDescription.sdp, currentSDP);
+
+        assert_equals(remoteConnection.currentRemoteDescription, null);
+        assert_equals(remoteConnection.pendingRemoteDescription.sdp, currentSDP);
+        assert_equals(remoteConnection.remoteDescription.sdp, currentSDP);
+
+        remoteConnection.setLocalDescription(desc);
+
+        assert_equals(remoteConnection.currentRemoteDescription.sdp, currentSDP);
+        assert_equals(remoteConnection.pendingRemoteDescription, null);
+        assert_equals(remoteConnection.remoteDescription.sdp, currentSDP);
+
+        localConnection.createDataChannel("test");
+
+        assert_equals(localConnection.currentLocalDescription.sdp, currentSDP);
+        assert_equals(localConnection.pendingLocalDescription, null);
+        assert_equals(localConnection.localDescription.sdp, currentSDP);
+
+        assert_equals(remoteConnection.currentRemoteDescription.sdp, currentSDP);
+        assert_equals(remoteConnection.pendingRemoteDescription, null);
+        assert_equals(remoteConnection.remoteDescription.sdp, currentSDP);
+    });
+}, "description getters when changing description from video to video & data channel");
+        </script>
+    </body>
+</html>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to