예제 #1
0
        public void Initialize()
        {
            var username = Properties.Settings.Default.username;
            var apiKey = Properties.Settings.Default.apiKey;

            this.target = new ChallongeV1(username, apiKey);
        }
예제 #2
0
        public void Initialize()
        {
            var username = Properties.Settings.Default.username;
            var apiKey   = Properties.Settings.Default.apiKey;

            this.target = new ChallongeV1(username, apiKey);
        }
예제 #3
0
        public void Initialize()
        {
            this.username = Properties.Settings.Default.username;
            this.apikey = Properties.Settings.Default.apiKey;
            this.subdomain = Properties.Settings.Default.organization;

            this.target = new ChallongeV1(this.username, this.apikey);
        }
예제 #4
0
        public void Initialize()
        {
            this.username  = Properties.Settings.Default.username;
            this.apikey    = Properties.Settings.Default.apiKey;
            this.subdomain = Properties.Settings.Default.organization;

            this.target = new ChallongeV1(this.username, this.apikey);
        }
예제 #5
0
        public void GetCredentials_Test()
        {
            const string Username = "******";
            const string ApiKey = "ApiKey";
            var challonge = new ChallongeV1(Username, ApiKey);

            Assert.AreEqual(Username, challonge.Username);
            Assert.AreEqual(ApiKey, challonge.Apikey);
        }
예제 #6
0
        public void GetCredentials_Test()
        {
            const string Username  = "******";
            const string ApiKey    = "ApiKey";
            var          challonge = new ChallongeV1(Username, ApiKey);

            Assert.AreEqual(Username, challonge.Username);
            Assert.AreEqual(ApiKey, challonge.Apikey);
        }
예제 #7
0
        public void Initialize()
        {
            var username = Properties.Settings.Default.username;
            var apiKey = Properties.Settings.Default.apiKey;
            this.randomName = "TommeAPITest" + Utilities.RandomName();
            Debug.WriteLine(string.Format("Initializing with name {0}", this.randomName));

            this.target = new ChallongeV1(username, apiKey);
            this.tournamentUnderTest = this.target.TournamentCreate(this.randomName, TournamentType.SingleElimination, this.randomName);
        }
예제 #8
0
        public void Initialize()
        {
            var username = Properties.Settings.Default.username;
            var apiKey   = Properties.Settings.Default.apiKey;

            this.randomName = "TommeAPITest" + Utilities.RandomName();
            Debug.WriteLine(string.Format("Initializing with name {0}", this.randomName));

            this.target = new ChallongeV1(username, apiKey);
            this.tournamentUnderTest = this.target.TournamentCreate(this.randomName, TournamentType.SingleElimination, this.randomName);
        }