Add Delegate interface for OlpClient#1709
Open
VladyslavTsymbal wants to merge 1 commit into
Open
Conversation
a43fe9a to
f075bc2
Compare
f075bc2 to
c8437fc
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1709 +/- ##
==========================================
+ Coverage 80.35% 80.36% +0.01%
==========================================
Files 356 356
Lines 14282 14297 +15
Branches 1563 1564 +1
==========================================
+ Hits 11475 11489 +14
Misses 2179 2179
- Partials 628 629 +1
🚀 New features to boost your workflow:
|
Added a delegate interface for OlpClient to allow for better testing and mocking of the client behavior. Implemented a mock version of the delegate to facilitate unit tests. Solves the issue of testing OlpClient without relying on actual network calls. Relates-To: HERESDK-12772 Signed-off-by: Vladyslav Tsymbal <ext-vladyslav.tsymbal@here.com>
c8437fc to
713e14e
Compare
diachenko-mischa
approved these changes
Jul 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added a delegate interface for OlpClient to allow for better testing and mocking of the client behavior. Implemented a mock version of the delegate to facilitate unit tests. Solves the issue of testing OlpClient without relying on actual network calls.
Relates-To: HERESDK-12772