diff --git a/src/InformaticsGateway/Test/Services/Common/InputDataPluginEngineFactoryTest.cs b/src/InformaticsGateway/Test/Services/Common/InputDataPluginEngineFactoryTest.cs index eba200ab0..ad2fced05 100644 --- a/src/InformaticsGateway/Test/Services/Common/InputDataPluginEngineFactoryTest.cs +++ b/src/InformaticsGateway/Test/Services/Common/InputDataPluginEngineFactoryTest.cs @@ -20,6 +20,7 @@ using Microsoft.Extensions.Logging; using Monai.Deploy.InformaticsGateway.Api; using Monai.Deploy.InformaticsGateway.Common; +using Monai.Deploy.InformaticsGateway.ExecutionPlugins; using Monai.Deploy.InformaticsGateway.Services.Common; using Monai.Deploy.InformaticsGateway.SharedTest; using Monai.Deploy.InformaticsGateway.Test.Plugins; @@ -52,12 +53,14 @@ public void RegisteredPlugins_WhenCalled_ReturnsListOfPlugins() p => VerifyPlugin(p, typeof(TestInputDataPluginAddWorkflow)), p => VerifyPlugin(p, typeof(TestInputDataPluginResumeWorkflow)), p => VerifyPlugin(p, typeof(TestInputDataPluginModifyDicomFile)), - p => VerifyPlugin(p, typeof(TestInputDataPluginVirtualAE))); + p => VerifyPlugin(p, typeof(TestInputDataPluginVirtualAE)), + p => VerifyPlugin(p, typeof(ExternalAppIncoming))); _logger.VerifyLogging($"{typeof(IInputDataPlugin).Name} data plug-in found {typeof(TestInputDataPluginAddWorkflow).Name}: {typeof(TestInputDataPluginAddWorkflow).GetShortTypeAssemblyName()}.", LogLevel.Information, Times.Once()); _logger.VerifyLogging($"{typeof(IInputDataPlugin).Name} data plug-in found {typeof(TestInputDataPluginResumeWorkflow).Name}: {typeof(TestInputDataPluginResumeWorkflow).GetShortTypeAssemblyName()}.", LogLevel.Information, Times.Once()); _logger.VerifyLogging($"{typeof(IInputDataPlugin).Name} data plug-in found {typeof(TestInputDataPluginModifyDicomFile).Name}: {typeof(TestInputDataPluginModifyDicomFile).GetShortTypeAssemblyName()}.", LogLevel.Information, Times.Once()); _logger.VerifyLogging($"{typeof(IInputDataPlugin).Name} data plug-in found {typeof(TestInputDataPluginVirtualAE).Name}: {typeof(TestInputDataPluginVirtualAE).GetShortTypeAssemblyName()}.", LogLevel.Information, Times.Once()); + _logger.VerifyLogging($"{typeof(IInputDataPlugin).Name} data plug-in found {typeof(ExternalAppIncoming).Name}: {typeof(ExternalAppIncoming).GetShortTypeAssemblyName()}.", LogLevel.Information, Times.Once()); } private void VerifyPlugin(KeyValuePair values, Type type) diff --git a/src/InformaticsGateway/Test/Services/Common/OutputDataPluginEngineFactoryTest.cs b/src/InformaticsGateway/Test/Services/Common/OutputDataPluginEngineFactoryTest.cs index 10073297a..caa3f38a9 100644 --- a/src/InformaticsGateway/Test/Services/Common/OutputDataPluginEngineFactoryTest.cs +++ b/src/InformaticsGateway/Test/Services/Common/OutputDataPluginEngineFactoryTest.cs @@ -20,6 +20,7 @@ using Microsoft.Extensions.Logging; using Monai.Deploy.InformaticsGateway.Api; using Monai.Deploy.InformaticsGateway.Common; +using Monai.Deploy.InformaticsGateway.ExecutionPlugins; using Monai.Deploy.InformaticsGateway.Services.Common; using Monai.Deploy.InformaticsGateway.SharedTest; using Monai.Deploy.InformaticsGateway.Test.Plugins; @@ -50,10 +51,13 @@ public void RegisteredPlugins_WhenCalled_ReturnsListOfPlugins() Assert.Collection(result, p => VerifyPlugin(p, typeof(TestOutputDataPluginAddMessage)), - p => VerifyPlugin(p, typeof(TestOutputDataPluginModifyDicomFile))); + p => VerifyPlugin(p, typeof(TestOutputDataPluginModifyDicomFile)), + p => VerifyPlugin(p, typeof(ExternalAppOutgoing)) + ); _logger.VerifyLogging($"{typeof(IOutputDataPlugin).Name} data plug-in found {typeof(TestOutputDataPluginAddMessage).Name}: {typeof(TestOutputDataPluginAddMessage).GetShortTypeAssemblyName()}.", LogLevel.Information, Times.Once()); _logger.VerifyLogging($"{typeof(IOutputDataPlugin).Name} data plug-in found {typeof(TestOutputDataPluginModifyDicomFile).Name}: {typeof(TestOutputDataPluginModifyDicomFile).GetShortTypeAssemblyName()}.", LogLevel.Information, Times.Once()); + _logger.VerifyLogging($"{typeof(IOutputDataPlugin).Name} data plug-in found {typeof(ExternalAppOutgoing).Name}: {typeof(ExternalAppOutgoing).GetShortTypeAssemblyName()}.", LogLevel.Information, Times.Once()); } private void VerifyPlugin(KeyValuePair values, Type type)