コード例 #1
0
        public void RegisterNick()
        {
            var request = new RegisterNickRequest(ProfileRequests.RegisterNick);

            request.Parse();
            Assert.Equal("xxxx", request.SessionKey);
            Assert.Equal("spyguy", request.UniqueNick);
            Assert.Equal((int)0, request.PartnerId);
        }
コード例 #2
0
        public void RegisterNick()
        {
            var request = new RegisterNickRequest(GeneralRequests.RegisterNick);

            request.Parse();
            Assert.Equal("0", request.NamespaceID);
            Assert.Equal("spyguy", request.UniqueNick);
            Assert.Equal("XXXX-XXXX-XXXX-XXXX", request.CDKey);
        }
コード例 #3
0
 protected override void CheckRequest()
 {
     _errorCode = _request.Parse();
 }