Tests renamed.

To correspond to prevous changes.

 To be more intuitive.
This commit is contained in:
Harrison Deng 2021-04-08 22:25:11 -05:00
parent 3f1836d468
commit 220839919b
2 changed files with 4 additions and 4 deletions

View File

@ -143,10 +143,10 @@ namespace GameServiceWarden.Core.Tests.Modules.Games
}
[Fact]
public void ServiceLogPipeName_ServiceNotStarted_NullReturned()
public void ServiceLogPipeName_ServiceNotStarted_PipeNameReturned()
{
//Given
const string SERVICE_NAME = "ServiceLogPipeName_ServiceNotStarted_NullReturned";
const string SERVICE_NAME = "ServiceLogPipeName_ServiceNotStarted_PipeNameReturned";
IService stubService = new FakeService();
ServiceDescriptor serviceInfo = new ServiceDescriptor(stubService, SERVICE_NAME, "FakeModule", "FakeAssembly");
//Then

View File

@ -185,11 +185,11 @@ namespace GameServiceWarden.Core.Tests.Modules.Games
}
[Fact]
public void StopService_Stopped_StateUpdated()
public void StopService_ServiceStartedThenStopped_StateUpdated()
{
//Given
const string ASSEMBLY_NAME = "FakeAssembly";
const string FAKE_SERVICE_NAME = "StopService_Stopped_StateUpdated";
const string FAKE_SERVICE_NAME = "StopService_ServiceStartedThenStopped_StateUpdated";
FakePersistence<IReadOnlyDictionary<string, IServiceModule>> stubPersistentModuleDictionary = new FakePersistence<IReadOnlyDictionary<string, IServiceModule>>();
FakePersistence<ServiceDescriptor> stubPersistentServiceDictionary = new FakePersistence<ServiceDescriptor>();
FakeServiceManagerMonitor stubMonitor = new FakeServiceManagerMonitor();