public void GetGreetingWavFile2_EmptyObjectId_Failure() { var res = DirectoryHandlerGreetingStreamFile.GetGreetingWavFile(_mockServer, "c:\\temp.wav", "", 1033); Assert.IsFalse(res.Success, "Calling GetGreetinWavFile with empty objectId should fail"); }
public void GetGreetingWavFile2_EmptyWavPath_Failure() { var res = DirectoryHandlerGreetingStreamFile.GetGreetingWavFile(_mockServer, "", "objectId", 1033); Assert.IsFalse(res.Success, "Calling GetGreetinWavFile with empty local wav file path should fail"); }
public void GetGreetingWavFile_EmptyStreamName_Failure() { var res = DirectoryHandlerGreetingStreamFile.GetGreetingWavFile(_mockServer, "c:\\temp.wav", ""); Assert.IsFalse(res.Success, "Calling GetGreetinWavFile with empty stream name should fail"); }
public void GetGreetingWavFile2_NullConnectionServer_Failure() { var res = DirectoryHandlerGreetingStreamFile.GetGreetingWavFile(null, "c:\\temp.wav", "objectId", 1033); Assert.IsFalse(res.Success, "Calling GetGreetinWavFile with null ConnectionServer should fail"); }
public void StaticCallFailures_GetGreetingWavFile() { var res = DirectoryHandlerGreetingStreamFile.GetGreetingWavFile(_connectionServer, "Dummy.wav", _tempHandler.ObjectId, 9999); Assert.IsFalse(res.Success, "Getting greeting wav file with illegal language Id should fail"); }