mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 404077: Adjust annotations of expected assertions.
This commit is contained in:
parent
a2a46343bf
commit
42aceb59d8
@ -21,6 +21,9 @@
|
||||
src="../events.js" />
|
||||
|
||||
<script type="application/javascript">
|
||||
|
||||
SimpleTest.expectAssertions(0, 1);
|
||||
|
||||
function getColorBtn(aBtnObj)
|
||||
{
|
||||
var colorpicker = aBtnObj.colorpicker;
|
||||
|
@ -16,9 +16,7 @@
|
||||
src="../states.js"></script>
|
||||
|
||||
<script type="application/javascript">
|
||||
if (navigator.platform.startsWith("Win")) {
|
||||
SimpleTest.expectAssertions(0, 1);
|
||||
}
|
||||
SimpleTest.expectAssertions(0, 1);
|
||||
|
||||
function doTest()
|
||||
{
|
||||
|
@ -10,6 +10,12 @@
|
||||
<body>
|
||||
<pre id="test">
|
||||
<script type="application/javascript">
|
||||
if (navigator.platform.startsWith("Win")) {
|
||||
SimpleTest.expectAssertions(0, 1);
|
||||
} else if (navigator.platform.startsWith("Linux")) {
|
||||
SimpleTest.expectAssertions(0, 3);
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
var root = getRootDirectory(window.location.href);
|
||||
|
@ -19,6 +19,10 @@
|
||||
|
||||
<!-- test code goes here -->
|
||||
<script type="text/javascript"><![CDATA[
|
||||
if (navigator.platform.startsWith("Mac")) {
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
}
|
||||
|
||||
var toolbar = $("tb1");
|
||||
|
||||
ok(toolbar, "got the toolbar, triggering the xbl constructor");
|
||||
|
@ -21,9 +21,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=624329
|
||||
<![CDATA[
|
||||
/** Test for Bug 624329 **/
|
||||
|
||||
if (navigator.platform.startsWith("Mac")) {
|
||||
SimpleTest.expectAssertions(0, 3);
|
||||
}
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
|
@ -22,7 +22,7 @@ var gTestPhase = -1;
|
||||
var gCp = null;
|
||||
|
||||
if (navigator.platform.startsWith("Mac")) {
|
||||
SimpleTest.expectAssertions(0, 4);
|
||||
SimpleTest.expectAssertions(0, 7);
|
||||
} else if (navigator.platform.startsWith("Linux")) {
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
}
|
||||
|
@ -18,11 +18,7 @@
|
||||
|
||||
<!-- test code goes here -->
|
||||
<script type="application/javascript"><![CDATA[
|
||||
if (navigator.platform.startsWith("Linux")) {
|
||||
SimpleTest.expectAssertions(0, 3);
|
||||
} else {
|
||||
SimpleTest.expectAssertions(0, 2);
|
||||
}
|
||||
SimpleTest.expectAssertions(0, 5);
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user