Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
hangyujin committed Sep 23, 2024
1 parent 7ca9eb1 commit 47e1766
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkgs/unified_analytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 6.1.4-wip

- Fix formatting and remove dependency on `package:intl`.
- Add more parameters (androidAppId and iosBundleId) in devtools events.

## 6.1.3

Expand Down
6 changes: 5 additions & 1 deletion pkgs/unified_analytics/test/event_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,8 @@ void main() {
rootSetCount: 123,
rowCount: 123,
inspectorTreeControllerId: 123,
androidAppId: 'androidAppId',
iosBundleId: 'iosBundleId',
);

final constructedEvent = generateEvent();
Expand Down Expand Up @@ -623,7 +625,9 @@ void main() {
expect(constructedEvent.eventData['rootSetCount'], 123);
expect(constructedEvent.eventData['rowCount'], 123);
expect(constructedEvent.eventData['inspectorTreeControllerId'], 123);
expect(constructedEvent.eventData.length, 28);
expect(constructedEvent.eventData['androidAppId'], 'androidAppId');
expect(constructedEvent.eventData['iosBundleId'], 'iosBundleId');
expect(constructedEvent.eventData.length, 29);
});

test('Confirm all constructors were checked', () {
Expand Down

0 comments on commit 47e1766

Please sign in to comment.