Exemplo n.º 1
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));
        }
Exemplo n.º 2
0
 public CreateConfigAsyncTest(GameServersFixture fixture)
 {
     _fixture            = fixture;
     _createConfigSample = new CreateConfigSample();
     _configId           = $"{_fixture.ConfigIdPrefix}-{_fixture.RandomId()}";
     _fixture.ConfigIdentifiers.Add(new ConfigIdentifier(_fixture.TestDeploymentId, _configId));
 }
Exemplo n.º 3
0
 public CreateDeploymentAsyncTest(GameServersFixture fixture)
 {
     _fixture      = fixture;
     _createSample = new CreateDeploymentSample();
     _deploymentId = $"{_fixture.DeploymentIdPrefix}-{_fixture.RandomId()}";
     _fixture.DeploymentIds.Add(_deploymentId);
 }
Exemplo n.º 4
0
 public CreateRealmAsyncTest(GameServersFixture fixture)
 {
     _fixture      = fixture;
     _createSample = new CreateRealmSample();
     _realmId      = $"{_fixture.RealmIdPrefix}-{_fixture.RandomId()}";
     _fixture.RealmIds.Add(_realmId);
 }
 public CreateClusterAsyncTest(GameServersFixture fixture)
 {
     _fixture             = fixture;
     _createClusterSample = new CreateClusterSample();
     _clusterId           = $"{_fixture.ClusterIdPrefix}-{_fixture.RandomId()}";
     _fixture.ClusterIdentifiers.Add(new ClusterIdentifier(_fixture.TestRealmId, _clusterId));
 }