Enable meat of tests, all but one pass

This commit is contained in:
Stephen Paul Weber
2013-01-20 16:49:19 -05:00
parent 057c79440a
commit c5600d2812
2 changed files with 246 additions and 39 deletions

View File

@@ -5,9 +5,9 @@ require dirname(__FILE__).'/../lib/openpgp.php';
class Serialization extends PHPUnit_Framework_TestCase {
public function oneSerialization($path) {
$in = OpenPGP_Message::parse(file_get_contents(dirname(__FILE__) . '/data/' . $path));
//$mid = $in->to_bytes();
//$out = OpenPGP_Message::parse($mid);
//$this->assertEquals($in, $out);
$mid = $in->to_bytes();
$out = OpenPGP_Message::parse($mid);
$this->assertEquals($in, $out);
}
public function test000001006public_key() {