downloadurl: Add more objectManager functions. Allow us to unqueue queued downloadurls that are

currently stuck in limbo.
This commit is contained in:
Alexander Nicolaysen Sørnes
2007-05-31 02:40:01 +00:00
committed by WineHQ
parent b2b950cb10
commit cb18a07f60
2 changed files with 77 additions and 1 deletions

View File

@@ -49,6 +49,10 @@ function test_class($sClassName, $aTestMethods)
$oTestObject->sName = "Silly test distribution";
$oTestObject->sUrl = "http://appdb.winehq.org/";
break;
case "downloadurl":
$oTestObject->sUrl = "http://appdb.winehq.org/";
$oTestObject->sDescription = "DANGER";
$oTestObject->iVersionId = 65000; // Just needs to be != 0
case "maintainer":
$iAppId = 65555;
$oApp = new application();
@@ -139,6 +143,7 @@ function test_object_methods()
$aTestClasses = array("application",
"application_queue",
"distribution",
"downloadurl",
"maintainer",
"screenshot",
"testData",