You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2006/04/10 17:49:58 UTC

[jira] Created: (HARMONY-325) Java Exception Case Tester - script to generate exception test cases

Java Exception Case Tester - script to generate exception test cases
--------------------------------------------------------------------

         Key: HARMONY-325
         URL: http://issues.apache.org/jira/browse/HARMONY-325
     Project: Harmony
        Type: New Feature

  Components: Misc  
    Reporter: Mark Hindess
    Priority: Trivial


This tool generates test case code for constructors and static methods with parameters - such as null, "", etc -  that are likely to cause exceptions.

It also provides a script to compare the logs generated by running the test code with two different implementations.  The comparison tool can also be used to produce junit test cases as output.

This tool is intended to be used to identify differences in behaviour so that they can be fixed and/or documented.


-- 
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


[jira] Updated: (HARMONY-325) Java Exception Case Tester - script to generate exception test cases

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-325?page=all ]

Mark Hindess updated HARMONY-325:
---------------------------------

    Attachment: Java-Exception-Case-Tester-0.02.tar.gz
                BehaviourTest-0.02.java
                harmony.exception.differences-0.02.txt

Updated versions of all three files.  In addition to testing constructors and static methods, the 0.02 tar also supports producing tests for instance methods that have simple contructors taking no arguments.


> Java Exception Case Tester - script to generate exception test cases
> --------------------------------------------------------------------
>
>          Key: HARMONY-325
>          URL: http://issues.apache.org/jira/browse/HARMONY-325
>      Project: Harmony
>         Type: New Feature

>   Components: Misc
>     Reporter: Mark Hindess
>     Priority: Trivial
>  Attachments: BehaviourTest-0.02.java, BehaviourTest.java, Java-Exception-Case-Tester-0.01.tar.gz, Java-Exception-Case-Tester-0.02.tar.gz, harmony.exception.differences-0.02.txt, harmony.exception.differences.txt
>
> This tool generates test case code for constructors and static methods with parameters - such as null, "", etc -  that are likely to cause exceptions.
> It also provides a script to compare the logs generated by running the test code with two different implementations.  The comparison tool can also be used to produce junit test cases as output.
> This tool is intended to be used to identify differences in behaviour so that they can be fixed and/or documented.

-- 
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


[jira] Updated: (HARMONY-325) Java Exception Case Tester - script to generate exception test cases

Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-325?page=all ]

Mark Hindess updated HARMONY-325:
---------------------------------

    Attachment: Java-Exception-Case-Tester-0.01.tar.gz
                BehaviourTest.java
                harmony.exception.differences.txt

I'm attaching three files:

Java-Exception-Case-Tester-0.01.tar.gz
 - which contains the scripts making up the tool itself.
 
BehaviourTest.java
 - which contains some example junit test output from the comparison tool (for the Cipher.getInstance method that was discussed recently on the -dev list)

harmony.exception.differences.txt
 - which is the current report of differences between Harmony behaviour and the Sun reference implementation behaviour


> Java Exception Case Tester - script to generate exception test cases
> --------------------------------------------------------------------
>
>          Key: HARMONY-325
>          URL: http://issues.apache.org/jira/browse/HARMONY-325
>      Project: Harmony
>         Type: New Feature

>   Components: Misc
>     Reporter: Mark Hindess
>     Priority: Trivial
>  Attachments: BehaviourTest.java, Java-Exception-Case-Tester-0.01.tar.gz, harmony.exception.differences.txt
>
> This tool generates test case code for constructors and static methods with parameters - such as null, "", etc -  that are likely to cause exceptions.
> It also provides a script to compare the logs generated by running the test code with two different implementations.  The comparison tool can also be used to produce junit test cases as output.
> This tool is intended to be used to identify differences in behaviour so that they can be fixed and/or documented.

-- 
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