Tests for XMLWriter?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Tests for XMLWriter?

Alexandre Bergel
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
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Reply | Threaded
Open this post in threaded view
|

Re: Tests for XMLWriter?

jaayer




---- 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.

>
>
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Tests for XMLWriter?

jaayer




---- 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

>
>>
>>
>>
>>
>>
>>


Reply | Threaded
Open this post in threaded view
|

Re: Tests for XMLWriter?

Alexandre Bergel
In reply to this post by jaayer
> 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
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.