Patch for relationship tests
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > Patch for relationship tests




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Patch for relationship tests  
Michael Watzek


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-05-05 10:45 PM

Hi,

please find the patch for relationship tests attached. The patch is too
big to send it in one file. For this reason, I broke it up into two files:

- relationship.patch-1of2
- relationship.patch-2of2

I'll send the second file in a separate mail.

The patch adds 6 configurations to the build process, one for each
relationship type:

- test/conf/companyNoRelationships.conf
- test/conf/companyEmbedded.conf
- test/conf/company1-1Relationships.conf
- test/conf/company1-MRelationships.conf
- test/conf/companyM-MRelationships.conf
- test/conf/companyAllRelationships.conf

The first configuration file (companyNoRelationships.conf) equals
configuration cfg2.conf. I removed the latter.

All of these configurations are added to the configuration list. That's
why the TCK runs 14 configurations after you applied the patch (7 for
each identity type).

Moreover, the patch adds XML testdata files for each relationship
configuration. The completeness test has been changed to get the XML
testdata file as a system property. There is a slight change in both
schema files because the type of a column
(INSURANCEPLANS.LIFETIME_ORTHO_BENEFIT DECIMAL(22,3)) needed to be
adapted to the testdata.

Below you find the results of relationship tests:

Datastore identity:
NoRelationships: Error due to JDO-93
Embedded:        Error due to JDO-93
1:1:             Failure comparing stored/expected data
1:M:             Failure comparing stored/expected data
M:M:             Error during pm.makePersistentAll
All:             Error during pm.makePersistentAll

Application identity:
NoRelationships: Error due to JDO-93
Embedded:        Error due to JDO-93
1:1:             Error due to java.lang.ClassCastException in
Employee.jdoReplaceField
1:M:             Failure comparing stored/expected data
M:M:             Error due to JDO-93
All:             Failure comparing stored/expected data

I have not filed bugs for the new errors/failures yet. Below you find
the outcome of "svn status" in my local workspace. After you apply the
patch, please call "svn add" on new files and "svn remove" on removed files.

Regards,
Michael

.../tck20>svn status
M      test/sql/derby/datastoreidentity/schema.sql
M      test/sql/derby/applicationidentity/schema.sql
M      test/java/org/apache/jdo/tck/mapping/CompletenessTest.java
A      test/conf/companyAllRelationships.conf
A      test/conf/companyNoRelationships.conf
M      test/conf/configurations.list
A      test/conf/companyEmbedded.conf
D      test/conf/cfg2.conf
A      test/conf/companyM-MRelationships.conf
A      test/conf/company1-MRelationships.conf
A      test/conf/company1-1Relationships.conf
A      test/testdata/org/apache/jdo/tck/pc/company/companyEmbedded.xml
A
test/testdata/org/apache/jdo/tck/pc/company/companyM-MRelationships.xml
A
test/testdata/org/apache/jdo/tck/pc/company/companyAllRelationships.xml
D      test/testdata/org/apache/jdo/tck/pc/company/company.xml
M      test/testdata/org/apache/jdo/tck/pc/company/companyForQueryTests.xml
A
test/testdata/org/apache/jdo/tck/pc/company/company1-MRelationships.xml
A
test/testdata/org/apache/jdo/tck/pc/company/company1-1Relationships.xml

--
-------------------------------------------------------------------
Michael Watzek                  Tech@Spree Engineering GmbH
mailto:mwa.tech@spree.de        Buelowstr. 66
Tel.:  ++49/30/235 520 36       10783 Berlin - Germany
Fax.:  ++49/30/217 520 12       http://www.spree.de/
-------------------------------------------------------------------






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:49 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register