You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by rh...@apache.org on 2014/02/28 15:03:02 UTC
svn commit: r1572949 -
/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/UDTTest.java
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)
{