[prev in list] [next in list] [prev in thread] [next in thread] 

List:       groovy-user
Subject:    Re: [groovy-user] GMock tests break under 2.1.2
From:       Johnny Jian <jianhengyi () gmail ! com>
Date:       2013-04-25 14:22:37
Message-ID: CAEAmL+HehZmqBFh2=6+kYtSatzPb5-7s0ONwBGQQcSx3qyiH3g () mail ! gmail ! com
[Download RAW message or body]

Hi Paul,

This is a known issue of Gmock:
https://code.google.com/p/gmock/issues/detail?id=135

Johnny

On Thu, Apr 25, 2013 at 12:39 AM, Paul Bennett <paul@prajnainc.com> wrote:

> We are upgrading from 1.8.6 to 2.1.2 version of Groovy, and have some
> tests that use GMock. Under 2.1.2 these tests break, because GMock refuses
> to call mocked methods on a partial mock. Instead, the original method is
> called.
>
> Environment is:
>
> Eclipse Juno 4.2, Greclipse 2.8.0
> Groovy 2.1.2
> GMock 0.8.2
> Mac Os X 10.6.8
> Mac Java 1.6_43
>
> Anyone any ideas? Is a known problem?
>
> -pb
>
>
>

[Attachment #3 (text/html)]

Hi Paul,<div><br></div><div>This is a known issue of Gmock: <a \
href="https://code.google.com/p/gmock/issues/detail?id=135">https://code.google.com/p/gmock/issues/detail?id=135</a></div><div><br></div><div>Johnny<br><br><div \
class="gmail_quote"> On Thu, Apr 25, 2013 at 12:39 AM, Paul Bennett <span \
dir="ltr">&lt;<a href="mailto:paul@prajnainc.com" \
target="_blank">paul@prajnainc.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> <div style="word-wrap:break-word">We are upgrading from \
1.8.6 to 2.1.2 version of Groovy, and have some tests that use GMock. Under 2.1.2 \
these tests break, because GMock refuses to call mocked methods on a partial mock. \
Instead, the original method is called.<div> <br></div><div>Environment \
is:</div><div><br></div><div>Eclipse Juno 4.2, Greclipse 2.8.0</div><div>Groovy \
2.1.2</div><div>GMock 0.8.2</div><div>Mac Os X 10.6.8</div><div>Mac Java \
1.6_43</div><div><br></div><div>Anyone any ideas? Is a known problem?</div> <span \
class="HOEnZb"><font color="#888888"><div><br><div><div> <span \
style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-au \
to;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;te \
xt-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span \
style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-au \
to;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;te \
xt-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div \
                style="word-wrap:break-word">
-pb<br><br></div></span></span>
</div>
<br></div></div></font></span></div></blockquote></div><br></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic