01: /*
02: * User: Michael Rettig
03: * Date: Aug 10, 2002
04: * Time: 3:02:04 PM
05: */
06: package net.sourceforge.jaxor.example.tests;
07:
08: import net.sourceforge.jaxor.MetaRow;
09: import net.sourceforge.jaxor.example.db.JaxorContextTestingFactory;
10:
11: import java.util.ArrayList;
12: import java.util.List;
13:
14: public abstract class TableTestCase extends MultiTableTestCase {
15:
16: public TableTestCase() {
17: }
18:
19: public TableTestCase(JaxorContextTestingFactory context) {
20: super (context);
21: }
22:
23: protected final List getRows() {
24: List all = new ArrayList();
25: all.add(getRow());
26: return all;
27: }
28:
29: protected abstract MetaRow getRow();
30: }
|