Bug 839650: Remove assertion suppression from dom/media/tests/mochitest r=jsmith

This commit is contained in:
Randell Jesup 2013-03-27 19:46:31 -04:00
parent bd1c5dfa27
commit f40d05881a
13 changed files with 5 additions and 66 deletions

View File

@ -1,4 +1,4 @@
<!DOCTYPE HTML>
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=781534
@ -19,11 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=781534
</div>
<pre id="test">
<script type="application/javascript">
if (navigator.platform.startsWith("Win")) {
SimpleTest.expectAssertions(0, 1);
}
/**
* Run a test to verify that we can complete a start and stop media playback
* cycle for an audio LocalMediaStream on an audio HTMLMediaElement.

View File

@ -1,4 +1,4 @@
<!DOCTYPE HTML>
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=781534
@ -19,11 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=781534
</div>
<pre id="test">
<script type="application/javascript">
if (navigator.platform.startsWith("Win")) {
SimpleTest.expectAssertions(0, 1);
}
/**
* Run a test to verify that we can complete a start and stop media playback
* cycle for an video LocalMediaStream on a video HTMLMediaElement.

View File

@ -1,4 +1,4 @@
<!DOCTYPE HTML>
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=781534
@ -19,11 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=781534
</div>
<pre id="test">
<script type="application/javascript">
if (navigator.platform.startsWith("Win")) {
SimpleTest.expectAssertions(0, 1);
}
/**
* Run a test to verify that we can complete a start and stop media playback
* cycle for a video and audio LocalMediaStream on a video HTMLMediaElement.

View File

@ -1,4 +1,4 @@
<!DOCTYPE HTML>
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=795367
@ -18,11 +18,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=795367
</div>
<pre id="test">
<script type="application/javascript">
if (navigator.platform.startsWith("Win")) {
SimpleTest.expectAssertions(0, 1);
}
/**
These tests verify that the appropriate exception is thrown when incorrect
values are provided to the immediate mozGetUserMedia call.

View File

@ -1,4 +1,4 @@
<!DOCTYPE HTML>
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=822109
@ -19,11 +19,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=822109
</div>
<pre id="test">
<script type="application/javascript">
if (navigator.platform.startsWith("Win")) {
SimpleTest.expectAssertions(0, 2);
}
/**
* Run a test to verify that we can start a video+audio stream in a
* media element, call stop() on the stream, and successfully get an

View File

@ -10,10 +10,6 @@
<body>
<pre id="test">
<script type="application/javascript">
if (navigator.platform.startsWith("Win")) {
SimpleTest.expectAssertions(0, 1);
}
createHTML({
bug: "796892",
title: "Basic audio-only peer connection"

View File

@ -11,14 +11,6 @@
<pre id="test">
<script type="application/javascript">
if (navigator.platform.startsWith("Win")) {
SimpleTest.expectAssertions(0, 41);
} else if (navigator.platform.startsWith("Mac")) {
SimpleTest.expectAssertions(0, 2);
} else if (navigator.platform.startsWith("Linux")) {
SimpleTest.expectAssertions(0, 6);
}
createHTML({
bug: "796890",
title: "Basic audio/video (separate) peer connection"

View File

@ -11,8 +11,6 @@
<pre id="test">
<script type="application/javascript">
SimpleTest.expectAssertions(0, 13);
createHTML({
bug: "796890",
title: "Basic audio/video (combined) peer connection"

View File

@ -14,9 +14,6 @@
});
runTest(function () {
if (navigator.platform.startsWith("Win")) {
SimpleTest.expectAssertions(0, 280);
}
var pc;
var pcs;
var exception = null;

View File

@ -9,10 +9,6 @@
<body>
<pre id="test">
<script type="application/javascript">
if (navigator.platform.startsWith("Win")) {
SimpleTest.expectAssertions(0, 200);
}
createHTML({
bug: "827843",
title: "Ensure that localDescription and remoteDescription are null after close"

View File

@ -8,10 +8,6 @@
<body>
<pre id="test">
<script type="application/javascript">
if (navigator.platform.startsWith("Win")) {
SimpleTest.expectAssertions(0, 369);
}
createHTML({
bug: "834153",
title: "Queue CreateAnswer in PeerConnection.js"

View File

@ -8,10 +8,6 @@
<body>
<pre id="test">
<script type="application/javascript">
if (navigator.platform.startsWith("Win")) {
SimpleTest.expectAssertions(0, 9);
}
createHTML({
bug: "825703",
title: "PeerConnection.createOffer valid/invalid constraints permutations"

View File

@ -9,13 +9,6 @@
<body>
<pre id="test">
<script type="application/javascript">
if (navigator.platform.startsWith("Linux")) {
SimpleTest.expectAssertions(0, 1);
} else if (navigator.platform.startsWith("Win")) {
SimpleTest.expectAssertions(0, 125);
}
createHTML({
bug: "840344",
title: "Prevent multiple creations of local SDP"