Tests: Added the beginnings of a test using gwt-test-utils.
authorMurray Cumming <murrayc@murrayc.com>
Sun, 1 Jan 2012 00:58:26 +0000 (01:58 +0100)
committerMurray Cumming <murrayc@murrayc.com>
Sun, 1 Jan 2012 00:58:26 +0000 (01:58 +0100)
commit40bad9724b89fb01defaecb3149251a0026c17ea
tree981bcf51fe42e83ce077e2b3c9dccd30728a8a51
parent24ab945b634be70fbfc4684f787f200b96805664
Tests: Added the beginnings of a test using gwt-test-utils.

* pom.xml: Add dependencies on gwt-test-utils and easymock.
* src/test/resources/META-INF/gwt-test-utils.properties: Add this file
which tells gwt-test-utils what class will be tested.
* src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
Add a simple (but empty) test case. One class, used by the OnlineGlom
class, is mocked so that it can be created. However, I am not sure
why only this class needs to be mocked.

Note that mockito seems more popular, and clearer, than easymock,
but I have not got that working yet. It might be a matter of the
mockito version.
ChangeLog
pom.xml
src/test/java/org/glom/web/client/GwtTestOnlineGlom.java [new file with mode: 0644]
src/test/resources/META-INF/gwt-test-utils.properties [new file with mode: 0644]