appdb/unit_test test_om_objects.php
WineHQ
wineowner at wine.codeweavers.com
Sat Sep 8 17:25:52 CDT 2007
ChangeSet ID: 31360
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner at winehq.org 2007/09/08 17:25:52
Modified files:
unit_test : test_om_objects.php
Log message:
Chris Morgan <cmorgan at alum.wpi.edu>
Set a specific name for the vendor object created during the unit tests
Patch: http://cvs.winehq.org/patch.py?id=31360
Old revision New revision Changes Path
1.24 1.25 +4 -1 appdb/unit_test/test_om_objects.php
Index: appdb/unit_test/test_om_objects.php
diff -u -p appdb/unit_test/test_om_objects.php:1.24 appdb/unit_test/test_om_objects.php:1.25
--- appdb/unit_test/test_om_objects.php:1.24 8 Sep 2007 22:25:52 -0000
+++ appdb/unit_test/test_om_objects.php 8 Sep 2007 22:25:52 -0000
@@ -92,7 +92,7 @@ function test_class($sClassName, $aTestM
if(!$oTestObject->delete())
{
- error("sClassName of $sClassName oTestObject->delete() failed!");
+ error("sClassName of '".$sClassName."' oTestObject->delete() failed!");
$oUser->delete();
return false;
}
@@ -221,6 +221,9 @@ function create_object($sClassName, $oUs
$oTestObject->oVersion->iAppId = $oApp->iAppId;
$oTestObject->oVersion->sName = "OM Version";
break;
+ case "vendor":
+ $oTestObject->sName = "OM vendor";
+ break;
}
/* We cannot use screenshot::create() because it requires an image */
More information about the wine-cvs
mailing list