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.testutil;
04:
05: import fitnesse.wiki.*;
06: import java.util.List;
07:
08: public class MockExtendableWikiPage extends ExtendableWikiPage {
09:
10: private static final long serialVersionUID = 1L;
11:
12: public MockExtendableWikiPage(Extension e) {
13: super ("blah", null);
14: addExtention(e);
15: }
16:
17: public WikiPage getParent() throws Exception {
18: return null;
19: }
20:
21: public WikiPage addChildPage(String name) throws Exception {
22: return null;
23: }
24:
25: public boolean hasChildPage(String name) throws Exception {
26: return false;
27: }
28:
29: public WikiPage getNormalChildPage(String name) throws Exception {
30: return null;
31: }
32:
33: public void removeChildPage(String name) throws Exception {
34: }
35:
36: public List getNormalChildren() throws Exception {
37: return null;
38: }
39:
40: public String getName() throws Exception {
41: return null;
42: }
43:
44: public PageData getData() throws Exception {
45: return null;
46: }
47:
48: public PageData getDataVersion(String versionName) throws Exception {
49: return null;
50: }
51:
52: public VersionInfo commit(PageData data) throws Exception {
53: return null;
54: }
55:
56: public int compareTo(Object o) {
57: return 0;
58: }
59: }
|