コード例 #1
0
 public GetRolloutTest(GameServersFixture fixture)
 {
     _fixture            = fixture;
     _getSample          = new GetRolloutSample();
     _updateSample       = new UpdateRolloutDefaultConfigSample();
     _updateRemoveSample = new UpdateRolloutRemoveDefaultConfigSample();
 }
コード例 #2
0
        public UpdateRolloutRemoveDefaultConfigAsyncTest(GameServersFixture fixture)
        {
            _fixture = fixture;
            _createDeploymentSample = new CreateDeploymentSample();
            _getSample          = new GetRolloutSample();
            _updateSample       = new UpdateRolloutDefaultConfigSample();
            _updateRemoveSample = new UpdateRolloutRemoveDefaultConfigSample();
            _deploymentId       = $"{_fixture.DeploymentIdPrefix}-{_fixture.RandomId()}";
            _fixture.DeploymentIds.Add(_deploymentId);

            _createConfigSample = new CreateConfigSample();
            _configId           = $"{_fixture.ConfigIdPrefix}-{_fixture.RandomId()}";
            _fixture.ConfigIdentifiers.Add(new ConfigIdentifier(_deploymentId, _configId));
        }