samples/livedb/test/org/apidesign/livedb/example/LiveDBTest.java
changeset 361 6507a9474b6d
parent 359 9d430d9bc4b1
child 362 de139a9cfb36
     1.1 --- a/samples/livedb/test/org/apidesign/livedb/example/LiveDBTest.java	Fri Jul 16 23:35:08 2010 +0200
     1.2 +++ b/samples/livedb/test/org/apidesign/livedb/example/LiveDBTest.java	Thu Jul 29 17:44:59 2010 +0200
     1.3 @@ -1,8 +1,3 @@
     1.4 -/*
     1.5 - * To change this template, choose Tools | Templates
     1.6 - * and open the template in the editor.
     1.7 - */
     1.8 -
     1.9  package org.apidesign.livedb.example;
    1.10  
    1.11  import java.sql.SQLException;
    1.12 @@ -19,6 +14,7 @@
    1.13          super(testName);
    1.14      }
    1.15  
    1.16 +    // BEGIN: livedb.test
    1.17      public void testSomeMethod() throws SQLException {
    1.18          List<Age> ages = Age.query();
    1.19          assertEquals("One record", 1, ages.size());
    1.20 @@ -26,5 +22,6 @@
    1.21          assertEquals("name is apidesign", "apidesign", age.NAME);
    1.22          assertEquals("it is three years old", 3, age.AGE.intValue());
    1.23      }
    1.24 +    // END: livedb.test
    1.25  
    1.26  }