Exemple #1
0
        public void GetGreetingWavFile_EmptyStreamFileNameWithLanguageCode_Failure()
        {
            var res = PostGreetingRecordingStreamFile.GetGreetingWavFile(_mockServer, "bogus.xyz", "", 1033);

            Assert.IsFalse(res.Success, "");
        }
Exemple #2
0
        public void GetGreetingWavFile_InvalidTargetFolderWithLanguageCode_Failure()
        {
            var res = PostGreetingRecordingStreamFile.GetGreetingWavFile(_mockServer, "e:\\bogus\\bogus.xyz", "bogus", 1033);

            Assert.IsFalse(res.Success, "");
        }
        public void GetGreetingWavFile_InvalidTargetFolder_Failure()
        {
            var res = PostGreetingRecordingStreamFile.GetGreetingWavFile(_connectionServer, "e:\\bogus\\bogus.xyz", "streamfilename", 1033);

            Assert.IsFalse(res.Success, "Calling GetGreetingWavFile with invalid target folder did not fail");
        }
Exemple #4
0
        public void GetGreetingWavFile_NullConnectionServerWithLanguageCode_Failure()
        {
            var res = PostGreetingRecordingStreamFile.GetGreetingWavFile(null, "c:\\temp.wav", "streamfilename", 1033);

            Assert.IsFalse(res.Success, "");
        }
        public void GetGreetingWavFile_InvalidStreamName_Failure()
        {
            var res = PostGreetingRecordingStreamFile.GetGreetingWavFile(_connectionServer, "c:\\temp.wav", "invalidstreamname");

            Assert.IsFalse(res.Success, "calling GetGreetingWavFile with invalid streamname did not fail");
        }