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 PrimeNumberRowFixture extends RowFixture {
08: public Object[] query() throws Exception {
09: PrimeData[] array = new PrimeData[5];
10: array[0] = new PrimeData(11);
11: array[1] = new PrimeData(5);
12: array[2] = new PrimeData(3);
13: array[3] = new PrimeData(7);
14: array[4] = new PrimeData(2);
15: return array;
16: }
17:
18: public Class getTargetClass() {
19: return PrimeData.class;
20: }
21: }
|