Comments (6)
Hi Freedisch, thank you for your interest. Please feel free to go ahead
from cobol-check.
Hi @AkashKumar7902
Sorry for not responding to this.
Your example is correct.
I think this issue was fixed by Issac, when he solved another issue.
I am closing this.
Thank you
from cobol-check.
@Rune-Christensen , Hello, I'm Freedisch Thibaut Batale and I'm really interested about working on this project as an LFX mentee for this summer.
I would like to work on this issue to get familiar with the project
from cobol-check.
@Freedisch
Hey, Are you still working on this issue ?
from cobol-check.
Hey @Rune-Christensen
I am unable to reproduce the error.
I have the following procedure division in my program under test
PROCEDURE DIVISION.
******************************************************************
MOCK-SECTION SECTION.
CONTINUE
.
REPLACE ==:AAA:== BY ==BBB==.
******************************************************************
I have a single test file for this program with the following contents:
TestSuite "Test"
MOCK SECTION MOCK-SECTION
END-MOCK
PERFORM MOCK-SECTION
TestCase "Test"
PERFORM MOCK-SECTION
the content of MOCK-SECTION in CC##99.CBL is :
******************************************************************
MOCK-SECTION SECTION.
EVALUATE UT-TEST-SUITE-NAME
ALSO UT-TEST-CASE-NAME
WHEN "Test"
ALSO ANY
PERFORM UT-1-0-1-MOCK
WHEN OTHER
PERFORM UT-1-1-0-WO
END-EVALUATE
.
*****************************************************************
*WhenOther Paragraph or Section called
*****************************************************************
UT-1-1-0-WO SECTION.
*****************************************************************
*WhenOther of: SECTION: MOCK-SECTION
*****************************************************************
CONTINUE
.
REPLACE ==:AAA:== BY ==BBB==.
.
.
******************************************************************
Please suggest changes so I would be successful in reproducing the error
Regards,
Akash Kumar
from cobol-check.
hey @Rune-Christensen,
any updates on this ?
from cobol-check.
Related Issues (20)
- Enable COBOL Check to issue warnings/errors when a call statement is not mocked. HOT 4
- Refactoring of the TestsuiteParser class
- getting errors when trying to run test for simple fizzbuzz function HOT 12
- CobolCheck cannot handle spaces in paths HOT 10
- Throw an exception when required argument is not given HOT 2
- [ENHANCEMENT] Array initializer HOT 2
- Getting errors when running javadoc task HOT 2
- [BUG] If a numeric field is defined across 2 lines, it gets parsed as an alphanumeric field. HOT 2
- CALL MOCKS aren't matching CALL signatures, when one or more program parameters are qualified
- Enable usage of linkage section items during tests
- FR: please co-publish vscode extension on Open VSX Registry HOT 3
- IMS HOT 5
- outdated link in README.md
- Fix approval tests
- File Statement need FIX HOT 2
- Output file group declaration copied twice in the generated program HOT 3
- Issue with program with value after position 72 HOT 4
- Testing a callable program - error: executable program requested but PROCEDURE/ENTRY has USING clause
- FreeBSD version in wiki does not make sens
- Cobol check can't understand and suppress "USAGE SQL"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cobol-check.