Webiyo

This page was generated using Webiyo. See its source code and unit tests.

org/webiyo/examples/sourceforge/FakeProject.java

package org.webiyo.examples.sourceforge;

import org.webiyo.web.Link;

import java.io.File;

class FakeProject extends Project {

    public static final Link FAKE_NEWSFEED = new Link(new File("test/data/NewsTest/news.rss"));

    private final ChangeLog log;

    public FakeProject(File projectRoot, String... sourcePaths) {
        this(null, projectRoot, sourcePaths);
    }

    public FakeProject(ChangeLog log, File projectRoot, String... sourcePaths) {
        super("Webiyo", "webiyo", WEBIYO_GROUP_ID, projectRoot, sourcePaths);
        this.log = log;
    }

    public Link getNewsFeedLink() {
        return FAKE_NEWSFEED;
    }

    public ChangeLog loadChangeLog() {
        return log;
    }

}
SourceForge