Show just body of the test method
authorJaroslav Tulach <jtulach@netbeans.org>
Thu, 29 Jul 2010 17:55:04 +0200
changeset 362de139a9cfb36
parent 361 6507a9474b6d
child 363 cbeeeb6ae9c6
Show just body of the test method
samples/livedb/test/org/apidesign/livedb/example/LiveDBTest.java
     1.1 --- a/samples/livedb/test/org/apidesign/livedb/example/LiveDBTest.java	Thu Jul 29 17:44:59 2010 +0200
     1.2 +++ b/samples/livedb/test/org/apidesign/livedb/example/LiveDBTest.java	Thu Jul 29 17:55:04 2010 +0200
     1.3 @@ -14,14 +14,14 @@
     1.4          super(testName);
     1.5      }
     1.6  
     1.7 +    public void testSomeMethod() throws SQLException {
     1.8      // BEGIN: livedb.test
     1.9 -    public void testSomeMethod() throws SQLException {
    1.10          List<Age> ages = Age.query();
    1.11          assertEquals("One record", 1, ages.size());
    1.12          Age age = ages.get(0);
    1.13          assertEquals("name is apidesign", "apidesign", age.NAME);
    1.14          assertEquals("it is three years old", 3, age.AGE.intValue());
    1.15 +    // END: livedb.test
    1.16      }
    1.17 -    // END: livedb.test
    1.18  
    1.19  }