-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit test RFC_ENABLED in Y_CHECK_FUNCTION fails #526
Comments
Looks like it checks the source code from the first remote function that is found in the database. For me, that's function group |
Which function group is checked on your system? |
I found the root cause. The test helper looks for an FG that has at least one FM with the RFC enabled, but the UT expects that the first FM from the FG is the one with the RFC enabled. |
* fixes #526 * changelog * Start statement at tab position Co-authored-by: Lucas Borin <5233413+lucasborin@users.noreply.github.co>
* updating changelog * new version * Removing Service (#530) * solves #524 * changelog * removing it from the documentation Co-authored-by: Lucas Borin <5233413+lucasborin@users.noreply.github.co> * Refactoring Function Check (#531) * fixes #526 * changelog * Start statement at tab position Co-authored-by: Lucas Borin <5233413+lucasborin@users.noreply.github.co> * SUT Dependency (#533) * forcing cspell to track sut dependencies * changelog * fixing #527 Co-authored-by: Lucas Borin <5233413+lucasborin@users.noreply.github.co> * changelog Co-authored-by: Lucas Borin <5233413+lucasborin@users.noreply.github.co>
* updating changelog * new version * Removing Service (#530) * solves #524 * changelog * removing it from the documentation Co-authored-by: Lucas Borin <5233413+lucasborin@users.noreply.github.co> * Refactoring Function Check (#531) * fixes #526 * changelog * Start statement at tab position Co-authored-by: Lucas Borin <5233413+lucasborin@users.noreply.github.co> * SUT Dependency (#533) * forcing cspell to track sut dependencies * changelog * fixing #527 Co-authored-by: Lucas Borin <5233413+lucasborin@users.noreply.github.co> * changelog * Update README.md * Update README.md * Update README.md * Update README.md * Update y_check_function.clas.abap * Update y_check_function.clas.abap * Update src/checks/y_check_function.clas.abap Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> * Update src/checks/y_check_function.clas.abap Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> * Update y_check_function.clas.abap Co-authored-by: Lucas Borin <5233413+lucasborin@users.noreply.github.com> Co-authored-by: Lucas Borin <5233413+lucasborin@users.noreply.github.co> Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
The unit test method
RFC_ENABLED
of classY_CHECK_FUNCTION
fails. It expects an initial value forcut->get_statistics( )->count-notes
, but it contains the number 3.I'm running the tests of commit c782c26 on an S/4 system with component SAP_BASIS release 755 SP-Level 0002. Can anyone confirm if the test runs successfully on older releases?
The text was updated successfully, but these errors were encountered: