db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Db-derby Wiki] Trivial Update of "ConvertOldTestToJunitTips" by jeanTanderson
Date Thu, 01 Mar 2007 00:50:29 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by jeanTanderson:
http://wiki.apache.org/db-derby/ConvertOldTestToJunitTips

------------------------------------------------------------------------------
  
  Check the "Decorators" section on the ["KillDerbyTestHarness"] page for a variety of '''Question'''
and '''Answer''' topics.
  
- === My new junit test compiles just fine -- why doesn't it execute? ===
+ === My new junit test compiles and runs just fine -- why doesn't it actually execute? ===
  
  Many of the old tests take a connection argument, such as:
  
  {{{static void testLongBinary(Connection conn)}}}
  
- When you convert it to a JUnit test, remember to remove the connection argument:
+ When you copy the code into a JUnit test, remember to remove the connection argument:
  
  {{{static void testLongBinary ()}}}
  

Mime
View raw message