For Programmers: Free Programming Magazines  


Home > Archive > PHP PEAR Questions and Answers > August 2007 > Re: [PEAR-QA] Re: XML_Parser offline unit tests









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR-QA] Re: XML_Parser offline unit tests
Christian Weiske

2007-08-03, 7:04 pm

Stephan,


> You can fix this in CVS, if you like.

I did so and there is one failing test that I don't know if it as issue
with file encoding or really a bug in the package.

1) PHPUnit_Extensions_PhptTestCase
/data/cvs/pear/pear/XML_Parser/tests/005.phpt
--- Expected
+++ Actual
@@ -1,6 +1,6 @@
-Testing UTF-8 -> ISO-8859-1: string(13) "<A>abc=EF=BF=BD=EF=BF=BD=EF=BF=BD=
</A>"
+Testing UTF-8 -> ISO-8859-1: string(13) "<A>abc=EF=BF=BD=EF=BF=BD=EF=BF=BD=
</A>"
Testing UTF-8 -> US-ASCII: string(13) "<A>abc???</A>"
-Testing ISO-8859-1 -> UTF-8: string(16) "<A>abc=C3=A6=C3=B8=C3=A5</A>"
+Testing ISO-8859-1 -> UTF-8: string(19) "<A>abc=EF=BF=BD=EF=BF=BD=EF=BF=BD=
</A>"
Testing ISO-8859-1 -> US-ASCII: string(13) "<A>abc???</A>"
Testing US-ASCII -> UTF-8: string(13) "<A>abcaoa</A>"
Testing US-ASCII -> ISO-8859-1: string(13) "<A>abcaoa</A>"
\ Kein Zeilenumbruch am Dateiende.

--=20
Regards/Mit freundlichen Gr=C3=BC=C3=9Fen
Christian Weiske
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com