svn: /pear2/Pyrus/trunk/tests/DER/ objectidentifier.phpt

From: Date: Sun, 28 Feb 2010 17:18:22 +0000
Subject: svn: /pear2/Pyrus/trunk/tests/DER/ objectidentifier.phpt
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-9220@lists.php.net to get a copy of this message
dufuz Sun, 28 Feb 2010 17:18:22 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=295588 Log: Add more test cases. Changed paths: U pear2/Pyrus/trunk/tests/DER/objectidentifier.phpt Modified: pear2/Pyrus/trunk/tests/DER/objectidentifier.phpt =================================================================== --- pear2/Pyrus/trunk/tests/DER/objectidentifier.phpt 2010-02-28 17:16:38 UTC (rev 295587) +++ pear2/Pyrus/trunk/tests/DER/objectidentifier.phpt 2010-02-28 17:18:22 UTC (rev 295588) @@ -6,6 +6,9 @@ $test->assertEquals('06062a864886f70d', bin2hex($der->objectIdentifier('1.2.840.113549')->serialize()), 'RSA Object Identifier test'); +$test->assertEquals('06062a864886f70d06072a864886f70d0c', bin2hex($der->objectIdentifier('1.2.840.113549.12')->serialize()), + 'RSA Object Identifier test'); + try { // RSA Object Identifier test with invalid data input $der->objectIdentifier(12840113549)->serialize();

« previous php.pear.core (#9220) next »