Skip to content

Add Empty check for trackState and trackAction scenarios#97

Merged
addb merged 2 commits intoadobe:dev-v4.0.0from
cacheung:stateFix
Jun 5, 2023
Merged

Add Empty check for trackState and trackAction scenarios#97
addb merged 2 commits intoadobe:dev-v4.0.0from
cacheung:stateFix

Conversation

@cacheung
Copy link
Copy Markdown
Contributor

Add Empty check for trackState and trackAction scenarios.
When the state is empty, set the default page name to client app id.
Add tests.

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Add Empty check for trackState and trackAction scenarios.
When the state is empty, set the default page name to client app id.
@codecov
Copy link
Copy Markdown

codecov bot commented May 17, 2023

Codecov Report

Merging #97 (d64e38e) into dev-v3.2.1 (4a6d359) will not change coverage.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           dev-v3.2.1      #97   +/-   ##
===========================================
  Coverage       86.86%   86.86%           
===========================================
  Files              14       14           
  Lines            1119     1119           
===========================================
  Hits              972      972           
  Misses            147      147           

Copy link
Copy Markdown
Contributor

@timkimadobe timkimadobe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also include the new test cases added to the AnalyticsTrackTestBase in the app extension test class too?: AnalyticsAppExtTrackTests.swift

Update indent format and add test cases to AnalyticAppExtTrackTest.swf
@addb addb changed the base branch from dev-v3.2.1 to dev-v4.0.0 June 2, 2023 23:14
@addb addb merged commit 5832057 into adobe:dev-v4.0.0 Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants