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.Fixture;
06:
07: public class CountFixture extends Fixture {
08: private int counter = 0;
09:
10: public void count() {
11: counter++;
12: }
13:
14: public int counter() {
15: return counter;
16: }
17:
18: public void counter(int i) {
19: counter = i;
20: }
21: }
|