Fix a bug in Msn Filetransfer preventing NullPointerException. And tests to recreate needed contacts for filetransfer tests.

cusax-fix
Damian Minkov 16 years ago
parent 2d9503c0db
commit a7493d9876

@ -94,7 +94,7 @@ public FileTransfer sendFile( Contact toContact,
file);
if(ft == null)
new IllegalStateException(
throw new IllegalStateException(
"A problem occured sending file, contact not found or offline");
FileTransferImpl outFileTransfer = new FileTransferImpl(

@ -143,8 +143,10 @@ public void prepareContactList()
throws Exception
{
// clear the provider the first time we run a filetransfer list
if(getContact1() == null && getContact2() == null)
if(contact1 == null && contact2 == null)
{
fixture.clearProvidersLists();
}
if(getContact1() == null)
{

Loading…
Cancel
Save