db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ole Solberg (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2807) Create a test for BlobClob compatibility on Derby server versions vs. Derby client versions.
Date Thu, 18 Oct 2007 11:35:51 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535893
] 

Ole Solberg commented on DERBY-2807:
------------------------------------

'org.apache.derbyTesting.functionTests.tests.junitTests.compatibility.CompatibilitySuite'
(and 'org.apache.derbyTesting.functionTests.tests.junitTests.compatibility.BLOBCLOB_CompatibilitySuite')
are meant to be run via 'org.apache.derbyTesting.functionTests.tests.junitTests.compatibility.CompatibilityCombinations'
which sets up the environment for the desired combinations of servers and clients to be tested:

'CompatibilityCombinations' gets the compatibility suite to be run for each combination of
Derby server and client from the file 'compatibilitytest.properties' in "user.dir".
I.e. 'compatibilitytest.properties' must be created and put in your test execution directory.


I then run the test like this

export test=org.apache.derbyTesting.functionTests.tests.junitTests.compatibility.CompatibilityCombinations
java -Xmx256m -Djava.security.policy=<NONE> junit.textui.TestRunner ${test}


'compatibilitytest.properties' also specifies which combinations of jvm's should be used on
the server and client sides.



I am attaching an example 'compatibilitytest.properties' file.



> Create a test for BlobClob compatibility on Derby server versions vs. Derby client versions.
> --------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2807
>                 URL: https://issues.apache.org/jira/browse/DERBY-2807
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions: 10.3.1.4
>            Reporter: Ole Solberg
>            Assignee: Ole Solberg
>            Priority: Minor
>         Attachments: derby-2807-v1.diff.txt
>
>
> Run '..../tests/jdbcapi/BlobClob4BlobTest.java' in the 'java/testing/org/apache/derbyTesting/functionTests/tests/junitTests/compatibility/CompatibilityCombinations.java'
framework to test combinations of Derby server versions vs. Derby client versions. The CompatibilityCombinations
framework also allows varying the JVM version used on the server and client side.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message