Fixed integtests #4584

This commit is contained in:
Jerry (Xinyu Hou) 2015-06-05 15:23:44 -07:00
parent 756c3b4463
commit 5c71efebe6
2 changed files with 8 additions and 4 deletions

View File

@ -871,10 +871,12 @@ ServerProxy::fileChunkReceived()
m_events->addEvent(Event(m_events->forFile().fileRecieveCompleted(), m_client)); m_events->addEvent(Event(m_events->forFile().fileRecieveCompleted(), m_client));
} }
else if (result == kStart) { else if (result == kStart) {
if (m_client->getDragFileList().size() > 0) {
String filename = m_client->getDragFileList().at(0).getFilename(); String filename = m_client->getDragFileList().at(0).getFilename();
LOG((CLOG_NOTIFY "File Transmission Started: Start receiving %s.", filename.c_str())); LOG((CLOG_NOTIFY "File Transmission Started: Start receiving %s.", filename.c_str()));
} }
} }
}
void void
ServerProxy::dragInfoReceived() ServerProxy::dragInfoReceived()

View File

@ -91,10 +91,12 @@ ClientProxy1_5::fileChunkReceived()
m_events->addEvent(Event(m_events->forFile().fileRecieveCompleted(), server)); m_events->addEvent(Event(m_events->forFile().fileRecieveCompleted(), server));
} }
else if (result == kStart) { else if (result == kStart) {
if (server->getFakeDragFileList().size() > 0) {
String filename = server->getFakeDragFileList().at(0).getFilename(); String filename = server->getFakeDragFileList().at(0).getFilename();
LOG((CLOG_NOTIFY "File Transmission Started: Start receiving %s.", filename.c_str())); LOG((CLOG_NOTIFY "File Transmission Started: Start receiving %s.", filename.c_str()));
} }
} }
}
void void
ClientProxy1_5::dragInfoReceived() ClientProxy1_5::dragInfoReceived()