Skip to content

Commit

Permalink
adding test
Browse files Browse the repository at this point in the history
Signed-off-by: Neil South <[email protected]>
  • Loading branch information
neildsouth authored and mocsharp committed Aug 16, 2023
1 parent 3d6015c commit bbced00
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,13 @@ public async Task ExternalAppPlugin_Should_Repare_StudyUid()
_repository.Setup(r => r.GetAsync(It.IsAny<string>(), It.IsAny<CancellationToken>()))
.Returns(Task.FromResult(remoteAppExecution));

var _type = "Monai.Deploy.InformaticsGateway.ExecutionPlugins.ExternalAppIncoming, Monai.Deploy.InformaticsGateway, Version=0.0.0.0";

var pluginEngine = new InputDataPluginEngine(
_serviceProvider,
new Mock<ILogger<InputDataPluginEngine>>().Object);

pluginEngine.Configure(new List<string>() { typeof(ExternalAppIncoming).AssemblyQualifiedName });
pluginEngine.Configure(new List<string>() { _type });

var (resultDicomFile, resultDicomInfo) = await pluginEngine.ExecutePlugins(dicomFile, dicomInfo);

Expand Down

0 comments on commit bbced00

Please sign in to comment.