Skip to content

Commit

Permalink
Update integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dfuchss committed Feb 19, 2024
1 parent f79378b commit 489f587
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 82 deletions.
90 changes: 42 additions & 48 deletions report/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,60 +17,54 @@
</properties>

<dependencies>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>connection-generator</artifactId>
<version>${revision}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>model-provider</artifactId>
<version>${revision}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>pipeline-tlr</artifactId>
<version>${revision}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>connection-generator</artifactId>
<version>${revision}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>model-provider</artifactId>
<version>${revision}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>recommendation-generator</artifactId>
<version>${revision}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>text-extraction</artifactId>
<version>${revision}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>text-preprocessing</artifactId>
<version>${revision}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>tests-tlr</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>tests-base</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>tests-resources</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>recommendation-generator</artifactId>
<version>${revision}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>tests-base</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>tests-tlr</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>text-extraction</artifactId>
<version>${revision}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>text-preprocessing</artifactId>
<version>${revision}</version>
<scope>compile</scope>
</dependency>
</dependencies>

<build>
Expand Down
46 changes: 20 additions & 26 deletions stages-tlr/text-extraction/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,30 +58,24 @@
</dependency>
</dependencies>

<profiles>
<profile>
<id>test-deps</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>tests-base</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>tests-resources</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>deployment</id>
<!-- Removes not available test dependencies -->
</profile>
</profiles>
<profiles>
<profile>
<id>test-deps</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>io.github.ardoco.core</groupId>
<artifactId>tests-base</artifactId>
<version>${revision}</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
<profile>
<id>deployment</id>
<!-- Removes not available test dependencies -->
</profile>
</profiles>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
import edu.kit.kastel.mcse.ardoco.core.pipeline.AbstractPipelineStep;
import edu.kit.kastel.mcse.ardoco.core.tests.eval.GoldStandardProject;
import edu.kit.kastel.mcse.ardoco.core.tests.eval.Project;
import edu.kit.kastel.mcse.ardoco.core.tests.eval.helper.StageTest;
import edu.kit.kastel.mcse.ardoco.core.text.providers.TextPreprocessingAgent;
import edu.kit.kastel.mcse.ardoco.tests.eval.StageTest;

class TextExtractionTest extends StageTest<TextExtraction, TextExtractionTest.TextProject, TextExtractionTest.TextExtractionResult> {
public TextExtractionTest() {
Expand Down
13 changes: 6 additions & 7 deletions tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
<artifactId>tests</artifactId>
<packaging>pom</packaging>

<modules>
<module>integration-tests/tests-base</module>
<module>integration-tests/tests-inconsistency</module>
<module>integration-tests/tests-tlr</module>
</modules>

<properties>
<maven.deploy.skip>true</maven.deploy.skip>
<sonar.skip>true</sonar.skip>
Expand Down Expand Up @@ -63,11 +69,4 @@
<scope>test</scope>
</dependency>
</dependencies>

<modules>
<module>integration-tests/tests-base</module>
<module>integration-tests/tests-resources</module>
<module>integration-tests/tests-tlr</module>
<module>integration-tests/tests-inconsistency</module>
</modules>
</project>

0 comments on commit 489f587

Please sign in to comment.