Skip to content

Commit

Permalink
Merge pull request #292 from Countly/event-test-patch
Browse files Browse the repository at this point in the history
Android update for event tests
  • Loading branch information
turtledreams authored Nov 7, 2024
2 parents a332b25 + 1825a6d commit 35c73c1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
5 changes: 0 additions & 5 deletions example/integration_test/event_tests/event_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ void main() {

await generateEvents(); // Generate some events

if (Platform.isIOS) {
expectedSegmentation['nestedList'] = [];
expectedSegmentation['mapList'] = [];
}

// Get request and event queues from native side
List<String> requestList = await getRequestQueue(); // List of strings
List<String> eventList = await getEventQueue(); // List of json objects
Expand Down
2 changes: 2 additions & 0 deletions example/integration_test/event_tests/event_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ var expectedSegmentation = {
'boolList': boolList,
'mixedList': mixedList,
'normalString': 'normalString',
'nestedList' : [],
'mapList' : [],
'normalInt': 1,
'normalDouble': 1.1,
'normalBool': true,
Expand Down
1 change: 0 additions & 1 deletion example/integration_test/event_tests/notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@

Android
* 0 duration not appearing
* not leaving keys after clearing unsupported segmentation values
iOS
* no orientation event

0 comments on commit 35c73c1

Please sign in to comment.