Search in sources :

Example 1 with CreateSolutionEntries

use of de.tum.in.www1.artemis.service.hestia.behavioral.knowledgesource.CreateSolutionEntries in project Artemis by ls1intum.

the class CreateSolutionEntriesTest method initBlackboard.

@BeforeEach
public void initBlackboard() {
    blackboard = new BehavioralBlackboard(null, null, null);
    var groupedFiles = new ArrayList<GroupedFile>();
    blackboard.setGroupedFiles(groupedFiles);
    groupedFile = new GroupedFile("test.java", new ProgrammingExerciseTestCase(), null, null);
    groupedFiles.add(groupedFile);
    createSolutionEntries = new CreateSolutionEntries(blackboard);
}
Also used : BehavioralBlackboard(de.tum.in.www1.artemis.service.hestia.behavioral.BehavioralBlackboard) GroupedFile(de.tum.in.www1.artemis.service.hestia.behavioral.GroupedFile) CreateSolutionEntries(de.tum.in.www1.artemis.service.hestia.behavioral.knowledgesource.CreateSolutionEntries) ArrayList(java.util.ArrayList) ProgrammingExerciseTestCase(de.tum.in.www1.artemis.domain.ProgrammingExerciseTestCase) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 2 with CreateSolutionEntries

use of de.tum.in.www1.artemis.service.hestia.behavioral.knowledgesource.CreateSolutionEntries in project ArTEMiS by ls1intum.

the class CreateSolutionEntriesTest method initBlackboard.

@BeforeEach
public void initBlackboard() {
    blackboard = new BehavioralBlackboard(null, null, null);
    var groupedFiles = new ArrayList<GroupedFile>();
    blackboard.setGroupedFiles(groupedFiles);
    groupedFile = new GroupedFile("test.java", new ProgrammingExerciseTestCase(), null, null);
    groupedFiles.add(groupedFile);
    createSolutionEntries = new CreateSolutionEntries(blackboard);
}
Also used : BehavioralBlackboard(de.tum.in.www1.artemis.service.hestia.behavioral.BehavioralBlackboard) GroupedFile(de.tum.in.www1.artemis.service.hestia.behavioral.GroupedFile) CreateSolutionEntries(de.tum.in.www1.artemis.service.hestia.behavioral.knowledgesource.CreateSolutionEntries) ArrayList(java.util.ArrayList) ProgrammingExerciseTestCase(de.tum.in.www1.artemis.domain.ProgrammingExerciseTestCase) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

ProgrammingExerciseTestCase (de.tum.in.www1.artemis.domain.ProgrammingExerciseTestCase)2 BehavioralBlackboard (de.tum.in.www1.artemis.service.hestia.behavioral.BehavioralBlackboard)2 GroupedFile (de.tum.in.www1.artemis.service.hestia.behavioral.GroupedFile)2 CreateSolutionEntries (de.tum.in.www1.artemis.service.hestia.behavioral.knowledgesource.CreateSolutionEntries)2 ArrayList (java.util.ArrayList)2 BeforeEach (org.junit.jupiter.api.BeforeEach)2