You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by Apache Wiki <wi...@apache.org> on 2007/03/01 11:20:22 UTC

[Db-derby Wiki] Trivial Update of "DerbyJunitTestConfiguration" by JohnHEmbretsen

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 JohnHEmbretsen:
http://wiki.apache.org/db-derby/DerbyJunitTestConfiguration

The comment on the change is:
now using java parser (color coding) for code examples

------------------------------------------------------------------------------
  
  === All test fixtures running as embedded and client ===
  <!> Note this default suite setup includes a !CleanDatabaseTestSetup.
- {{{
+ {{{#!java
  public static Test suite() {
     return TestConfiguration.defaultSuite(MyTest.class);
  }
  }}}
  === All fixtures running as embedded and client but some based upon JDBC level ===
  <!> Note manually added !CleanDatabaseTestSetup.
- {{{
+ {{{#!java
  public static Test suite() {
      TestSuite suite = new TestSuite();
  
@@ -61, +61 @@

  
  === All test fixtures running only as embedded ===
  <!> Note this setup does '''not''' include a !CleanDatabaseTestSetup.
- {{{
+ {{{#!java
  public static Test suite() {
     return TestConfiguration.embeddedSuite(MyTest.class);
  }
@@ -69, +69 @@

  
  === All test fixtures running only as client ===
  <!> Note this setup does '''not''' include a !CleanDatabaseTestSetup.
- {{{
+ {{{#!java
  public static Test suite() {
     return TestConfiguration.clientServerSuite(MyTest.class);
  }