我按照本指南http://javaeenotes.blogspot.com/2011/06/short-introduction-to-jmock.html什麼構成「標準jmock庫」?
我收到錯誤
java.lang.SecurityException: class "org.hamcrest.TypeSafeMatcher"'s signer information does not match signer information of other classes in the same package.
在引導作者說:
的解決方案是確保JMock的庫之前包括構建路徑中的 標準jUnit庫。
什麼構成了「標準jmock庫」和「junit庫」? Junit只有一個罐子,所以很容易,但jmock帶有超過10種不同的罐子。
我一直在使用:J-unit4.10,JMock的-2.5,hamrest核和hamcrest庫
什麼hamcrest核心和圖書館類?