Tests: Use junit4-style syntax instead of junit3-style.
authorMurray Cumming <murrayc@murrayc.com>
Sat, 31 Dec 2011 22:13:23 +0000 (23:13 +0100)
committerMurray Cumming <murrayc@murrayc.com>
Sat, 31 Dec 2011 22:13:23 +0000 (23:13 +0100)
commit24ab945b634be70fbfc4684f787f200b96805664
treeee155dc9e32ac015ab3f6bc5a89a2d1d24adcb3a
parent64198972dc5786cc4009d5c78480fa6850049491
Tests: Use junit4-style syntax instead of junit3-style.

* src/test/java/org/glom/web/client/place/DetailsPlaceTest.java:
* src/test/java/org/glom/web/client/place/ListPlaceTest.java:
* src/test/java/org/glom/web/shared/DataItemTest.java:
Use the @Test annotation rather than relying on the test*() prefix.
Also no longer implement TestCase, to avoid triggering support for
the junit3-way, which stops the annotations from working.
Change the imports from import junit.framework.* to
import org.junit.*, which is apparently the new way.
ChangeLog
src/test/java/org/glom/web/client/place/DetailsPlaceTest.java
src/test/java/org/glom/web/client/place/ListPlaceTest.java
src/test/java/org/glom/web/shared/DataItemTest.java