コード例 #1
0
        public void GetPrivateListVoiceName_InvalidObjectId_Failure()
        {
            var res = PrivateList.GetPrivateListVoiceName(_connectionServer, "userobjectid", "c:\\temp.wav", "ObjectId",
                                                          "wavname");

            Assert.IsFalse(res.Success,
                           "Getting private list voice name via static method did not fail with invalid objectId");
        }
コード例 #2
0
        public void GetPrivateListVoiceName_EmptyUserObjectId_Failure()
        {
            var res = PrivateList.GetPrivateListVoiceName(_mockServer, "", @"c:\", "ObjectId", "WavName");

            Assert.IsFalse(res.Success, "Getting private list voice name via static method did not fail with empty user objectId ");
        }
コード例 #3
0
        public void GetPrivateListVoiceName_EmptyWavFilePath_Failure()
        {
            var res = PrivateList.GetPrivateListVoiceName(_mockServer, "UserObjectId", "", "ObjectId", "");

            Assert.IsFalse(res.Success, "Getting private list voice name via static method did not fail with empty wav file name and target path ");
        }
コード例 #4
0
        public void GetPrivateListVoiceName_NullConnectionServer_Failure()
        {
            var res = PrivateList.GetPrivateListVoiceName(null, "UserObjectId", @"c:\", "ObjectId", "WavName");

            Assert.IsFalse(res.Success, "Getting private list voice name via static method did not fail with null Connection server ");
        }