@Before
  public void setUp() throws Exception {
    testData = new WikiImporterTest();
    testData.createRemoteRoot(new OneUserAuthenticator("joe", "blow"));
    testData.createLocalRoot();

    FitNesseUtil.startFitnesseWithContext(testData.remoteContext);
    baseUrl = FitNesseUtil.URL;

    createResponder();
  }
Exemplo n.º 2
0
  public void setUp() throws Exception {
    createRemoteRoot();
    createLocalRoot();

    FitNesseUtil.startFitnesse(remoteRoot);

    importer = new WikiImporter();
    importer.setWikiImporterClient(this);
    importer.parseUrl("http://localhost:" + FitNesseUtil.port);

    imports = new LinkedList<WikiPage>();
    errors = new LinkedList<Exception>();
  }