Esempio n. 1
0
        public Connect(IntegrationFixture fixture)
        {
            this.fixture = fixture;

            // Extra wait to mitigate Slack throttling
            Thread.Sleep(2000);
        }
        public ClientsControllerTests(
            IntegrationFixture fixture,
            AccountsApplicationFactory <Startup> factory) : base(fixture)
        {
            _client = factory.WithWebHostBuilder(builder =>
            {
                builder.ConfigureServices(services =>
                {
                    _eventStore = new BoostRoom.Infrastructure.EventStore(EventStoreConnection);

                    services.AddSingleton <IEventStore>(_eventStore);
                    services.AddSingleton <BoostRoom.Infrastructure.IEventStore>(_eventStore);
                    services.AddSingleton(DocumentStore);
                });
            })
                      .CreateClient();
        }
Esempio n. 3
0
 public PersonsTests(IntegrationFixture integrationFixture)
     : base(integrationFixture)
 {
 }
Esempio n. 4
0
 public Conversations(IntegrationFixture fixture)
 {
     this.fixture = fixture;
 }
Esempio n. 5
0
 public IntegrationDiagnostics(IntegrationFixture fixture)
 {
     _fixture = fixture;
     _fixture.TestSetup();
 }
Esempio n. 6
0
 public Connect(IntegrationFixture fixture)
 {
     this.fixture = fixture;
 }
Esempio n. 7
0
 public PresenceSub(IntegrationFixture fixture)
 {
     this.fixture = fixture;
 }
 public JoinDirectMessageChannel(IntegrationFixture fixture)
 {
     this.fixture = fixture;
 }
Esempio n. 9
0
 public UploadFile(IntegrationFixture fixture)
 {
     this.fixture = fixture;
 }
Esempio n. 10
0
 public IntegrationDatabase(IntegrationFixture fixture)
 {
     _fixture = fixture;
     _fixture.TestSetup();
 }
Esempio n. 11
0
 public TestFour(IntegrationFixture factory) : base(factory)
 {
 }
Esempio n. 12
0
 public IntegrationBasic(IntegrationFixture fixture)
 {
     _fixture = fixture;
     _fixture.TestSetup();
 }
Esempio n. 13
0
 public TestThree(IntegrationFixture factory) : base(factory)
 {
 }
 public IntegrationContinuousQueries(IntegrationFixture fixture)
 {
     _fixture = fixture;
     _fixture.TestSetup();
 }
Esempio n. 15
0
 public IntegrationDatabase(IntegrationFixture fixture)
 {
     _fixture = fixture;
     _fixture.TestSetup();
 }
Esempio n. 16
0
 public IntegrationBasic(IntegrationFixture fixture)
 {
     _fixture = fixture;
     _fixture.TestSetup();
 }
Esempio n. 17
0
 public ResultsEndpointTests(IntegrationFixture integrationFixture, DbFixture dbFixture)
 {
     this.integrationFixture = integrationFixture;
     this.dbFixture          = dbFixture;
 }
Esempio n. 18
0
 public EventStoreTests(IntegrationFixture fixture) : base(fixture)
 {
     _eventStore = new BoostRoom.Infrastructure.EventStore(EventStoreConnection);
 }
 public IntegrationContinuousQueries(IntegrationFixture fixture)
 {
     _fixture = fixture;
     _fixture.TestSetup();
 }
Esempio n. 20
0
 public Update(IntegrationFixture fixture)
 {
     this.fixture = fixture;
 }
 public TokenAuthenticationSpecs(IntegrationFixture fixture)
 {
     _fixture = fixture;
     _fixture.StartServer(authenticationType: "token");
 }
Esempio n. 22
0
 public Users(IntegrationFixture fixture)
 {
     this.fixture = fixture;
 }
Esempio n. 23
0
 public PostMessage(IntegrationFixture fixture)
 {
     this.fixture = fixture;
 }
Esempio n. 24
0
 public BlockMessage(IntegrationFixture fixture)
 {
     this.fixture = fixture;
 }
 public IntegrationTask(IntegrationFixture fixture)
 {
     _fixture = fixture;
     _fixture.TestSetup();
 }
Esempio n. 26
0
 public BaseIntegrationTest(IntegrationFixture factory)
 {
     Factory = factory;
     Client  = factory.Client; //factory.CreateClient();
 }
Esempio n. 27
0
 public JsonBlocks(IntegrationFixture fixture)
 {
     this.fixture = fixture;
 }
Esempio n. 28
0
 public ApiKeyAuthenticationSpecs(IntegrationFixture fixture)
 {
     _fixture = fixture;
     _fixture.StartServer(authenticationType: "apikey");
 }
 public IntegrationSerie(IntegrationFixture fixture)
 {
     _fixture = fixture;
     _fixture.TestSetup();
 }
Esempio n. 30
0
 public UserUIInteraction(IntegrationFixture fixture)
 {
     this.fixture = fixture;
 }
 public BasicAuthAuthenticationSpecs(IntegrationFixture fixture)
 {
     _fixture = fixture;
     _fixture.StartServer(authenticationType: "basic");
 }
Esempio n. 32
0
 public void SetFixture(IntegrationFixture <DbFixture, TestDomain> data)
 {
     Int = data;
 }
        public UniqueAccountsProjectionTests(IntegrationFixture fixture) : base(fixture)
        {
            var eventStore = new Mock <BoostRoom.Infrastructure.IEventStore>();

            _projection = new UniqueAccountsProjection(DocumentStore, eventStore.Object);
        }