[rules-users] Fwd: Re: Guvnor - expected value of a list

Toni Rikkola toni.rikkola at gmail.com
Wed Feb 15 02:59:22 EST 2012


Try =[test1,test1]

Toni

On Feb 15, 2012, at 9:47 AM, Michael Anstis wrote:

> 
> sent on the move
> 
> ---------- Forwarded message ----------
> From: "Péter Gombás" <gombas.peter at gmail.com>
> Date: 15 Feb 2012 07:40
> Subject: Re: [rules-users] Guvnor - expected value of a list
> To: <michael.anstis at gmail.com>
> 
> Hello Michael,
> 
> yes, it is a Test scenario in Guvnor. In attachment is a very simple
> project. Target is to check the resulting list. On the picture you can
> see the problem: altough expected values are the same as target the
> test is not succesful. Or am i using it not correctly?
> 
> Peter
> 
> 2012/2/14 Michael Anstis <michael.anstis at gmail.com>:
> > I assume this is a QA \ Test Scenario in Guvnor?
> >
> > It's going to be helpful if you can provide an export of your repository (or
> > an extract) showing the issue.
> >
> >
> > On 14 February 2012 16:12, gombasp <gombas.peter at gmail.com> wrote:
> >>
> >> Hello,
> >>
> >> I have the following problem: i would like to compare a value in expected
> >> section of a Guvnor test. Guvnor says actual value is:
> >>
> >> (Actual: [test1, test1])
> >>
> >> When i enter [test1, test1] to the expected value it will not match with
> >> actual.
> >> Is it possible to compare list values? If yes, what is the syntax?
> >>
> >> Thanks,
> >>
> >> Peter
> >>
> >> --
> >> View this message in context:
> >> http://drools.46999.n3.nabble.com/Guvnor-expected-value-of-a-list-tp3744129p3744129.html
> >> Sent from the Drools: User forum mailing list archive at Nabble.com.
> >> _______________________________________________
> >> rules-users mailing list
> >> rules-users at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/rules-users
> >
> >
> >
> > _______________________________________________
> > rules-users mailing list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
> 
> 
> 
> --
> Gombás Péter
> <guvnor_test.zip><guvnor.JPG>_______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120215/ab84b0c1/attachment.html 


More information about the rules-users mailing list