axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chamikara Jayalath" <chamikar...@gmail.com>
Subject Re: [Axis2] Validation of itests
Date Fri, 28 Apr 2006 07:42:02 GMT
Hi Eran,

Good idea. Still, since most of the envelopes are simple, it looks easier to
use the methods of the OMElement (getFirstChildWithName etc.). For complex
once we can go for XPath.

Chamikara




On 4/28/06, Eran Chinthaka <chinthaka@opensource.lk> wrote:
>
> How abt validating based on XPath expressions for required values ?
>
> -- Chinthaka
>
> Chamikara Jayalath wrote:
> > Hi All,
> >
> > I'm trying to fix some of the failing whitemesa interop tests in the
> > integration/itest folder.
> >
> > It seems that the validation of the results is done by a XML comparison
> > of a pre-saved result envelope (which are located in the
> > integration/itest-resources/interop/whitemesa folder), with a newly
> > obtained result. Is this way correct ? I mean the test cases would fail
> > in any change of the result XML.  (For e.g. if the result env. contain
> > any additional headers/attributes or by a prefix change of any
> namespace).
> >
> > Chamikara
>
>
>
>
>

Mime
View raw message