Author: hlship
Date: Wed May 19 16:52:03 2010
New Revision: 946273

URL: http://svn.apache.org/viewvc?rev=946273&view=rev
Log:
Make use of the new TestUtils base class.

Modified:
    
tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/json/JSONObjectTest.java

Modified: 
tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/json/JSONObjectTest.java
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/json/JSONObjectTest.java?rev=946273&r1=946272&r2=946273&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/json/JSONObjectTest.java
 (original)
+++ 
tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/json/JSONObjectTest.java
 Wed May 19 16:52:03 2010
@@ -14,20 +14,20 @@
 
 package org.apache.tapestry5.json;
 
-import org.testng.Assert;
-import org.testng.annotations.DataProvider;
-import org.testng.annotations.Test;
-
 import java.io.CharArrayWriter;
 import java.io.PrintWriter;
 import java.math.BigDecimal;
 import java.util.Arrays;
 import java.util.HashMap;
 
+import org.apache.tapestry5.ioc.test.TestUtils;
+import org.testng.annotations.DataProvider;
+import org.testng.annotations.Test;
+
 /**
  * Tests JSONObject, particularly in terms of parsing and writing JSON streams.
  */
-public class JSONObjectTest extends Assert
+public class JSONObjectTest extends TestUtils
 {
     @Test
     public void copy_from_object_constructor()
@@ -72,11 +72,6 @@ public class JSONObjectTest extends Asse
         assertEquals(array.getString(2), "baz");
     }
 
-    private void unreachable()
-    {
-        throw new AssertionError("This code should not be reachable.");
-    }
-
     @Test
     public void get_not_found()
     {


Reply via email to