Java Mailing List Archive

http://www.gg3721.com/

Home » user.groovy »

[groovy-user] Problem with GMock

Joachim Baumann

2010-03-08

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi,

the following test worked in the past, but doesn't with the
1.7.1-version of Groovy:

  void testMockConstructor() {
  def mockLoader = mock(Loader, constructor(1, 2))
  mockLoader.put(3, 4)
  play {
    def loader = new Loader(1, 2)
    loader.put(3, 4)
  }
  }

What has changed, and how should I adapt the test? Background: This is
one of the tests I run for the installer...

Cheers, Joachim

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


©2008 gg3721.com - Jax Systems, LLC, U.S.A.