-
-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
51 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1655,12 +1655,14 @@ void main() { | |
final client = fixture.getSut(eventProcessor: DropAllEventProcessor()); | ||
|
||
final id = SentryId.newId(); | ||
// ignore: deprecated_member_use_from_same_package | ||
final feedback = SentryUserFeedback( | ||
eventId: id, | ||
comments: 'this is awesome', | ||
email: '[email protected]', | ||
name: 'Rockstar Developer', | ||
); | ||
// ignore: deprecated_member_use_from_same_package | ||
await client.captureUserFeedback(feedback); | ||
|
||
expect(fixture.recorder.flushCalled, true); | ||
|
@@ -1676,12 +1678,14 @@ void main() { | |
final client = fixture.getSut(eventProcessor: DropAllEventProcessor()); | ||
|
||
final id = SentryId.newId(); | ||
// ignore: deprecated_member_use_from_same_package | ||
final feedback = SentryUserFeedback( | ||
eventId: id, | ||
comments: 'this is awesome', | ||
email: '[email protected]', | ||
name: 'Rockstar Developer', | ||
); | ||
// ignore: deprecated_member_use_from_same_package | ||
await client.captureUserFeedback(feedback); | ||
|
||
final envelope = fixture.transport.envelopes.first; | ||
|
@@ -1844,10 +1848,12 @@ void main() { | |
test('user feedback envelope contains dsn', () async { | ||
final client = fixture.getSut(); | ||
final event = SentryEvent(); | ||
// ignore: deprecated_member_use_from_same_package | ||
final feedback = SentryUserFeedback( | ||
eventId: event.eventId, | ||
name: 'test', | ||
); | ||
// ignore: deprecated_member_use_from_same_package | ||
await client.captureUserFeedback(feedback); | ||
|
||
final capturedEnvelope = (fixture.transport).envelopes.first; | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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