[Pharo-project] Tests for XMLWriter?
Hi! Ivan and I tried to use XMLWriter yesterday, but without tests it is a bit cryptic. Are the tests of XMLWriter available somewhere? Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
---- On Wed, 22 Dec 2010 05:33:44 -0800 Alexandre Bergel wrote ----
Hi!
Ivan and I tried to use XMLWriter yesterday, but without tests it is a bit cryptic. Are the tests of XMLWriter available somewhere?
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Unfortunately, the tests that exist for it are in XML-Tests-Parser-Nodes, which still needs to be rewritten, back from when it was still part of the XMLParser package. Are you having trouble figuring out how to use it? Other than the class comment, try looking at XMLParserElementFactory>>sampleUserXML for an example of its use.
---- On Wed, 22 Dec 2010 23:17:25 -0800 jaayer wrote ----
---- On Wed, 22 Dec 2010 05:33:44 -0800 Alexandre Bergel wrote ----
Hi!
Ivan and I tried to use XMLWriter yesterday, but without tests it is a bit cryptic. Are the tests of XMLWriter available somewhere?
Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Unfortunately, the tests that exist for it are in XML-Tests-Parser-Nodes, which still needs to be rewritten, back from when it was still part of the XMLParser package. Are you having trouble figuring out how to use it? Other than the class comment, try looking at XMLParserElementFactory>>sampleUserXML for an example of its use.
That should be XMLParserElementFactoryTest>>sampleUserXML
Unfortunately, the tests that exist for it are in XML-Tests-Parser-Nodes, which still needs to be rewritten, back from when it was still part of the XMLParser package. Are you having trouble figuring out how to use it? Other than the class comment, try looking at XMLParserElementFactory>>sampleUserXML for an example of its use.
I was maybe a bit extreme on this, but since I did not see any tests, I did not bother to look into it since I was not sure it works. I will look at it. Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
participants (2)
-
Alexandre Bergel -
jaayer