db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-2054) Rewrite 'derbynet/SuicideOfStreaming' to a JUnit test
Date Wed, 08 Nov 2006 15:36:55 GMT
     [ http://issues.apache.org/jira/browse/DERBY-2054?page=all ]

Kristian Waagan updated DERBY-2054:

    Attachment: derby-2054-preview.diff

'derby-2054-preview.diff' is the first attempt at rewriting SuicideOfStreaming.
It is kind of special, since it uses a property inside a sanity manager block in the Derby
code to generate an exception on the server. There is also the matter of only returning a
suite with tests if Derby is built in sane mode (see the suite-method).

Please have a look at the suggested test, and read the comments in the code. The diffs of
the two old files implementing this test are included for reference.

I will post another patch shortly, which will add a _Suite in the derbynet directory and fix
a few other small things.

> Rewrite 'derbynet/SuicideOfStreaming' to a JUnit test
> -----------------------------------------------------
>                 Key: DERBY-2054
>                 URL: http://issues.apache.org/jira/browse/DERBY-2054
>             Project: Derby
>          Issue Type: Test
>          Components: Test
>    Affects Versions:
>            Reporter: Kristian Waagan
>         Assigned To: Kristian Waagan
>            Priority: Minor
>         Attachments: derby-2054-preview.diff
> The test 'derbynet/SuicideOfStreaming' should be rewritten to a JUnit test more in line
with our newly created test system.
> It is one of the last tests still being run from the deprecated 'tests/junitTests/' directory,
through a wrapper class.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message