-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from nd1012/dev
+ Updated references
- Loading branch information
Showing
4 changed files
with
11 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,9 @@ | ||
using Microsoft.Extensions.Logging; | ||
using wan24.Core; | ||
|
||
namespace wan24_CLI_Tests | ||
namespace wan24_CLI_Tests | ||
{ | ||
[TestClass] | ||
public class A_Initialization | ||
{ | ||
public static ILoggerFactory LoggerFactory { get; private set; } = null!; | ||
|
||
[AssemblyInitialize] | ||
public static void Init(TestContext tc) | ||
{ | ||
if (File.Exists("tests.log")) File.Delete("tests.log"); | ||
if (File.Exists("demo.log")) File.Delete("demo.log"); | ||
Logging.Logger = new ConsoleLogger(LogLevel.Trace, next: FileLogger.CreateAsync("tests.log", LogLevel.Trace).Result); | ||
Logging.WriteInfo("wan24-CLI Tests initialized"); | ||
Bootstrap.Async().Wait(); | ||
} | ||
public static void Init(TestContext tc) => wan24.Tests.TestsInitialization.Init(tc); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters