Ejemplo n.º 1
0
 public CreateUpdateOrDeletePlexMoviesCommandTests(ITestOutputHelper output)
 {
     BaseDependanciesTest.SetupLogging(output);
     Container  = new BaseContainer();
     _dbContext = Container.PlexRipperDbContext;
     _mediator  = Container.Mediator;
 }
Ejemplo n.º 2
0
 public GetPlexLibraryByIdQueryTests(ITestOutputHelper output)
 {
     BaseDependanciesTest.SetupLogging(output);
     Container  = new BaseContainer();
     _dbContext = Container.PlexRipperDbContext;
     _mediator  = Container.Mediator;
 }
        public void ShouldLogDebugToUnitTestConsole()
        {
            var logger = BaseDependanciesTest.GetLogger <object>();

            logger.Verbose("This is a verbose string");
            logger.Debug("This is a debug string");
            logger.Warning("This is a warning string");
            logger.Information("This is an information string");
            logger.Error("This is an error string");
            logger.Fatal("This is a fatal string");

            Log.Verbose("This is a verbose string");
            Log.Debug("This is a debug string");
            Log.Warning("This is a warning string");
            Log.Information("This is an information string");
            Log.Error("This is an error string");
            Log.Fatal("This is a fatal string");
        }
 public LoggingServiceIntegrationTests(ITestOutputHelper output)
 {
     BaseDependanciesTest.SetupLogging(output);
     Container = new BaseContainer();
 }
Ejemplo n.º 5
0
 public JsonConverterTests(ITestOutputHelper output)
 {
     BaseDependanciesTest.SetupLogging(output);
     Container = new BaseContainer();
 }
Ejemplo n.º 6
0
 public ResultExtensionsTests(ITestOutputHelper output)
 {
     BaseDependanciesTest.SetupLogging(output);
     Container = new BaseContainer();
 }
Ejemplo n.º 7
0
 public AccountServiceTests(ITestOutputHelper output)
 {
     BaseDependanciesTest.SetupLogging(output);
     Container = new BaseContainer();
 }
Ejemplo n.º 8
0
 public PlexLibraryServiceIntegrationTests(DatabaseFixture fixture, ITestOutputHelper output)
 {
     BaseDependanciesTest.SetupLogging(output);
     Container = fixture.Container;
 }
 public DownloadManagerUnitTests(ITestOutputHelper output)
 {
     BaseDependanciesTest.SetupLogging(output);
     Container = new BaseContainer();
 }