Hi,
Now that there is a storemats suite, it seems a good time to start to run it under encryption schemes.
The diff attached has 2 new suites that are added to derbyall:
encryption - to be run with sun's jdk, gets skipped when encryption not available, or the jvm is not sun's jdk.
encryptionIBM - to be run with IBM's sdk, gets skipped when encryption not available, or the jvm is a different one.
More encryption suites will follow, this is the very tip of the iceberg... I'll update the java/testing/README.htm when more encryption has made it in.
Myrna
Index:
java/testing/org/apache/derbyTesting/functionTests/suites/encryption.properties
===================================================================
---
java/testing/org/apache/derbyTesting/functionTests/suites/encryption.properties
(revision 0)
+++
java/testing/org/apache/derbyTesting/functionTests/suites/encryption.properties
(revision 0)
@@ -0,0 +1,5 @@
+encryption=true
+runwithibmjvm=false
+testEncryptionAlgorithm=DESede/CBC/NoPadding
+testJavaFlags=testDataEncryption=Thursday
+suites=storemats
Property changes on:
java/testing/org/apache/derbyTesting/functionTests/suites/encryption.properties
___________________________________________________________________
Name: svn:eol-style
+ native
Index:
java/testing/org/apache/derbyTesting/functionTests/suites/derbyall.properties
===================================================================
---
java/testing/org/apache/derbyTesting/functionTests/suites/derbyall.properties
(revision 125764)
+++
java/testing/org/apache/derbyTesting/functionTests/suites/derbyall.properties
(working copy)
@@ -1,3 +1,3 @@
-suites=derbylang derbynetmats storeall xa derbytools jdbc20 jdk14 jdbcapi
+suites=derbylang derbynetmats storeall xa derbytools jdbc20 jdk14 jdbcapi
encryption encryptionIBM
derby.debug.true=enableBtreeConsistencyCheck
derby.stream.error.logSeverityLevel=0
Index:
java/testing/org/apache/derbyTesting/functionTests/suites/encryptionIBM.properties
===================================================================
---
java/testing/org/apache/derbyTesting/functionTests/suites/encryptionIBM.properties
(revision 0)
+++
java/testing/org/apache/derbyTesting/functionTests/suites/encryptionIBM.properties
(revision 0)
@@ -0,0 +1,5 @@
+encryption=true
+testEncryptionProvider=com.ibm.crypto.provider.IBMJCE
+testJavaFlags=testDataEncryption=Thursday^testEncryptionProvider=com.ibm.crypto.provider.IBMJCE
+runwithibmjvm=true
+suites=storemats
Property changes on:
java/testing/org/apache/derbyTesting/functionTests/suites/encryptionIBM.properties
___________________________________________________________________
Name: svn:eol-style
+ native
