From: <t_j...@ya...> - 2002-05-21 08:27:27
|
There is currently no facility to do this, as the intent of the Diff class was to enable assertions about the equality (or not) of two 'pieces' of XML. And once the first difference is found then the assertion has been disproved (or proved). In theory it should be possible to list all the differences, but how would you want to expose this functionality within an assertion? E.g. - assertNumberOfDifferencesLessThan(control, test, 2) - assertDifferencesNotIncludes(control, test, A_DIFFERENCE_CONSTANT)? Knowing the intended use is the first step to making the API appropriate. Rgds, Tim __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |