db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r154171 - in incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests: suites/DerbyNetClient.exclude tests/derbynet/dataSourcePermissions_net.java
Date Thu, 17 Feb 2005 17:18:08 GMT
Author: kmarsden
Date: Thu Feb 17 09:18:06 2005
New Revision: 154171

URL: http://svn.apache.org/viewcvs?view=rev&rev=154171
Log:
Enable dataSourcePermissions test for derbynetclient framework


Modified:
    incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNetClient.exclude
    incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/dataSourcePermissions_net.java

Modified: incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNetClient.exclude
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNetClient.exclude?view=diff&r1=154170&r2=154171
==============================================================================
--- incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNetClient.exclude
(original)
+++ incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/DerbyNetClient.exclude
Thu Feb 17 09:18:06 2005
@@ -1,4 +1,3 @@
-derbynet/dataSourcePermissions_net.java
 # excluding resultsetStream.java because this test uses java.io.FileInputStream throughout
the test
 # excluding scrollCursors2.java because updatable resultsets & scroll sensitive cursors
are not supported
 # excluding batchUpdate.java for it hits a problem in networkserver ('beetle' 5561)

Modified: incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/dataSourcePermissions_net.java
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/dataSourcePermissions_net.java?view=diff&r1=154170&r2=154171
==============================================================================
--- incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/dataSourcePermissions_net.java
(original)
+++ incubator/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/dataSourcePermissions_net.java
Thu Feb 17 09:18:06 2005
@@ -169,7 +169,11 @@
 
 	private Properties addRequiredAttributes(Properties attrs)
 	{
-		attrs.setProperty("driverType","4");
+		if (TestUtil.isJCCFramework())
+		{
+			attrs.setProperty("driverType","4");
+		}
+
 		attrs.setProperty("serverName","localhost");
 		attrs.setProperty("portNumber","20000");
 		//attrs.setProperty("retrieveMessagesFromServerOnGetMessage","true");



Mime
View raw message