Good day, Tried that and it didn't work. I appreciate the help, there must be something simple wrong here but I have to move on for now. I will update this thread (or continue it) later.
Thanks for your interest, Troy On Wed, Jan 8, 2014 at 9:35 AM, Henrik Horneber <[email protected]> wrote: > What about assertThat(result.getX(), is(equalTo("xValue"))? Does that work? > Maybe it's just the hasProperty Matcher. > > > On Wed, Jan 8, 2014 at 2:31 PM, <[email protected]> wrote: > >> On Wednesday, January 8, 2014 1:31:30 AM UTC-4, Marc R. Hoffmann wrote: >> > Hi, >> > >> > >> > >> > you can use Hamcrest Matchers with JaCoCo/EclEmma. There are no known >> > >> > limitations. >> > >> > >> > >> > Best regards, >> > >> > -marc >> > >> > >> > >> > On 07.01.14 22:39, [email protected] wrote: >> > >> > > Good day, >> > >> > > >> > >> > > We are using Hamcrest Matchers in our JUnit tests and this does not >> seem to affect the coverage report. >> > >> > > >> > >> > > Are they supported in any fashion? >> > >> > > >> > >> > > Thank you, >> > >> > > >> > >> > > Troy >> > >> > > >> >> Thanks for the reply, >> >> The unfortunate thing is none of the objects tested with Matchers >> register as covered assertThat(result, hasProperty("x", equalTo("xValue")), >> >> whereas making an assertion does assertEquals("xValue", result.getX()) >> does. >> >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "JaCoCo and EclEmma Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > "I find many of the machines of violence very attractive. Tanks, > airplanes, warships, especially aircraft carriers." > - 14th Dalai Lama > > -- > You received this message because you are subscribed to a topic in the > Google Groups "JaCoCo and EclEmma Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jacoco/EN2N-XYGk2s/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
