File tree Expand file tree Collapse file tree 5 files changed +5
-9
lines changed
validator-riseclipse/src/test
java/org/lfenergy/compas/scl/validator/impl Expand file tree Collapse file tree 5 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,9 @@ SPDX-License-Identifier: Apache-2.0
148
148
<groupId >org.apache.maven.plugins</groupId >
149
149
<artifactId >maven-surefire-plugin</artifactId >
150
150
<version >${surefire-plugin.version} </version >
151
+ <configuration >
152
+ <trimStackTrace >false</trimStackTrace >
153
+ </configuration >
151
154
</plugin >
152
155
153
156
<plugin >
Original file line number Diff line number Diff line change @@ -73,13 +73,6 @@ SPDX-License-Identifier: Apache-2.0
73
73
<groupId >org.eclipse.ocl</groupId >
74
74
<artifactId >org.eclipse.ocl.pivot</artifactId >
75
75
<version >${eclipse.ocl.version} </version >
76
- <exclusions >
77
- <exclusion >
78
- <!-- optional dependency, not needed -->
79
- <groupId >org.eclipse.emf</groupId >
80
- <artifactId >org.eclipse.emf.codegen.ecore</artifactId >
81
- </exclusion >
82
- </exclusions >
83
76
</dependency >
84
77
<dependency >
85
78
<groupId >org.eclipse.ocl</groupId >
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ void setup() throws IOException {
41
41
}
42
42
43
43
@ Test
44
- void addOCLDocument_WhenCalledWithNull_ThenExceptionThrown () throws IOException {
44
+ void addOCLDocument_WhenCalledWithNull_ThenExceptionThrown () {
45
45
var exception = assertThrows (SclValidatorException .class ,
46
46
() -> loader .addOCLDocument (null ));
47
47
@@ -80,7 +80,7 @@ void cleanup() {
80
80
}
81
81
82
82
private URI findOCL (String filename ) {
83
- var url = getClass ().getResource ("/ocl/" + filename );
83
+ var url = getClass ().getResource ("/ocl-testfiles /" + filename );
84
84
if (url != null ) {
85
85
return URI .createFileURI (url .getPath ());
86
86
}
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments