samples/livedb/test/org/apidesign/livedb/example/LiveDBTest.java
changeset 355 d1e7424dc988
child 357 837370f791ba
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/samples/livedb/test/org/apidesign/livedb/example/LiveDBTest.java	Tue Jun 01 12:08:47 2010 +0200
     1.3 @@ -0,0 +1,26 @@
     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 junit.framework.TestCase;
    1.12 +
    1.13 +/**
    1.14 + *
    1.15 + * @author Jaroslav Tulach <jtulach@netbeans.org>
    1.16 + */
    1.17 +public class LiveDBTest extends TestCase {
    1.18 +    
    1.19 +    public LiveDBTest(String testName) {
    1.20 +        super(testName);
    1.21 +    }
    1.22 +
    1.23 +    public void testSomeMethod() {
    1.24 +        DBAccess db = new DBAccess();
    1.25 +        db.jarda = "Ahoj";
    1.26 +        assertEquals("Ahoj", db.jarda);
    1.27 +    }
    1.28 +
    1.29 +}