01: /*
02: * $Id: ITestPageSource.java 461100 2006-06-22 18:12:21Z ehillenius $
03: * $Revision: 461100 $ $Date: 2006-06-22 20:12:21 +0200 (Thu, 22 Jun 2006) $
04: *
05: * ==============================================================================
06: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
07: * use this file except in compliance with the License. You may obtain a copy of
08: * the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15: * License for the specific language governing permissions and limitations under
16: * the License.
17: */
18: package wicket.util.tester;
19:
20: import java.io.Serializable;
21:
22: import wicket.Page;
23:
24: /**
25: * A test page factory for WicketTester
26: *
27: * @author Ingram Chen
28: */
29: public interface ITestPageSource extends Serializable {
30: /**
31: * Define a page instance source for WicketTester
32: *
33: * @return Page created page instance for testing
34: */
35: Page getTestPage();
36: }
|