Major test-case cleanup.

- Removed JMock dependency, tests rewritten to use Mockito for stub/mock
- All test should now be using JUnit annotation-style tests
- All modules should now depend on same JUnit version
- Rewrote a few tests to better utilize JUnit annotations
- Fixed a few broken tests
- Code style changes
This commit is contained in:
Harald Kuhr 2011-12-19 14:34:49 +01:00
parent 8f452930ac
commit db526e07ec

View File

@ -79,7 +79,6 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
@ -88,10 +87,9 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>jmock</groupId> <groupId>org.mockito</groupId>
<artifactId>jmock-cglib</artifactId> <artifactId>mockito-all</artifactId>
<version>1.0.1</version> <version>1.8.5</version>
<scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>