Skip to content

Commit

Permalink
Junit 5 Upgrade
Browse files Browse the repository at this point in the history
covered by: cerebral-vincenzo_incutti.dco
  • Loading branch information
opatrascoiu authored and enzo-inc committed Jun 24, 2024
1 parent 440c1bc commit 8e9d30b
Show file tree
Hide file tree
Showing 93 changed files with 701 additions and 687 deletions.
10 changes: 10 additions & 0 deletions dco/cerebral-vincenzo_incutti.dco
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
1) I, Vincenzo Incutti, certify that all work committed with the commit message
"covered by: cerebral-vincenzo_incutti.dco" is copyright
Cerebral Adaptive Forecasting and that I am authorized by Cerebral Adaptive Forecasting
to contribute this code under the Apache 2.0 license.

2) I understand and agree all contribution including all personal
information I submit with it is maintained indefinitely and may be
redistributed consistent with the open source license(s) involved.

This certification is effective for all code contributed from 2024-06-24 to 9999-01-01.
6 changes: 6 additions & 0 deletions dmn-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@
<version>5.10.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>5.10.1</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>commons-lang</groupId>
Expand Down
4 changes: 2 additions & 2 deletions dmn-core/src/main/resources/templates/aws/pomFile.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.10.1</version>
<scope>test</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class ${testClassName} extends ${decisionBaseClass} {
<#macro addTestCases>
<#list testCases.testCase>
<#items as tc>
@org.junit.Test
@org.junit.jupiter.api.Test
public void testCase${tckUtil.testCaseId(tc)}() {
<@initializeInputs tc/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ${testClassName} : ${decisionBaseClass}() {
<#macro addTestCases>
<#list testCases.testCase>
<#items as tc>
@org.junit.Test
@org.junit.jupiter.api.Test
fun testCase${tc.id}() {
<@initializeInputs tc/>

Expand Down
4 changes: 2 additions & 2 deletions dmn-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
{
"rule": {
"index": 2,
"annotation": "\"\""
"annotation": ""
},
"matched": false,
"result": {
Expand All @@ -64,7 +64,7 @@
{
"rule": {
"index": 3,
"annotation": "\"\""
"annotation": ""
},
"matched": true,
"result": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
{
"rule": {
"index": 1,
"annotation": "\"\""
"annotation": ""
},
"matched": true,
"result": {
Expand All @@ -44,7 +44,7 @@
{
"rule": {
"index": 2,
"annotation": "\"\""
"annotation": ""
},
"matched": false,
"result": {
Expand All @@ -61,7 +61,7 @@
{
"rule": {
"index": 3,
"annotation": "\"\""
"annotation": ""
},
"matched": false,
"result": {
Expand All @@ -78,7 +78,7 @@
{
"rule": {
"index": 4,
"annotation": "\"\""
"annotation": ""
},
"matched": false,
"result": {
Expand All @@ -95,7 +95,7 @@
{
"rule": {
"index": 5,
"annotation": "\"\""
"annotation": ""
},
"matched": true,
"result": {
Expand Down Expand Up @@ -198,7 +198,7 @@
{
"rule": {
"index": 1,
"annotation": "\"\""
"annotation": ""
},
"matched": false,
"result": {
Expand All @@ -215,7 +215,7 @@
{
"rule": {
"index": 2,
"annotation": "\"\""
"annotation": ""
},
"matched": false,
"result": {
Expand All @@ -232,7 +232,7 @@
{
"rule": {
"index": 3,
"annotation": "\"\""
"annotation": ""
},
"matched": true,
"result": {
Expand Down Expand Up @@ -276,7 +276,7 @@
{
"rule": {
"index": 3,
"annotation": "\"\""
"annotation": ""
},
"matched": true,
"result": {
Expand Down Expand Up @@ -362,7 +362,7 @@
{
"rule": {
"index": 2,
"annotation": "\"\""
"annotation": ""
},
"matched": false,
"result": {
Expand All @@ -379,7 +379,7 @@
{
"rule": {
"index": 3,
"annotation": "\"\""
"annotation": ""
},
"matched": true,
"result": {
Expand Down Expand Up @@ -424,7 +424,7 @@
{
"rule": {
"index": 1,
"annotation": "\"\""
"annotation": ""
},
"matched": true,
"result": {
Expand All @@ -441,7 +441,7 @@
{
"rule": {
"index": 2,
"annotation": "\"\""
"annotation": ""
},
"matched": false,
"result": {
Expand All @@ -458,7 +458,7 @@
{
"rule": {
"index": 3,
"annotation": "\"\""
"annotation": ""
},
"matched": false,
"result": {
Expand All @@ -475,7 +475,7 @@
{
"rule": {
"index": 4,
"annotation": "\"\""
"annotation": ""
},
"matched": false,
"result": {
Expand All @@ -492,7 +492,7 @@
{
"rule": {
"index": 5,
"annotation": "\"\""
"annotation": ""
},
"matched": true,
"result": {
Expand Down Expand Up @@ -595,7 +595,7 @@
{
"rule": {
"index": 1,
"annotation": "\"\""
"annotation": ""
},
"matched": false,
"result": {
Expand All @@ -612,7 +612,7 @@
{
"rule": {
"index": 2,
"annotation": "\"\""
"annotation": ""
},
"matched": false,
"result": {
Expand All @@ -629,7 +629,7 @@
{
"rule": {
"index": 3,
"annotation": "\"\""
"annotation": ""
},
"matched": true,
"result": {
Expand Down Expand Up @@ -673,7 +673,7 @@
{
"rule": {
"index": 3,
"annotation": "\"\""
"annotation": ""
},
"matched": true,
"result": {
Expand Down Expand Up @@ -735,7 +735,7 @@
{
"rule": {
"index": 1,
"annotation": "\"\""
"annotation": ""
},
"matched": true,
"result": {
Expand All @@ -752,7 +752,7 @@
{
"rule": {
"index": 2,
"annotation": "\"\""
"annotation": ""
},
"matched": false,
"result": {
Expand All @@ -769,7 +769,7 @@
{
"rule": {
"index": 3,
"annotation": "\"\""
"annotation": ""
},
"matched": false,
"result": {
Expand All @@ -786,7 +786,7 @@
{
"rule": {
"index": 4,
"annotation": "\"\""
"annotation": ""
},
"matched": false,
"result": {
Expand All @@ -803,7 +803,7 @@
{
"rule": {
"index": 5,
"annotation": "\"\""
"annotation": ""
},
"matched": true,
"result": {
Expand Down
Loading

0 comments on commit 8e9d30b

Please sign in to comment.