3 * Template for adding new tests.
6 package com.piclab.wikitest;
7 import com.meterware.httpunit.*;
9 public class FooTest extends WikiTest {
11 public String testName() { return "Foo"; }
13 protected int initTest() throws Exception {
18 protected int runTest() throws Exception {
21 if ( 0 != ( c = part1() ) ) { return fail( c ); }
22 if ( 0 != ( c = part2() ) ) { return fail( c ); }
26 private int part1() throws Exception {
30 private int part2() throws Exception {
34 public static void main( String[] params ) {
35 (new FooTest()).runSingle( params );