db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michelle Caisse (JIRA)" <derby-...@db.apache.org>
Subject [jira] Created: (DERBY-1409) DerbyJUnitTest lacks String argument constructor
Date Wed, 14 Jun 2006 21:52:29 GMT
DerbyJUnitTest lacks String argument constructor

         Key: DERBY-1409
         URL: http://issues.apache.org/jira/browse/DERBY-1409
     Project: Derby
        Type: Improvement

  Components: Test  
    Reporter: Michelle Caisse
    Priority: Minor
 Attachments: DerbyJUnitTest.patch

With JUnit, a test can be executed on specified test methods by instantiating a suite of (one
or more) Tests of named test methods, as shown in this snippet from the JUnit documentation:

public static Test suite() { 
    TestSuite suite= new TestSuite(); 
    suite.addTest(new MoneyTest("testMoneyEquals")); 
    suite.addTest(new MoneyTest("testSimpleAdd")); 
    return suite;

To support this method of specifying tests to be run, DerbyJUnitTest must contain a constructor
with a String argument that invokes the superclass String arg constructor.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message