Skip to content

Commit

Permalink
change default value of cobolcheck.test.unmockcall.display
Browse files Browse the repository at this point in the history
Signed-off-by: Akash Kumar <meakash7902@gmail.com>
  • Loading branch information
AkashKumar7902 committed Sep 12, 2023
1 parent 9eeaa4f commit 7ad3053
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.properties
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ cobolcheck.test.program.name = CC##99.CBL
# will contain the number of unmocked calls.
# Default: true
#---------------------------------------------------------------------------------------------------------------------
cobolcheck.test.unmockcall.display = true
cobolcheck.test.unmockcall.display = false

#---------------------------------------------------------------------------------------------------------------------
# Path for the generated testsuite parse error log
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ public static List<String> getGnuCOBOLCompileOptions() {
}

public static Boolean getDisplayUnMockedCalls() {
String value = settings.getProperty(DISPLAY_TESTS_WITH_UNMOCK_CALLS_CONFIG_KEY, "true");
String value = settings.getProperty(DISPLAY_TESTS_WITH_UNMOCK_CALLS_CONFIG_KEY, "false");
return Boolean.parseBoolean(value.trim());
}

Expand Down
7 changes: 7 additions & 0 deletions testconfig.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ cobolcheck.decimalPointIsComma = false
#---------------------------------------------------------------------------------------------------------------------
cobolcheck.test.program.name = CC##99.CBL

#---------------------------------------------------------------------------------------------------------------------
# If the given value is true, then the test with unmocked calls will be echoed and test summary
# will contain the number of unmocked calls.
# Default: true
#---------------------------------------------------------------------------------------------------------------------
cobolcheck.test.unmockcall.display = true

#---------------------------------------------------------------------------------------------------------------------
# Path for the generated testsuite parse error log
# Default: ./
Expand Down

0 comments on commit 7ad3053

Please sign in to comment.