예제 #1
0
 protected IntegrationTest(TestHostFixture testHost, TestDataFixture testData, TestMapperFixture testMapper)
 {
     TestHost   = testHost;
     TestData   = testData;
     TestMapper = testMapper.Instance;
     TestMock   = new TestMockFixture();
 }
예제 #2
0
 public AddAddressAsyncTest(
     TestHostFixture testHost,
     TestDataFixture testData,
     TestMapperFixture testMapper,
     ITestOutputHelper testOutputHelper
     ) : base(testHost, testData, testMapper)
 {
     _testOutputHelper = testOutputHelper;
 }
예제 #3
0
 public CancelPromotionAsyncTest(
     TestHostFixture testHost,
     TestDataFixture testData,
     TestMapperFixture testMapper,
     Func <HttpClient, LinkGenerator, object, Task <HttpResponseMessage> >?executeAsync = null
     ) : base(
         testHost,
         testData,
         testMapper,
         executeAsync)
 {
 }
예제 #4
0
 public CashierGrpcServiceTest(
     TestHostFixture testHost,
     TestDataFixture testData,
     TestMapperFixture testMapper,
     Func <HttpClient, LinkGenerator, object, Task <HttpResponseMessage> >?executeAsync = null
     ) : base(
         testHost,
         testData,
         testMapper,
         executeAsync)
 {
 }
예제 #5
0
 protected IntegrationTest(
     TestHostFixture testHost,
     TestDataFixture testData,
     TestMapperFixture testMapper,
     Func <HttpClient, LinkGenerator, object, Task <HttpResponseMessage> >?executeAsync = null
     )
 {
     TestHost         = testHost;
     TestData         = testData;
     TestMapper       = testMapper.Instance;
     ExecuteFuncAsync = executeAsync ?? ((httpClient, linkGenerator, values) => Task.FromResult(new HttpResponseMessage()));
     TestMock         = new TestMockFixture();
 }
        public SC2VersionEntity GetVersion(string versionID)
        {
            if (versionID == "2.0.5")
            {
                return(SC2.UnitTests.TestData.WOL.TestDataFixture.GetVersionEntity());
            }

            if (versionID == "2.2.0")
            {
                return(TestDataFixture.GetVersionEntity());
            }

            if (versionID == "5.0.3")
            {
                return(SC2.UnitTests.TestData.LOTV.TestDataFixture.GetVersionEntity());
            }

            throw new NotImplementedException("Unsupported version ID");
        }
예제 #7
0
 public TransactionTest(TestDataFixture testData, TestMapperFixture testMapper, TestValidator testValidator) : base(testData, testMapper, testValidator)
 {
 }
예제 #8
0
 public ChangeDoxatagAsyncTest(TestHostFixture testHost, TestDataFixture testData, TestMapperFixture testMapper) : base(testHost, testData, testMapper)
 {
 }
예제 #9
0
 public ChallengeGrpcServiceTest(TestHostFixture testHost, TestDataFixture testData, TestMapperFixture testMapper) : base(testHost, testData, testMapper)
 {
 }
예제 #10
0
 public AccountRepositoryTest(TestHostFixture testHost, TestDataFixture testData, TestMapperFixture testMapper) : base(testHost, testData, testMapper)
 {
 }
예제 #11
0
 public PasswordControllerTest(TestDataFixture testData, TestMapperFixture testMapper, TestValidator testValidator) : base(
         testData,
         testMapper,
         testValidator)
 {
 }
 public UserWithdrawFailedIntegrationEventHandlerTest(TestDataFixture testData, TestMapperFixture testMapper, TestValidator testValidator) : base(
         testData,
         testMapper,
         testValidator)
 {
 }
예제 #13
0
 public CredentialDeletedDomainEventHandlerTest(TestDataFixture testData, TestMapperFixture testMapper) : base(testData, testMapper)
 {
 }
 public ChallengePayoutStrategyTest(TestDataFixture testData, TestMapperFixture testMapper, TestValidator testValidator) : base(
         testData,
         testMapper,
         testValidator)
 {
 }
예제 #15
0
 public PromotionControllerTest(TestDataFixture testData, TestMapperFixture testMapper, TestValidator testValidator) : base(
         testData,
         testMapper,
         testValidator)
 {
 }
예제 #16
0
 public ChallengePayoutBucketSizeTest(TestDataFixture testData, TestMapperFixture testMapper, TestValidator testValidator) : base(
         testData,
         testMapper,
         testValidator)
 {
 }
예제 #17
0
 public IdentityTestFileStorageTest(TestDataFixture testData, TestMapperFixture testMapper, TestValidator testValidator) : base(
         testData,
         testMapper,
         testValidator)
 {
 }
예제 #18
0
 public PromotionRedeemedDomainEventTest(TestDataFixture testData, TestMapperFixture testMapper, TestValidator testValidator) : base(
         testData,
         testMapper,
         testValidator)
 {
 }
예제 #19
0
 public FetchDoxatagHistoryAsyncTest(TestHostFixture testHost, TestDataFixture testData, TestMapperFixture testMapper) : base(
         testHost,
         testData,
         testMapper)
 {
 }
예제 #20
0
 public ParticipantMatchesControllerTest(TestDataFixture testData, TestMapperFixture testMapper, TestValidator validator) : base(
         testData,
         testMapper,
         validator)
 {
 }
예제 #21
0
 public GameAuthenticationRepositoryTest(TestDataFixture testData, TestMapperFixture testMapper) : base(testData, testMapper)
 {
 }
예제 #22
0
 public ChallengeRepositoryTest(TestHostFixture testHost, TestDataFixture testData, TestMapperFixture testMapper) : base(testHost, testData, testMapper)
 {
 }
예제 #23
0
 public ChallengeScoreboardTest(TestDataFixture testData, TestMapperFixture testMapper, TestValidator testValidator) : base(
         testData,
         testMapper,
         testValidator)
 {
 }
예제 #24
0
 public ChallengeParticipantRegisteredIntegrationEventHandlerTest(TestDataFixture testData, TestMapperFixture testMapper, TestValidator testValidator) :
     base(testData, testMapper, testValidator)
 {
 }
예제 #25
0
 public ChallengeRepositoryTest(TestDataFixture testData, TestMapperFixture testMapper, TestValidator validator) : base(testData, testMapper, validator)
 {
 }
예제 #26
0
 public ChallengePostRequestValidatorTest(TestDataFixture testData, TestMapperFixture testMapper, TestValidator validator) : base(
         testData,
         testMapper,
         validator)
 {
 }
예제 #27
0
 public ChallengeServiceTest(TestDataFixture testData, TestMapperFixture testMapper, TestValidator testValidator) : base(
         testData,
         testMapper,
         testValidator)
 {
 }
예제 #28
0
 public FetchAddressBookAsyncTest(TestHostFixture testHost, TestDataFixture testData, TestMapperFixture testMapper) : base(
         testHost,
         testData,
         testMapper)
 {
 }
예제 #29
0
 public UserTest(TestDataFixture testData, TestMapperFixture testMapper, TestValidator testValidator) : base(testData, testMapper, testValidator)
 {
 }
예제 #30
0
 public LogoutAccountAsyncTest(TestHostFixture testHost, TestDataFixture testData, TestMapperFixture testMapper) : base(testHost, testData, testMapper)
 {
 }