=== 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
@@ -31,6 +31,7 @@ public class PatientRepositoryTest
/// list records, then verifies that the initial bulk insert yields exactly five patient
/// documents.
/// </summary>
/// <!-- aidoc:v1 sig=81c0015 body=e3a0acd -->
[OneTimeSetUp]
public async Task Init()
{
@@ -239,6 +240,7 @@ public class PatientRepositoryTest
/// <summary>
/// Verifies that _repository.FindInActivePoC returns a non-null result containing exactly three inactive PoC entries.
/// </summary>
/// <!-- aidoc:v1 sig=511005a body=96a1c82 -->
[Test]
public async Task FindInActivePoC()
{
@@ -251,6 +253,7 @@ public class PatientRepositoryTest
/// Verifies that _repository.FindInInactivePoC() returns a non-null collection containing exactly two inactive PoC records.
/// </summary>
/// <returns>A Task representing the asynchronous test execution.</returns>
/// <!-- aidoc:v1 sig=00839fb body=3eb509a -->
[Test]
public async Task FindInInactivePoC()
{
@@ -262,6 +265,7 @@ public class PatientRepositoryTest
/// <summary>
/// Verifies that FindById returns the expected <c>Patient</c> when a valid patient identifier is provided, ensuring the result is not null and the <c>PatientNumber</c> matches the expected value.
/// </summary>
/// <!-- aidoc:v1 sig=4d059ea body=2e321e5 -->
[Test]
public async Task FindById_Find_Return_Patient()
{
@@ -274,6 +278,7 @@ public class PatientRepositoryTest
/// <summary>
/// Verifies that the repository's <c>FindByPatientNumber</c> method returns <c>null</c> when invoked with an empty patient number, confirming the not-found scenario for blank input.
/// </summary>
/// <!-- aidoc:v1 sig=3dd54bc body=1ed0bbb -->
[Test]
public async Task FindByPatientNumber_Not_Find_Return_Patient()
{
@@ -287,6 +292,7 @@ public class PatientRepositoryTest
/// a patient when called with a valid patient number, returning a non-null result
/// with a matching <c>PatientNumber</c>.
/// </summary>
/// <!-- aidoc:v1 sig=c0d3b04 body=73af217 -->
[Test]
public async Task FindByPatientNumber_Find_Return_Patient()
{
@@ -299,6 +305,7 @@ public class PatientRepositoryTest
/// <summary>
/// Verifies that the repository's <c>FindAll</c> method returns a non-null list containing all expected patient records (five entries).
/// </summary>
/// <!-- aidoc:v1 sig=d5ae514 body=c6cf2c0 -->
[Test]
public async Task FindAll_Return_List_Patients()
{
@@ -314,6 +321,7 @@ public class PatientRepositoryTest
/// the new value is not present prior to the update operation. Also validates that the updated record
/// is persisted with the modified value and that the patient can be cleaned up via <c>Delete</c>.
/// </summary>
/// <!-- aidoc:v1 sig=47a1bec body=826570a -->
[Test]
public async Task Update_with_base_UpdateOneAsync()
{
@@ -367,6 +375,7 @@ public class PatientRepositoryTest
/// Verifies that a patient can be successfully deleted from the repository by inserting a patient,
/// confirming it exists, deleting it, and then confirming it is no longer retrievable.
/// </summary>
/// <!-- aidoc:v1 sig=122f4c1 body=bdb3f7b -->
[Test]
public async Task Delete()
{
@@ -439,6 +448,7 @@ public class PatientRepositoryTest
/// Tests that the attending doctor of a point of care entry can be successfully updated with a new doctor.
/// Verifies that after the update, the entry retrieved by point of care reflects the new attending doctor's information.
/// </summary>
/// <!-- aidoc:v1 sig=6f5c72a body=7989ba8 -->
[Test]
public async Task UpdateAttendingDoctor()
{
@@ -629,6 +639,7 @@ public class PatientRepositoryTest
/// <summary>
/// Verifies that _repository.FindByPatientId returns <c>null</c> when no patient is found for the provided patient identifier.
/// </summary>
/// <!-- aidoc:v1 sig=2ee2a87 body=5435f7d -->
[Test]
public async Task FindByPatientId_Not_Find_Return_Patient()
{
@@ -649,6 +660,7 @@ public class PatientRepositoryTest
/// <summary>
/// Verifies that the repository returns a non-null and non-empty collection of patients when searching by the identifier of an existing point of care.
/// </summary>
/// <!-- aidoc:v1 sig=3c4dd97 body=12ec03f -->
[Test]
public async Task FindByPointOfCare_Find_Return_Patients()
{
@@ -662,6 +674,7 @@ public class PatientRepositoryTest
/// <summary>
/// Verifies that _repository.FindByPointOfCare returns a non-null empty collection when no patients match the provided point of care identifier.
/// </summary>
/// <!-- aidoc:v1 sig=ddb2f09 body=bc4f7e5 -->
[Test]
public async Task FindByPointOfCare_Not_Find_Return_Patients()
{
@@ -674,6 +687,7 @@ public class PatientRepositoryTest
/// <summary>
/// Verifies that the repository returns a non-null and non-empty collection of discharged patients when calling <c>FindDischargedPatients</c>.
/// </summary>
/// <!-- aidoc:v1 sig=35a586f body=e6a17fd -->
[Test]
public async Task FindDischargedPatients_Find_Return_Patients()
{