Discussion:
troubles with test cases
Oleg G. Sharov
2007-11-23 07:02:28 UTC
Permalink
Hi!

I have troubles sorting issues attributes in 'dt ls --xml' test cases.
Issue attributes order differs when I get data from "shelve" and when I get
data from disk.

I see 2 ways of solving this problem:
1. sort issues attributes before xml output
2. deep modification of diff methods of "dttest"

I don't like the first method. The second method requires a lot of effort.

Opinions?
--
Oleg G. Sharov
Vlad Skvortsov
2008-01-18 01:54:46 UTC
Permalink
Post by Oleg G. Sharov
Hi!
I have troubles sorting issues attributes in 'dt ls --xml' test cases.
Issue attributes order differs when I get data from "shelve" and when I get
data from disk.
1. sort issues attributes before xml output
I'm not sure, if you still need input on this, but anyways: I think this
is the right path. We need to guarantee that our output is consistent
provided the data is the same.
Post by Oleg G. Sharov
2. deep modification of diff methods of "dttest"
I don't like the first method. The second method requires a lot of effort.
Opinions?
--
Vlad Skvortsov, vss-***@public.gmane.org, http://vss.73rus.com
Loading...