Skip to content

Running tests from Exercise Chapter 8 - Indexer not possible #24

@RichStone

Description

@RichStone

The WikiFetcher looks in the class path for a locally stored resources folder with the HTML page to be tested, which is not provided in the repository:

// read the file
InputStream stream = WikiFetcher.class.getClassLoader().getResourceAsStream(filename);
Document doc = Jsoup.parse(stream, "UTF-8", filename);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions