db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r1572949 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/UDTTest.java
Date Fri, 28 Feb 2014 14:03:02 GMT
Author: rhillegas
Date: Fri Feb 28 14:03:01 2014
New Revision: 1572949

URL: http://svn.apache.org/r1572949
Log:
DERBY-3155: Add a test function to help in testing of udt privileges; commit derby-3155-32-aa-newTestFunction.diff.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/UDTTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/UDTTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/UDTTest.java?rev=1572949&r1=1572948&r2=1572949&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/UDTTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/UDTTest.java
Fri Feb 28 14:03:01 2014
@@ -1257,6 +1257,13 @@ public class UDTTest  extends GeneratedC
 
     public static HashMap makeHashMap() { return new HashMap(); }
 
+    public static HashMap makeHashMap( String key, Integer value )
+    {
+        HashMap<String,Integer> map = new HashMap<String,Integer>();
+        map.put( key, value );
+        return map;
+    }
+
     public static HashMap putValue(
             HashMap<String, String> map, String key, String value)
     {



Mime
View raw message