You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kristian Waagan (JIRA)" <ji...@apache.org> on 2006/11/08 16:36:55 UTC

[jira] Updated: (DERBY-2054) Rewrite 'derbynet/SuicideOfStreaming' to a JUnit test

     [ 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: 10.3.0.0
>            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