db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-5300) Change derby.tests.trace to print the class as well as fixture name
Date Mon, 17 Oct 2011 19:15:10 GMT

     [ https://issues.apache.org/jira/browse/DERBY-5300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Kristian Waagan updated DERBY-5300:

    Issue & fix info: Newcomer  (was: Patch Available,Newcomer)
       Fix Version/s:

Thanks for following up on this issue, Jayaram.

I committed the patch to trunk with revision 1185330.
I took the liberty to replace the tabs with spaces.

You can now update the JIRA issue, i.e. resolve the issue if you believe your work is done.

BTW, regarding the private final static comment, to do that you would have to move the constants
out of the method and make them class variables (not that it matters for this issue).
> Change derby.tests.trace to print the class as well as fixture name
> -------------------------------------------------------------------
>                 Key: DERBY-5300
>                 URL: https://issues.apache.org/jira/browse/DERBY-5300
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions:
>            Reporter: Kathey Marsden
>            Assignee: Jayaram Subramanian
>            Priority: Trivial
>             Fix For:
>         Attachments: classinfixture-Oct132011.diff, classinfixture-oct15.diff, classinfixture-stat-oct132011.out,
classinfixture-stat-oct15.txt, classinfixture_Aug182011.txt, derby-5300-1a-print_jdbc_client.diff,
> I was thinking it would be good for the test output with -Dderby.tests.trace=true to
have the class name as well as the fixture as I think if I had a nickel  for every time I
grepped for a fixture name to find out what class it is in, I would have a pretty big piggy
> It could print the full class name, like this:
> org.apache.derbyTesting.functionTests.tests.lang.SimpleTest.testBasicOperations used
844 ms .
> or strip off the org.apache.derbyTesting.functionTests for less output like:
> tests.lang.SimpleTest.testBugFixes used 6265 ms .
> Any preferences?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message