Skip to content

Conversation

@axunonb
Copy link
Collaborator

@axunonb axunonb commented May 16, 2025

Before the fix, only the CalendarProperty.Value was added, and CalendarProperty.Parameters and other properties got lost.

Resolves #797

Before the fix, only the `CalendarProperty.Value` was added.

Resolves #797
@codecov
Copy link

codecov bot commented May 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

❌ Your project status has failed because the head coverage (67%) is below the target coverage (80%). You can increase the head coverage or adjust the target coverage.

Impacted file tree graph

@@         Coverage Diff         @@
##           main   #801   +/-   ##
===================================
  Coverage    67%    67%           
===================================
  Files       106    106           
  Lines      4421   4421           
  Branches   1060   1060           
===================================
+ Hits       2942   2943    +1     
+ Misses     1042   1041    -1     
  Partials    437    437           
Files with missing lines Coverage Δ
Ical.Net/CalendarComponents/CalendarComponent.cs 79% <100%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@axunonb axunonb marked this pull request as ready for review May 16, 2025 22:32
@axunonb axunonb requested a review from minichma May 16, 2025 22:33
@axunonb axunonb force-pushed the wip/axunonb/pr/fix-calendarcomponent-addproperty branch from 9893ad0 to d7b3ef1 Compare May 18, 2025 08:11
Assert.That(propDescription.Parameters.FirstOrDefault(p => p.Name == "FMTTYPE")!.Value, Is.EqualTo("text/html"));

Assert.That(propProjects.Parameters, Has.Count.EqualTo(2), "Parameter list should have 2 elements");
Assert.That(propProjects.Value, Is.EqualTo("ProjectA,ProjectB"));
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Should propProject.Values be a list containing ProjectA and ProjectB as elements?

@axunonb axunonb merged commit 3a2a347 into main May 18, 2025
4 checks passed
@axunonb axunonb deleted the wip/axunonb/pr/fix-calendarcomponent-addproperty branch May 18, 2025 20:15
@sonarqubecloud
Copy link

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.

Calendar property parameters aren't being properly serialized

3 participants