Commit 52bf614
test: add coverage for logscreen methods (#440)
* remove duplicate in protocol
* workaround for using mock executor
* switch nil check to empty check
* expose methods to be tested to swift
* fully covered logScreen methods
* removed nil check
* remove check for nil timestamp
MPEvent timestamp property is not an optional
* fully covered logScreenEvent method
* removed duplicated lines by pulling variables out
* pull dataPlanFilter to variable
* created function for recievedMessage check
* pull out exception to var
* final adjustments to clean up
* remove lazy vars
Co-Authored-By: denischilik <[email protected]>
---------
Co-authored-by: denischilik <[email protected]>1 parent 2cf9bb2 commit 52bf614
File tree
5 files changed
+313
-293
lines changed- UnitTests
- Mocks
- mParticle-Apple-SDK
- Include
5 files changed
+313
-293
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
0 commit comments