Keep track of global success or failure and print out a summary success or failure when the

tests are complete. Makes it less likely that a test failure will be missed.
This commit is contained in:
Chris Morgan
2007-03-31 17:12:55 +00:00
committed by WineHQ
parent c494af3eb5
commit e2b15c0566
11 changed files with 136 additions and 25 deletions

View File

@@ -340,30 +340,50 @@ function test_maintainer_deleteMaintainersForVersion()
}
if(!test_maintainer_getMaintainerCountForUser())
{
echo "test_maintainer_getMaintainerCountForUser() failed!\n";
else
$bTestSuccess = false;
} else
{
echo "test_maintainer_getMaintainerCountForUser() passed\n";
}
if(!test_maintainer_getAppsMaintained())
{
echo "test_maintainer_getAppsMaintained() failed!\n";
else
$bTestSuccess = false;
} else
{
echo "test_maintainer_getAppsMaintained() passed\n";
}
if(!test_maintainer_unQueue())
{
echo "test_maintainer_unQueue() failed!\n";
else
$bTestSuccess = false;
} else
{
echo "test_maintainer_unQueue() passed\n";
}
if(!test_superMaintainerOnAppSubmit())
{
echo "test_superMaintainerOnAppSubmit() failed!\n";
else
$bTestSuccess = false;
} else
{
echo "test_superMaintainerOnAppSubmit() passed\n";
}
if(!test_maintainer_deleteMaintainersForVersion())
{
echo "test_maintainer_deleteMaintainersForVersion() failed!\n";
else
$bTestSuccess = false;
} else
{
echo "test_maintainer_deleteMaintianersForVersion() passed\n";
}
?>