Initial commit: BizTalk SAP environment inventory
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using BizTalkSapEnvironmentInventory.Infrastructure;
|
||||
|
||||
namespace BizTalkSapEnvironmentInventory.Tests
|
||||
{
|
||||
internal static class Program
|
||||
{
|
||||
private static int Main(string[] args)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (args.Length == 2
|
||||
&& string.Equals(args[0], "--write-sample", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
SelfTestRunner.WriteSample(args[1]);
|
||||
Console.WriteLine("Musterbericht geschrieben: " + args[1]);
|
||||
return 0;
|
||||
}
|
||||
|
||||
SelfTestRunner.Run();
|
||||
Console.WriteLine("Alle Tests erfolgreich.");
|
||||
return 0;
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
Console.Error.WriteLine("Tests fehlgeschlagen: " + exception);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user