Наследование: ILogger, IDisposable
Пример #1
0
 public SandboxFacts(ITestOutputHelper helper) : base(helper)
 {
     _helper = helper;
     _xUnitLogger = new XUnitLogger(_helper);
 }
Пример #2
0
 protected DriverFactsBase(ITestOutputHelper helper)
 {
     XUnitLogger = new XUnitLogger(helper);
     RocketChatDriver = new RocketChatDriver(Constants.RocketServer, false, XUnitLogger, jsonSerializerSettings: new JsonSerializerSettings());
 }
Пример #3
0
 public DdpFacts(ITestOutputHelper helper)
 {
     _helper = new XUnitLogger(helper);
 }
Пример #4
0
 protected DriverFactsBase(ITestOutputHelper helper)
 {
     XUnitLogger      = new XUnitLogger(helper);
     RocketChatDriver = new RocketChatDriver(Constants.RocketServer, false, XUnitLogger, jsonSerializerSettings: new JsonSerializerSettings());
 }
Пример #5
0
        public MessagingFixture(ITestOutputHelper helper, string roomName)
        {
            RoomName = roomName;
            _logger = new XUnitLogger(helper);
            Master = new RocketChatDriverFixture(_logger);
            Slave = new RocketChatDriverFixture(_logger);

            Fixture = new RocketChatDriverFixture(_logger);
            Fixture.InitAsync(Constants.OneUsername, Constants.OnePassword).Wait();
            RoomId = Fixture.Driver.CreateChannelAsync(roomName)?.Result?.Result?.RoomId;
        }