Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
23 changes: 3 additions & 20 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
# Copyright 2019 Sme.UP S.p.A.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

#Thu Aug 29 11:49:50 CEST 2024
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
7 changes: 2 additions & 5 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 10 additions & 12 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -3117,11 +3117,14 @@ Test 6
val expected =
buildString {
appendLine(
"Program CALLMISSING - Issue executing CallStmt at absolute line 7 of SourceReference(sourceReferenceType=Program, sourceId=CALLMISSING, relativeLine=7, position=Position(start=Line 7, Column 25, end=Line 7, Column 81)).",
"Program CALLMISSING - Issue executing CallStmt at absolute line 7 of SourceReference(sourceReferenceType=Program, sourceId=CALLMISSING, relativeLine=7, position=Position(start=Line 7, end=Line 7)).",
)
append("Error calling program or procedure - Could not find program MISSING")
}
assertEquals(expected, e.message)
assertEquals(
normalizeLineEndings(expected),
normalizeLineEndings(stripColumnPositions(e.message)),
)
} catch (e: Exception) {
fail("got unexpected exception: $e")
}
Expand All @@ -3140,14 +3143,17 @@ Test 6
val expected =
buildString {
appendLine(
"Program CMISSROOT - Issue executing CallStmt at absolute line 7 of SourceReference(sourceReferenceType=Program, sourceId=CMISSROOT, relativeLine=7, position=Position(start=Line 7, Column 25, end=Line 7, Column 81)).",
"Program CMISSROOT - Issue executing CallStmt at absolute line 7 of SourceReference(sourceReferenceType=Program, sourceId=CMISSROOT, relativeLine=7, position=Position(start=Line 7, end=Line 7)).",
)
appendLine(
"Program CMISSMAIN - Issue executing CallStmt at absolute line 15 of SourceReference(sourceReferenceType=Copy, sourceId=CMISSACT, relativeLine=8, position=Position(start=Line 8, Column 25, end=Line 8, Column 81)).",
"Program CMISSMAIN - Issue executing CallStmt at absolute line 15 of SourceReference(sourceReferenceType=Copy, sourceId=CMISSACT, relativeLine=8, position=Position(start=Line 8, end=Line 8)).",
)
append("Error calling program or procedure - Could not find program MISSING")
}
assertEquals(expected, e.message)
assertEquals(
normalizeLineEndings(expected),
normalizeLineEndings(stripColumnPositions(e.message)),
)
} catch (e: Exception) {
fail("got unexpected exception: $e")
}
Expand All @@ -3171,6 +3177,10 @@ Test 6
assertTrue(customExecution)
}

private fun normalizeLineEndings(text: String?): String? = text?.replace("\r\n", "\n")?.replace("\r", "\n")

private fun stripColumnPositions(text: String?): String? = text?.replace(Regex(", Column \\d+"), "")

/**
* A simple exception to stop execution on-demand
*/
Expand Down
Loading