|
|
@ -8,10 +8,10 @@ using Xunit.Abstractions; |
|
|
|
|
|
|
|
|
namespace Shentun.Peis.PlugIns.Gem.Test |
|
|
namespace Shentun.Peis.PlugIns.Gem.Test |
|
|
{ |
|
|
{ |
|
|
public class PacsImportResultPlugInsGemTest |
|
|
|
|
|
|
|
|
public class ImportPacsResultPlugInsGemTest |
|
|
{ |
|
|
{ |
|
|
private readonly ITestOutputHelper _output; |
|
|
private readonly ITestOutputHelper _output; |
|
|
public PacsImportResultPlugInsGemTest(ITestOutputHelper testOutputHelper) |
|
|
|
|
|
|
|
|
public ImportPacsResultPlugInsGemTest(ITestOutputHelper testOutputHelper) |
|
|
{ |
|
|
{ |
|
|
_output = testOutputHelper; |
|
|
_output = testOutputHelper; |
|
|
|
|
|
|
|
|
@ -24,7 +24,7 @@ namespace Shentun.Peis.PlugIns.Gem.Test |
|
|
string filePath = DirectoryHelper.GetAppDirectory() + "/appsettings.json"; |
|
|
string filePath = DirectoryHelper.GetAppDirectory() + "/appsettings.json"; |
|
|
configParm = File.ReadAllText(filePath); |
|
|
configParm = File.ReadAllText(filePath); |
|
|
|
|
|
|
|
|
var input = new PacsImportResultPlugInsGem(configParm); |
|
|
|
|
|
|
|
|
var input = new ImportPacsResultPlugInsGem(configParm); |
|
|
var item = await input.ImportResultAsync( |
|
|
var item = await input.ImportResultAsync( |
|
|
new ImportPacsResultPlugInsInput() |
|
|
new ImportPacsResultPlugInsInput() |
|
|
{ |
|
|
{ |
|
|
@ -41,7 +41,7 @@ namespace Shentun.Peis.PlugIns.Gem.Test |
|
|
string filePath = DirectoryHelper.GetAppDirectory() + "/appsettings.json"; |
|
|
string filePath = DirectoryHelper.GetAppDirectory() + "/appsettings.json"; |
|
|
configParm = File.ReadAllText(filePath); |
|
|
configParm = File.ReadAllText(filePath); |
|
|
|
|
|
|
|
|
var input = new PacsImportResultPlugInsGem(configParm); |
|
|
|
|
|
|
|
|
var input = new ImportPacsResultPlugInsGem(configParm); |
|
|
await input.DoWork(); |
|
|
await input.DoWork(); |
|
|
|
|
|
|
|
|
|
|
|
|