=== 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
@@ -22,6 +22,7 @@ public class MedicineRepositoryTest
/// <summary>
/// Performs one-time initialization for integration tests by seeding the medicines collection with a test record and verifying it can be retrieved by code or note.
/// </summary>
/// <!-- aidoc:v1 sig=81c0015 body=efc0f36 -->
[OneTimeSetUp]
public async Task Init()
{
@@ -62,6 +63,7 @@ public class MedicineRepositoryTest
/// <summary>
/// Verifies that <c>GetMedicineByCodeOrNote</c> returns a non-null, empty list when invoked with an array containing an empty string.
/// </summary>
/// <!-- aidoc:v1 sig=0e171bf body=07fc7d9 -->
[Test]
public async Task Get_Medicines_Of_Treatments_Return_Empty_List()
{
@@ -103,6 +105,7 @@ public class MedicineRepositoryTest
/// <summary>
/// Tests that the repository returns a non-null medicine when a valid medicine code is found.
/// </summary>
/// <!-- aidoc:v1 sig=df645bd body=3280632 -->
[Test]
public async Task GetMedicine_Find_Code_Return_Medicine()
{
@@ -114,6 +117,7 @@ public class MedicineRepositoryTest
/// <summary>
/// Verifies that the repository's <c>GetMedicine</c> method returns <c>null</c> when the provided medicine code does not match any existing record.
/// </summary>
/// <!-- aidoc:v1 sig=65393e1 body=4ad2d58 -->
[Test]
public async Task GetMedicine_Not_Find_Code_Return_Empty()
{
@@ -126,6 +130,7 @@ public class MedicineRepositoryTest
/// Verifies that the repository returns a non-null medicine when a medicine is found
/// by the supplied note identifier ("note1"), confirming successful lookup by note.
/// </summary>
/// <!-- aidoc:v1 sig=59684de body=fc53426 -->
[Test]
public async Task GetMedicine_Find_Note_Return_Medicine()
{
@@ -137,6 +142,7 @@ public class MedicineRepositoryTest
/// <summary>
/// Verifies that UpdateMedicine returns the updated medicine and that the changes are persisted and retrievable via GetMedicineById, including the updated notes collection.
/// </summary>
/// <!-- aidoc:v1 sig=64c3b04 body=e38bac9 -->
[Test]
public async Task UpdateMedicine_Return_Medicine()
{