Author: sebb
Date: Sat Nov 21 18:58:57 2009
New Revision: 882969

URL: http://svn.apache.org/viewvc?rev=882969&view=rev
Log:
Exceptions not thrown

Modified:
    
commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringEscapeUtilsTest.java
    
commons/proper/lang/trunk/src/test/org/apache/commons/lang/concurrent/BackgroundInitializerTest.java
    
commons/proper/lang/trunk/src/test/org/apache/commons/lang/concurrent/MultiBackgroundInitializerTest.java

Modified: 
commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringEscapeUtilsTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringEscapeUtilsTest.java?rev=882969&r1=882968&r2=882969&view=diff
==============================================================================
--- 
commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringEscapeUtilsTest.java
 (original)
+++ 
commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringEscapeUtilsTest.java
 Sat Nov 21 18:58:57 2009
@@ -426,7 +426,7 @@
     }
 
     // https://issues.apache.org/jira/browse/LANG-339
-    public void testEscapeHiragana() throws 
java.io.UnsupportedEncodingException {
+    public void testEscapeHiragana() {
         // Some random Japanese unicode characters
         String original = "\u304B\u304C\u3068";
         String escaped = StringEscapeUtils.escapeHtml4(original);

Modified: 
commons/proper/lang/trunk/src/test/org/apache/commons/lang/concurrent/BackgroundInitializerTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang/concurrent/BackgroundInitializerTest.java?rev=882969&r1=882968&r2=882969&view=diff
==============================================================================
--- 
commons/proper/lang/trunk/src/test/org/apache/commons/lang/concurrent/BackgroundInitializerTest.java
 (original)
+++ 
commons/proper/lang/trunk/src/test/org/apache/commons/lang/concurrent/BackgroundInitializerTest.java
 Sat Nov 21 18:58:57 2009
@@ -45,7 +45,7 @@
     /**
      * Tests whether initialize() is invoked.
      */
-    public void testInitialize() throws ConcurrentException {
+    public void testInitialize() {
         BackgroundInitializerTestImpl init = new 
BackgroundInitializerTestImpl();
         init.start();
         checkInitialize(init);

Modified: 
commons/proper/lang/trunk/src/test/org/apache/commons/lang/concurrent/MultiBackgroundInitializerTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang/concurrent/MultiBackgroundInitializerTest.java?rev=882969&r1=882968&r2=882969&view=diff
==============================================================================
--- 
commons/proper/lang/trunk/src/test/org/apache/commons/lang/concurrent/MultiBackgroundInitializerTest.java
 (original)
+++ 
commons/proper/lang/trunk/src/test/org/apache/commons/lang/concurrent/MultiBackgroundInitializerTest.java
 Sat Nov 21 18:58:57 2009
@@ -270,7 +270,7 @@
      * Tests the behavior of the initializer if one of the child initializers
      * throws a runtime exception.
      */
-    public void testInitializeRuntimeEx() throws ConcurrentException {
+    public void testInitializeRuntimeEx() {
         ChildBackgroundInitializer child = new ChildBackgroundInitializer();
         child.ex = new RuntimeException();
         initializer.addInitializer(CHILD_INIT, child);


Reply via email to