Skip to content
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

add 1.6 k01 clear all profiles with filter tests #447

Conversation

couryrr-afs
Copy link
Contributor

Added unit tests to cover positive and negative boundaries of SmartChargingHandler::clear_all_profiles_with_filter. The list of tests added are not exhaustive but do cover most edge cases.

There are a few cases that are noted with comments that I believe are cases of concern (issues filed below):

@couryrr-afs
Copy link
Contributor Author

couryrr-afs commented Feb 5, 2024

@shankari please review

-- Edit

Not sure why all of the test are failing in the runner. Locally all is fine. Digging through the issue.

@couryrr-afs couryrr-afs force-pushed the couryrr/add_1.6_k01_clear_all_profiles_with_filter_tests branch 4 times, most recently from f169703 to 8a1e06c Compare February 5, 2024 20:46
@couryrr-afs couryrr-afs force-pushed the couryrr/add_1.6_k01_clear_all_profiles_with_filter_tests branch from 8a1e06c to 943f376 Compare February 23, 2024 13:35
@christopher-davis-afs christopher-davis-afs force-pushed the couryrr/add_1.6_k01_clear_all_profiles_with_filter_tests branch from 943f376 to ab101c0 Compare February 23, 2024 14:48
@couryrr-afs couryrr-afs force-pushed the couryrr/add_1.6_k01_clear_all_profiles_with_filter_tests branch from ab101c0 to 91738c2 Compare February 23, 2024 15:44
@couryrr-afs couryrr-afs force-pushed the couryrr/add_1.6_k01_clear_all_profiles_with_filter_tests branch 3 times, most recently from 658aae8 to 9453a3b Compare February 26, 2024 19:07
Signed-off-by: Coury Richards <[email protected]>
@couryrr-afs
Copy link
Contributor Author

@shankari bumping for review.

Copy link

@shankari shankari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not reviewed individual tests in great detail - I don't have libOCPP at my fingertips - but they do seem very comprehensive given that they have already found a couple of issues. Let's send this over to the community!

@couryrr-afs couryrr-afs marked this pull request as ready for review March 11, 2024 20:51
@Pietfried Pietfried merged commit 1f7cbb6 into EVerest:main Mar 12, 2024
4 checks passed
@drmrd
Copy link
Collaborator

drmrd commented May 2, 2024

Contributes to #361

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants