=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===

This commit is contained in:
julian
2026-06-28 02:50:05 -07:00
parent a19fb90902
commit 586f02a2ca
654 changed files with 5260 additions and 0 deletions
@@ -27,6 +27,7 @@ public class AlarmRepositoryTest
/// <see cref="PatientObservationAlarm"/> records by resetting the target
/// collection and inserting the test data for use across the test fixture.
/// </summary>
/// <!-- aidoc:v1 sig=81c0015 body=0cc6054 -->
[OneTimeSetUp]
public async Task Init()
{
@@ -87,6 +88,8 @@ public class AlarmRepositoryTest
/// </summary>
/// <param name="filter">The collection of <see cref="Field"/> objects used to filter observations; contains a single non-existent field to ensure no matches are found.</param>
/// <returns>A task that completes after asserting the repository returns a non-null but empty result.</returns>
/// <!-- aidoc-review:v1 severity=medium kind=extra_param
/// "The test method has no parameters, but the documentation includes a <param name=\"filter\"> describing the local variable rather than a method parameter." -->
[Test]
public async Task AggregatedPatientLastObservationsByField_Not_Found_Returns_Empty_List()
{
@@ -109,6 +112,7 @@ public class AlarmRepositoryTest
/// <summary>
/// Verifies that AggregatedPatientLastObservationsByField returns exactly one aggregated result when matching last observations are found for the specified patient and field filter.
/// </summary>
/// <!-- aidoc:v1 sig=9bbf1e0 body=05c8194 -->
[Test]
public async Task AggregatedPatientLastObservationsByField_Found_Returns_1()
{
@@ -131,6 +135,7 @@ public class AlarmRepositoryTest
/// <summary>
/// Verifies that <see cref="AlarmRepository.AggregatedPatientLastObservationsByField"/> returns a non-null collection containing an entry for each matching field in the filter when observations are found for the given patient.
/// </summary>
/// <!-- aidoc:v1 sig=7bd117f body=144c5f6 -->
[Test]
public async Task AggregatedPatientLastObservationsByField_Found_Returns_2()
{
@@ -159,6 +164,7 @@ public class AlarmRepositoryTest
/// <summary>
/// Verifies that the repository returns an empty list when querying aggregated patient last observations by field with a filter that specifies OnlyExpired as true, and the matching patient observation alarm is expired.
/// </summary>
/// <!-- aidoc:v1 sig=80c2dcc body=92a6f2f -->
[Test]
public async Task AggregatedPatientLastObservationsByField_AllExpired_Returns_Empty_List()
{
@@ -198,6 +204,7 @@ public class AlarmRepositoryTest
/// <summary>
/// Verifies that when multiple observations exist for the same field, the aggregation returns only the most recent observation based on the timestamp.
/// </summary>
/// <!-- aidoc:v1 sig=36c9e3d body=9fe0818 -->
[Test]
public async Task AggregatedPatientLastObservationsByField_MultipleObservations_Returns_Most_Recent()
{
@@ -254,6 +261,7 @@ public class AlarmRepositoryTest
/// <summary>
/// Verifies that <see cref="AlarmRepository.AggregatedPatientLastObservationsByField"/> returns all of a patient's last observations when no field filter is provided.
/// </summary>
/// <!-- aidoc:v1 sig=621b9bb body=6fff436 -->
[Test]
public async Task AggregatedPatientLastObservationsByField_FilterObservations_Null_Returns_All()
{