Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[egit-dev] EasyMock Class Extension

By default EasyMock allow create mocks based on interfaces with is useful in
some cases. But I found that for synchronization view test this approach is
generally less useful because the Team Synchronization API use classes instead
of interfaces as a constructor/method parameters. I find out that there is an
extension for EasyMock that allows create mocks for classes, can we use it in
EGit?

This could simplify our test code because instead creating bunch of objects
or write SWTBot test we could just mock objects and record behavior of methods
used in test.

-- 
Best regards

GSM: +48 695 192 160
Blog: http://luksza.org
LinkedIn: http://www.linkedin.com/in/dariuszluksza


Back to the top