Skip to content

Commit

Permalink
updated unit test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
Hardiksh16 committed Nov 13, 2024
1 parent 6130c24 commit 0431bd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import org.aksw.gerbil.datatypes.ExperimentType;
import org.aksw.gerbil.exceptions.GerbilException;
import org.aksw.gerbil.transfer.nif.Document;
import org.aksw.gerbil.web.config.DatasetsConfig;
import org.junit.Ignore;

@Ignore
Expand All @@ -37,7 +38,7 @@ public TestAnnotatorConfiguration(List<Document> instances, ExperimentType appli

public TestAnnotatorConfiguration(String annotatorName, boolean couldBeCached, List<Document> instances,
ExperimentType applicableForExperiment) {
super(annotatorName,"Un Grouped", couldBeCached, applicableForExperiment);
super(annotatorName, DatasetsConfig.DEFAULT_DATASET_GROUP, couldBeCached, applicableForExperiment);
annotator = new InstanceListBasedAnnotator(annotatorName, instances);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import org.aksw.gerbil.transfer.nif.Marking;
import org.aksw.gerbil.transfer.nif.Span;
import org.aksw.gerbil.transfer.nif.data.DocumentImpl;
import org.aksw.gerbil.web.config.DatasetsConfig;
import org.junit.Assert;
import org.junit.Test;

Expand Down Expand Up @@ -118,7 +119,7 @@ public static class SimpleTestDatasetConfig extends AbstractDatasetConfiguration
private int size;

public SimpleTestDatasetConfig(int size) {
super("test dataset","Un Grouped", false, ExperimentType.ERec, null, null);
super("test dataset", DatasetsConfig.DEFAULT_DATASET_GROUP, false, ExperimentType.ERec, null, null);
this.size = size;
}

Expand Down

0 comments on commit 0431bd9

Please sign in to comment.