samples/livedb/test/org/apidesign/livedb/example/LiveDBTest.java
author Jaroslav Tulach <jtulach@netbeans.org>
Tue, 01 Jun 2010 12:08:47 +0200
changeset 355 d1e7424dc988
child 357 837370f791ba
permissions -rw-r--r--
Example of Annotation Processor that generates a db access class
     1 /*
     2  * To change this template, choose Tools | Templates
     3  * and open the template in the editor.
     4  */
     5 
     6 package org.apidesign.livedb.example;
     7 
     8 import junit.framework.TestCase;
     9 
    10 /**
    11  *
    12  * @author Jaroslav Tulach <jtulach@netbeans.org>
    13  */
    14 public class LiveDBTest extends TestCase {
    15     
    16     public LiveDBTest(String testName) {
    17         super(testName);
    18     }
    19 
    20     public void testSomeMethod() {
    21         DBAccess db = new DBAccess();
    22         db.jarda = "Ahoj";
    23         assertEquals("Ahoj", db.jarda);
    24     }
    25 
    26 }