[Japi-cvs] SF.net SVN: japi:[875] tools/string2bytes/trunk/src/tst/test/net/sf/japi/ string2bytes/
Status: Beta
Brought to you by:
christianhujer
|
From: <chr...@us...> - 2009-02-15 12:12:34
|
Revision: 875
http://japi.svn.sourceforge.net/japi/?rev=875&view=rev
Author: christianhujer
Date: 2009-02-15 11:59:33 +0000 (Sun, 15 Feb 2009)
Log Message:
-----------
Improved Unit tests, e.g. add messages, bring expected and actual in right order, use assertEquals.
Modified Paths:
--------------
tools/string2bytes/trunk/src/tst/test/net/sf/japi/string2bytes/CodecStepTest.java
Modified: tools/string2bytes/trunk/src/tst/test/net/sf/japi/string2bytes/CodecStepTest.java
===================================================================
--- tools/string2bytes/trunk/src/tst/test/net/sf/japi/string2bytes/CodecStepTest.java 2009-02-15 11:59:25 UTC (rev 874)
+++ tools/string2bytes/trunk/src/tst/test/net/sf/japi/string2bytes/CodecStepTest.java 2009-02-15 11:59:33 UTC (rev 875)
@@ -44,9 +44,8 @@
/**
* Creates the test data and a testling.
- * @throws Exception (unexpected)
*/
- @Before public void setUp() throws Exception {
+ @Before public void setUp() {
codec = new IdentityCodec();
charset = "utf-8";
codecStep = new CodecStep(codec, charset);
@@ -54,10 +53,9 @@
/**
* Removes the test data and the testling.
- * @throws Exception (unexpected)
*/
@SuppressWarnings({"AssignmentToNull"})
- @After public void tearDown() throws Exception {
+ @After public void tearDown() {
codec = null;
charset = null;
codecStep = null;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|