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.wiki;
04:
05: import java.util.*;
06:
07: public class MockXmlizerPageHandler implements XmlizerPageHandler {
08: public List adds = new LinkedList();
09:
10: public int exits = 0;
11:
12: public void pageAdded(WikiPage newPage) throws Exception {
13: adds.add(newPage.getName());
14: }
15:
16: public void exitPage() {
17: exits++;
18: }
19: }
|