[prev in list] [next in list] [prev in thread] [next in thread]
List: pear-cvs
Subject: [PEAR-CVS] =?utf-8?q?svn:_/pear2/Pyrus/trunk/tests/DER/_objectidentifier.phpt?=
From: Helgi_Þormar_Þorbjörnsson <dufuz () php ! net>
Date: 2010-02-28 17:18:22
Message-ID: svn-dufuz-1267377502-295588-295597447 () svn ! php ! net
[Download RAW message or body]
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();
--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic