-
Notifications
You must be signed in to change notification settings - Fork 9
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
Remove Edge Bridge Functional Test Utils to use TestUtils Classes #83
Conversation
Remove Edge Bridge Functional Test Utils to use TestUtils
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #83 +/- ##
=============================================
+ Coverage 71.01% 96.00% +24.99%
- Complexity 0 48 +48
=============================================
Files 5 4 -1
Lines 138 150 +12
Branches 9 29 +20
=============================================
+ Hits 98 144 +46
+ Misses 32 6 -26
+ Partials 8 0 -8
Flags with carried forward coverage won't be shown. Click here to find out more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @cacheung! Added some feedback
...e/src/androidTest/java/com/adobe/marketing/mobile/edge/bridge/EdgeBridgeFunctionalTests.java
Outdated
Show resolved
Hide resolved
...e/src/androidTest/java/com/adobe/marketing/mobile/edge/bridge/EdgeBridgeFunctionalTests.java
Outdated
Show resolved
Hide resolved
...e/src/androidTest/java/com/adobe/marketing/mobile/edge/bridge/EdgeBridgeFunctionalTests.java
Outdated
Show resolved
Hide resolved
...e/src/androidTest/java/com/adobe/marketing/mobile/edge/bridge/EdgeBridgeFunctionalTests.java
Outdated
Show resolved
Hide resolved
...e/src/androidTest/java/com/adobe/marketing/mobile/edge/bridge/EdgeBridgeFunctionalTests.java
Outdated
Show resolved
Hide resolved
...e/src/androidTest/java/com/adobe/marketing/mobile/edge/bridge/EdgeBridgeFunctionalTests.java
Show resolved
Hide resolved
...e/src/androidTest/java/com/adobe/marketing/mobile/edge/bridge/EdgeBridgeFunctionalTests.java
Outdated
Show resolved
Hide resolved
...e/src/androidTest/java/com/adobe/marketing/mobile/edge/bridge/EdgeBridgeFunctionalTests.java
Show resolved
Hide resolved
...e/src/androidTest/java/com/adobe/marketing/mobile/edge/bridge/EdgeBridgeFunctionalTests.java
Show resolved
Hide resolved
...e/src/androidTest/java/com/adobe/marketing/mobile/edge/bridge/EdgeBridgeFunctionalTests.java
Outdated
Show resolved
Hide resolved
Incorporate review comments
@timkimadobe thanks for the review, the PR is updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for all the updates @cacheung! Just one small item
" }" + | ||
" ]" + | ||
"}"; | ||
|
||
assertEquals(1, networkRequests.size()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we move this line to be above the declaration for expected
, so its right after the getNetworkRequestsWith
line?
Move the order of code
Remove Edge Bridge Functional Test Utils to use TestUtils TestHelper and MockNetworkServices.
Remove flatten Map usages in the functional tests.
Description
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: