Apache JDO Project - [jira] Commented: (JDO-453) Create a test for illegal arguments for

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > December 2007 > [jira] Commented: (JDO-453) Create a test for illegal arguments for





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Commented: (JDO-453) Create a test for illegal arguments for
Michelle Caisse (JIRA)

2007-12-07, 7:11 pm


[ https://issues.apache.org/jira/brow...action_12549597 ]

Michelle Caisse commented on JDO-453:
-------------------------------------

Per discussion on JDO-559, I will remove tests in NewInstanceBadMapping and test for impl throwing JDOUserException with a persistent interface having a method that is not a property and an abstract class having an abstract method that is not a property.


> Create a test for illegal arguments for PersistenceManager.newInstance
> ----------------------------------------------------------------------
>
> Key: JDO-453
> URL: https://issues.apache.org/jira/browse/JDO-453
> Project: JDO
> Issue Type: Test
> Components: tck2, tck2-legacy
> Affects Versions: JDO 2 final
> Reporter: Craig Russell
> Assignee: Michelle Caisse
> Fix For: JDO 2 maintenance release 1
>
> Attachments: JDO-453.patch
>
>
> New test cases are needed for illegal arguments of newInstance.
> One strategy is to define classes in a new package along with metadata, but no mapping (since these are error classes). A new test should try to instantiate the classes using the newInstance method and verify that JDOUserException is thrown.
> Classes to test include:
> Abstract class with abstract method not declared as a property (missing metadata for the method)
> Interface with method not declared as a property (missing metadata for the method)
> Concrete class with missing public no-args constructor


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com