-
-
Couldn't load subscription status.
- Fork 32
Fix/envelope transport tests #548
Fix/envelope transport tests #548
Conversation
| /** | ||
| * Verifies is [SentryEnvelope] contains first event matching a predicate. | ||
| */ | ||
| inline fun checkEvent(noinline predicate: (SentryEvent) -> Unit): SentryEnvelope { |
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.
just out of curiosity, could this not live in the sentry-core/test package?
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.
Can it be then included in other modules? It wouldn't be straightforward with Maven. Perhaps there is a reasonable way to do it with Gradle?
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.
mm good catch, I thought testImplementation would be enough, but I think I've seen ways of doing that, just don't remember by heart now.
|
you can ignore |
|
@marandaneto could you please approve or tell what needs to be changed? Creating separate module has been suggested by @bruno-garcia. Having |
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.
LGTM
No description provided.