文件名称:gwtmockito:更好的GWT单元测试
文件大小:73KB
文件格式:ZIP
更新时间:2024-06-14 02:37:18
Java
什么是GwtMockito? 使用GWTTestCase测试GWT应用程序可能会很痛苦-比使用纯Java测试要慢,并且您不能使用基于反射的工具(例如模拟框架)。 但是,如果您尝试使用正常的测试用例来测试窗口小部件,则可能会遇到以下错误: ERROR: GWT.create() is only usable in client code! It cannot be called, for example, from server code. If you are running a unit test, check that your test case extends GWTTestCase and that GWT.create() is not called from within an initializer or constructor. GwtMockito通过允许您从
【文件预览】:
gwtmockito-master
----LICENSE(11KB)
----README.md(12KB)
----pom.xml(6KB)
----gwtmockito-sample()
--------src()
--------pom.xml(1KB)
----.gitignore(60B)
----gwtmockito()
--------src()
--------pom.xml(1KB)