[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libvir] Adding test suite for sexpr<->xml conversions



On Thu, Aug 24, 2006 at 02:07:51PM +0100, Daniel P. Berrange wrote:
> Quite a critical bit of the libvirt code is that which converts between
> SEXPR and XML, and vica-verca. I've broken this code several times when

 This is exactly reason why I've created unit tests stuff in libvirt
 ;-) It's important create unit tests for all things like parsers,
 convertors, ...

> RCS file: tests/sexpr2xml-fv.sexpr
> diff -N tests/sexpr2xml-fv.sexpr
> *** /dev/null	1 Jan 1970 00:00:00 -0000
> --- tests/sexpr2xml-fv.sexpr	24 Aug 2006 13:57:37 -0000

 Maybe you can create some subdirectory in tests/ for data otherwise
 it will be crowded.

 Go ahead, number of tests is unlimited :-)

    Karel

-- 
 Karel Zak  <kzak redhat com>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]