git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[utils]
/
support
/
general
/
src
/
test
/
java
/
org
/
wamblee
/
test
/
AssertionUtils.java
diff --git
a/support/general/src/test/java/org/wamblee/test/AssertionUtils.java
b/support/general/src/test/java/org/wamblee/test/AssertionUtils.java
index 8c25fc13f6963646653ee3cab510c6d622899b2e..b23eee933ecb6fbf3cc2878381a759e52c6797c8 100644
(file)
--- a/
support/general/src/test/java/org/wamblee/test/AssertionUtils.java
+++ b/
support/general/src/test/java/org/wamblee/test/AssertionUtils.java
@@
-19,19
+19,17
@@
import java.util.Arrays;
import java.util.Map;
import java.util.Set;
import java.util.Map.Entry;
import java.util.Map;
import java.util.Set;
import java.util.Map.Entry;
+import java.util.logging.Logger;
import junit.framework.TestCase;
import junit.framework.TestCase;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
/**
* Useful assertions for use in test cases.
*
* @author Erik Brakkee
*/
public final class AssertionUtils {
/**
* Useful assertions for use in test cases.
*
* @author Erik Brakkee
*/
public final class AssertionUtils {
- private static final Log
LOG = LogFactory.getLog(AssertionUtils.class
);
+ private static final Log
ger LOG = Logger.getLogger(AssertionUtils.class.getName()
);
/**
* Disabled constructor.
/**
* Disabled constructor.
@@
-141,9
+139,8
@@
public final class AssertionUtils {
LOG.info("Expected exception occured " + t.getMessage());
return; // ok
LOG.info("Expected exception occured " + t.getMessage());
return; // ok
- } else {
- throw new RuntimeException(t);
- }
+ }
+ throw new RuntimeException(t);
}
}
}
}