01: // Copyright (C) 2003,2004,2005 by Object Mentor, Inc. All rights reserved.
02: // Released under the terms of the GNU General Public License version 2 or later.
03: package fitnesse.fixtures;
04:
05: import fit.RowFixture;
06:
07: public class PayCheckRecordFixture extends RowFixture {
08: public Object[] query() throws Exception {
09: PayCheckRecord[] payCheckRecords = new PayCheckRecord[4];
10: payCheckRecords[0] = new PayCheckRecord(1, "3/1/03", "Bob",
11: 1000);
12: payCheckRecords[1] = new PayCheckRecord(2, "3/1/03", "Bill",
13: 2002);
14: payCheckRecords[2] = new PayCheckRecord(1, "4/1/03", "Bob",
15: 1015);
16: payCheckRecords[3] = new PayCheckRecord(2, "4/1/03", "Bill",
17: 2003);
18: return payCheckRecords;
19: }
20:
21: public Class getTargetClass() {
22: return PayCheckRecord.class;
23: }
24: }
|