Documentation modifications
This commit is contained in:
@@ -2,6 +2,13 @@ namespace adas_core.Test.Services;
|
||||
using adas_core.Application.Services.Caching;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Moq;
|
||||
/// <summary>
|
||||
/// Provides a test fixture containing unit tests for the CacheService class.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The <see cref="NUnit.Framework.TestFixtureAttribute"/> indicates that this class groups related test methods executed by the NUnit testing framework.
|
||||
/// </remarks>
|
||||
/// <!-- aidoc:v1 sig=90bb100 -->
|
||||
[TestFixture]
|
||||
public class CacheServiceTest
|
||||
{
|
||||
@@ -21,6 +28,10 @@ public class CacheServiceTest
|
||||
_svc = new CacheService(lockMgr);
|
||||
}
|
||||
#region TC-31
|
||||
/// <summary>
|
||||
/// Verifies that GetOrSetObjectAsync returns the previously cached value for a key that already exists in the cache and does not invoke the factory delegate.
|
||||
/// </summary>
|
||||
/// <!-- aidoc:v1 sig=57477a5 body=20c4a7a -->
|
||||
[Test]
|
||||
public async Task GetOrSetObjectAsync_ReturnsCachedValue_AndDoesNotInvokeFactory_WhenKeyAlreadyExists()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user