db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r767584 [1/3] - in /db/derby/code/trunk/java/testing/org/apache/derbyTesting: functionTests/tests/lang/OrderByAndSortAvoidance.java junit/RuntimeStatisticsParser.java
Date Wed, 22 Apr 2009 16:26:42 GMT
Author: mamta
Date: Wed Apr 22 16:26:42 2009
New Revision: 767584

URL: http://svn.apache.org/viewvc?rev=767584&view=rev

I have worked on writing a junit test which is currently going to fail because we are returning
the data in incorrect order. I thought it would be useful to have the test for people to quickly
run the test if they wanted to. This junit test will not be part of any suite currently since
the bug is not fixed yet. Putting it in the suite is going to make it fail everytime because
the test is asserting that the data be returned in the correct order. It was painful to convert
the setup script provided for this jira into a junit test. The script is huge. I was able
to use Army's test converter DERBY-2151(it was extremely helpful because it atleast converted
half of the script into junit test. My understanding is that the converter works on the older
canon based master file. I think it takes sql delimited by ; from the canon file and assumes
that next line is the output of that sql. So, the converter skipped every other sql from my
setup script. I ended up hand putting every other l
 ine which was skipped by the converter. ) 

  (with props)

View raw message