You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/04/15 20:43:04 UTC

svn commit: r765298 - /commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestPrivate.java

Author: mturk
Date: Wed Apr 15 18:43:03 2009
New Revision: 765298

URL: http://svn.apache.org/viewvc?rev=765298&view=rev
Log:
Few more tests for different class naming

Modified:
    commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestPrivate.java

Modified: commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestPrivate.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestPrivate.java?rev=765298&r1=765297&r2=765298&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestPrivate.java (original)
+++ commons/sandbox/runtime/trunk/src/test/org/apache/commons/runtime/TestPrivate.java Wed Apr 15 18:43:03 2009
@@ -179,15 +179,17 @@
     {
         int i = test011("Ljava/lang/String;");
         assertEquals("Value", 1, i);
-        int j = test011("[Ljava/lang/String;");
-        assertEquals("Value", 1, j);
+        i = test011("[Ljava/lang/String;");
+        assertEquals("Value", 1, i);
+        i = test011("[Z");
+        assertEquals("Value", 1, i);
     }
 
     public void testCCacheSize()
         throws Exception
     {
         int i = test012(0);
-        int j = test011("[Ljava/lang/String;");
+        int j = test011("[[B");
         assertEquals("Value", 1, j);
         int n = test012(0);
         assertEquals("Size",  i + 1, n);