Skip to content

Commit 6e37488

Browse files
author
Thomas Christensen
committed
Fixed - A bug where error code of 4 was not allowed so failing tests would not be shown properly
1 parent 4faae86 commit 6e37488

File tree

9 files changed

+13
-8
lines changed

9 files changed

+13
-8
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2020
- Mock SQL tables
2121
- Mock batch file I/O
2222

23+
## \[0.2.14\] 2024-12-05
24+
- Fixed a bug where an exit code of 4 was not allowed.
25+
2326
## \[0.2.13\] 2024-10-17
2427
- Fixing bug when JOIN followed by ON in next line is not only JOIN but f.ex. LEFT OUTER JOIN.
2528

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ As of March 2022 we could use help with:
2323

2424
## Downloads
2525

26-
Version 0.2.13 pre-release is available!
26+
Version 0.2.14 pre-release is available!
2727

2828
[//]: # (- Find the download on the project home page on the [Neo Pragma site](https://neopragma.com/projects/cobol-check/).)
2929
- Find distributions here: [Cobol Check Ditributions](https://github.com/openmainframeproject/cobol-check/tree/Developer/build/distributions).

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
id 'jacoco'
77
}
88

9-
def productVersion = '0.2.13'
9+
def productVersion = '0.2.14'
1010
def productName = 'cobol-check'
1111
group = 'org.openmainframeproject'
1212
description = 'Unit testing framework for Cobol'

src/main/java/org/openmainframeproject/cobolcheck/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public static void main(String[] args) throws InterruptedException {
2222

2323
if (initializer.launchTestProgram()) {
2424
int exitCode = testRunner.run(programName, initializer.isLastSourceProgram(programName));
25-
if (exitCode >= 4)
25+
if (exitCode > 4)
2626
initializer.setExitStatusHalt();
2727
}
2828
}

src/main/java/org/openmainframeproject/cobolcheck/workers/Initializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class Initializer {
2121
private StatusController statusController;
2222

2323
public Initializer(String[] args) {
24-
Log.info(Messages.get("INF000", "0.2.13"));
24+
Log.info(Messages.get("INF000", "0.2.14"));
2525
argumentController = new ArgumentHandlerController(args);
2626
environmentController = new EnvironmentSetupController();
2727
statusController = new StatusController();

vs-code-extension/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
All notable changes to the "cobol-unit-test" extension will be documented in this file. Versioning according to SemVer: https://semver.org/
44

5+
## [0.4.8] 05.12.2024
6+
- Now using COBOL Check version 0.2.14
57

68
## [0.4.7] 08.10.2024
79
- Now using COBOL Check version 0.2.13

vs-code-extension/client/src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { getContentFromFilesystem, MarkdownTestData, TestCase, testData, TestFil
2020
let externalVsCodeInstallationDir = vscode.extensions.getExtension("openmainframeproject.cobol-check-extension").extensionPath;
2121
let configPath = appendPath(externalVsCodeInstallationDir, 'Cobol-check/config.properties');
2222
let defaultConfigPath = appendPath(externalVsCodeInstallationDir, 'Cobol-check/default.properties');
23-
let cobolCheckJarPath = appendPath(externalVsCodeInstallationDir, 'Cobol-check/bin/cobol-check-0.2.13.jar');
23+
let cobolCheckJarPath = appendPath(externalVsCodeInstallationDir, 'Cobol-check/bin/cobol-check-0.2.14.jar');
2424
let currentPlatform = getOS();
2525

2626

vs-code-extension/client/src/services/TestTree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { handleCobolCheckOut } from '../Helpers/ExtensionHelper';
1010
const textDecoder = new TextDecoder('utf-8');
1111
let externalVsCodeInstallationDir = vscode.extensions.getExtension("openmainframeproject.cobol-check-extension").extensionPath;
1212
let configPath = appendPath(externalVsCodeInstallationDir, 'Cobol-check/config.properties');
13-
let cobolCheckJarPath = appendPath(externalVsCodeInstallationDir, 'Cobol-check/bin/cobol-check-0.2.13.jar');
13+
let cobolCheckJarPath = appendPath(externalVsCodeInstallationDir, 'Cobol-check/bin/cobol-check-0.2.14.jar');
1414

1515

1616

vs-code-extension/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"Snippets"
99
],
1010
"description": "Extension for running unit tests in Cobol",
11-
"version": "0.4.7",
11+
"version": "0.4.8",
1212
"icon": "images/cobol-check-logo-small.png",
1313
"repository": {
1414
"type": "git",
@@ -40,7 +40,7 @@
4040
}
4141
],
4242
"description": "Extension for running unit tests in Cobol",
43-
"version": "0.4.7",
43+
"version": "0.4.8",
4444
"icon": "images/cobol-check-logo-small.png",
4545
"repository": {
4646
"type": "git",

0 commit comments

Comments
 (0)