OnlineGlom: Make clientFactory a (protected) member, and test it a bit.
authorMurray Cumming <murrayc@murrayc.com>
Mon, 2 Jan 2012 19:59:19 +0000 (20:59 +0100)
committerMurray Cumming <murrayc@murrayc.com>
Mon, 2 Jan 2012 19:59:19 +0000 (20:59 +0100)
commit62ade1de5d9c396839480bc55662d31b1127df9c
treeaa5c3d33c2062ab4bc02ba075402bd1c8f47012f
parented70963225640fd794cdb3e1a01043060ad3aff7
OnlineGlom: Make clientFactory a (protected) member, and test it a bit.

* src/main/java/org/glom/web/client/OnlineGlom.java: Make clientFactory
a class member instead of a local variable in the method.
This lets us use it to get the view instances, for use in tests.
* src/test/java/org/glom/web/client/GwtTestOnlineGlom.java:
beforeOnlineGlom(): Test some more details of the initial view.
Again, this is not very useful.

To really test gwt-glom we will need to start a local postgresql
instance with local data, like the Glom tests in C++.
ChangeLog
src/main/java/org/glom/web/client/OnlineGlom.java
src/test/java/org/glom/web/client/GwtTestOnlineGlom.java