Bug 587582 ReferenceError: gCurrStatus is not defined in various mailnews xpcshell-tests. r=bienvenu

This commit is contained in:
Mark Banner 2010-08-16 19:02:35 +01:00
Родитель 41e09b298b
Коммит a1f2bcb828
14 изменённых файлов: 25 добавлений и 39 удалений

Просмотреть файл

@ -160,8 +160,7 @@ function doTest(test)
// Set a limit of three seconds; if the notifications haven't arrived by then there's a problem.
do_timeout(10000, function(){
if (gCurTestNum == test)
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
", current status is " + gCurrStatus);
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
}
);
try {

Просмотреть файл

@ -195,8 +195,7 @@ function doTest(test)
do_timeout(10000, function(){
if (gCurTestNum == test)
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
", current status is " + gCurrStatus);
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
}
);
try {

Просмотреть файл

@ -210,8 +210,7 @@ function doTest(test)
// Set a limit in case the notifications haven't arrived (i.e. a problem)
do_timeout(10000, function() {
if(gCurTestNum == test)
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
", current status is " + gCurrStatus);
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
}
);
try {

Просмотреть файл

@ -71,8 +71,7 @@ function doTest(test)
// Set a limit of 10 seconds; if the notifications haven't arrived by then there's a problem.
do_timeout(10000, function(){
if (gCurTestNum == test)
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
", current status is " + gCurrStatus);
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
}
);
try {

Просмотреть файл

@ -140,8 +140,7 @@ function doTest(test)
// Set a limit of three seconds; if the notifications haven't arrived by then there's a problem.
do_timeout(10000, function(){
if (gCurTestNum == test)
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
", current status is " + gCurrStatus);
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
}
);
try {

Просмотреть файл

@ -265,8 +265,7 @@ function doTest(test)
// Set a limit of 10 seconds; if the notifications haven't arrived by then there's a problem.
do_timeout(10000, function(){
if (gCurTestNum == test)
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
", current status is " + gCurrStatus);
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
}
);
try {

Просмотреть файл

@ -169,8 +169,7 @@ function doTest(test)
// Set a limit of ten seconds; if the notifications haven't arrived by then there's a problem.
do_timeout(10000, function(){
if (gCurTestNum == test)
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
", current status is " + gCurrStatus);
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
}
);
try {

Просмотреть файл

@ -150,8 +150,7 @@ function doTest()
do_timeout(10000, function()
{
if (gCurTestNum == test)
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
", current status is " + gCurrStatus);
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
}
);
try {

Просмотреть файл

@ -487,8 +487,7 @@ function doTest()
do_timeout(10000, function()
{
if (gCurTestNum == test)
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
", current status is " + gCurrStatus);
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
}
);
try {

Просмотреть файл

@ -160,8 +160,7 @@ function doTest(test)
do_timeout(10000, function()
{
if (gCurTestNum == test)
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
", current status is " + gCurrStatus);
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
}
);
try {

Просмотреть файл

@ -222,8 +222,7 @@ function doTest(test)
// Set a limit of ten seconds; if the notifications haven't arrived by then there's a problem.
do_timeout(10000, function(){
if (gCurTestNum == test)
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
", current status is " + gCurrStatus);
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
}
);
try {

Просмотреть файл

@ -197,8 +197,7 @@ function doTest(test)
// Set a limit of ten seconds; if the notifications haven't arrived by then there's a problem.
do_timeout(10000, function(){
if (gCurTestNum == test)
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
", current status is " + gCurrStatus);
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
}
);
try {

Просмотреть файл

@ -179,8 +179,7 @@ function doTest()
// Set a limit of ten seconds; if the notifications haven't arrived by then there's a problem.
do_timeout(10000, function(){
if (gCurTestNum == test)
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
", current status is " + gCurrStatus);
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
}
);
try {

Просмотреть файл

@ -92,8 +92,7 @@ function doTest(test)
// Set a limit of 10 seconds; if the notifications haven't arrived by then there's a problem.
do_timeout_function(10000, function(){
if (gCurTestNum == test)
do_throw("Notifications not received in 10000 ms for operation " + testFn.name +
", current status is " + gCurrStatus);
do_throw("Notifications not received in 10000 ms for operation " + testFn.name);
}
);
try {