Search in sources :

Example 6 with WorkspaceModel

use of ch.acanda.eclipse.pmd.domain.WorkspaceModel in project eclipse-pmd by acanda.

the class RuleSetsCacheTest method getWorkspaceModel.

private WorkspaceModel getWorkspaceModel() {
    final WorkspaceModel workspaceModel = new WorkspaceModel();
    workspaceModel.add(new ProjectModel(PROJECT_NAME_1));
    return workspaceModel;
}
Also used : WorkspaceModel(ch.acanda.eclipse.pmd.domain.WorkspaceModel) ProjectModel(ch.acanda.eclipse.pmd.domain.ProjectModel)

Aggregations

WorkspaceModel (ch.acanda.eclipse.pmd.domain.WorkspaceModel)6 ProjectModel (ch.acanda.eclipse.pmd.domain.ProjectModel)5 RuleSetModel (ch.acanda.eclipse.pmd.domain.RuleSetModel)3 RuleSets (net.sourceforge.pmd.RuleSets)3 Test (org.junit.Test)3 Location (ch.acanda.eclipse.pmd.domain.Location)2 ProjectModelRepository (ch.acanda.eclipse.pmd.repository.ProjectModelRepository)1 ImmutableSortedSet (com.google.common.collect.ImmutableSortedSet)1 IProject (org.eclipse.core.resources.IProject)1 IResourceChangeListener (org.eclipse.core.resources.IResourceChangeListener)1