use of de.tum.in.www1.artemis.service.hestia.behavioral.BehavioralBlackboard in project ArTEMiS by ls1intum.
the class ExtractCoveredLinesTest method initBlackboard.
@BeforeEach
public void initBlackboard() {
BehavioralBlackboard blackboard = new BehavioralBlackboard(null, null, null);
var groupedFiles = new ArrayList<GroupedFile>();
blackboard.setGroupedFiles(groupedFiles);
coverageReportEntries = new HashSet<>();
groupedFile = new GroupedFile("test.java", null, null, coverageReportEntries);
groupedFiles.add(groupedFile);
extractCoveredLines = new ExtractCoveredLines(blackboard);
}
use of de.tum.in.www1.artemis.service.hestia.behavioral.BehavioralBlackboard in project ArTEMiS by ls1intum.
the class FindCommonLinesTest method initBlackboard.
@BeforeEach
public void initBlackboard() {
BehavioralBlackboard blackboard = new BehavioralBlackboard(null, null, null);
var groupedFiles = new ArrayList<GroupedFile>();
blackboard.setGroupedFiles(groupedFiles);
groupedFile = new GroupedFile("test.java", null, null, null);
groupedFiles.add(groupedFile);
findCommonLines = new FindCommonLines(blackboard);
}
use of de.tum.in.www1.artemis.service.hestia.behavioral.BehavioralBlackboard in project ArTEMiS by ls1intum.
the class GroupGitDiffAndCoverageEntriesByFilePathAndTestCaseTest method initBlackboard.
@BeforeEach
public void initBlackboard() {
blackboard = new BehavioralBlackboard(new ProgrammingExerciseGitDiffReport(), new CoverageReport(), null);
blackboard.getGitDiffReport().setEntries(new HashSet<>());
blackboard.getCoverageReport().setFileReports(new HashSet<>());
grouper = new GroupGitDiffAndCoverageEntriesByFilePathAndTestCase(blackboard);
}
use of de.tum.in.www1.artemis.service.hestia.behavioral.BehavioralBlackboard in project ArTEMiS by ls1intum.
the class ExtractChangedLinesTest method initBlackboard.
@BeforeEach
public void initBlackboard() {
BehavioralBlackboard blackboard = new BehavioralBlackboard(null, null, null);
var groupedFiles = new ArrayList<GroupedFile>();
blackboard.setGroupedFiles(groupedFiles);
gitDiffEntries = new HashSet<>();
groupedFile = new GroupedFile("test.java", null, gitDiffEntries, null);
groupedFiles.add(groupedFile);
extractChangedLines = new ExtractChangedLines(blackboard);
}
use of de.tum.in.www1.artemis.service.hestia.behavioral.BehavioralBlackboard in project Artemis by ls1intum.
the class ExtractCoveredLinesTest method initBlackboard.
@BeforeEach
public void initBlackboard() {
BehavioralBlackboard blackboard = new BehavioralBlackboard(null, null, null);
var groupedFiles = new ArrayList<GroupedFile>();
blackboard.setGroupedFiles(groupedFiles);
coverageReportEntries = new HashSet<>();
groupedFile = new GroupedFile("test.java", null, null, coverageReportEntries);
groupedFiles.add(groupedFile);
extractCoveredLines = new ExtractCoveredLines(blackboard);
}
Aggregations