Skip to content

Commit

Permalink
Merge commit '510b3b8cf6614220caf52e7a402426f96ae3be88'
Browse files Browse the repository at this point in the history
  • Loading branch information
dfuchss committed Oct 4, 2024
2 parents e374f8b + 510b3b8 commit e34a4c0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration-tests/tests-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<dependency>
<groupId>io.github.ardoco</groupId>
<artifactId>metrics</artifactId>
<version>0.1.1-SNAPSHOT</version>
<version>0.1.1</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ public File getModelFile(ArchitectureModelType modelType) {
return switch (modelType) {
case PCM -> getModelFile();
case UML -> ProjectHelper.loadFileFromResources(model.replace("/pcm/", "/uml/").replace(".repository", ".uml"));
case RAW -> throw new IllegalArgumentException("Raw model is not supported for this project.");
};
}

Expand All @@ -119,6 +120,7 @@ public String getModelResourceName(ArchitectureModelType modelType) {
return switch (modelType) {
case PCM -> model;
case UML -> model.replace("/pcm/", "/uml/").replace(".repository", ".uml");
case RAW -> throw new IllegalArgumentException("Raw model is not supported for this project.");
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ public File getModelFile(ArchitectureModelType modelType) {
return switch (modelType) {
case PCM -> getModelFile();
case UML -> ProjectHelper.loadFileFromResources(model.replace("/pcm/", "/uml/").replace(".repository", ".uml"));
case RAW -> throw new IllegalArgumentException("Raw model is not supported for this project.");
};
}

Expand All @@ -128,6 +129,7 @@ public String getModelResourceName(ArchitectureModelType modelType) {
return switch (modelType) {
case PCM -> model;
case UML -> model.replace("/pcm/", "/uml/").replace(".repository", ".uml");
case RAW -> throw new IllegalArgumentException("Raw model is not supported for this project.");
};
}

Expand Down
1 change: 1 addition & 0 deletions tests/integration-tests/tests-tlr/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cache-llm

0 comments on commit e34a4c0

Please sign in to comment.