Skip to content
Snippets Groups Projects
Commit c27c9238 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Add verbosity when the given mock file is not found

parent 7cf1510a
No related branches found
No related tags found
No related merge requests found
Pipeline #381670 passed
......@@ -58,6 +58,9 @@ bool PMockBackend::createClientSocket(PMockBackend::Socket & socket, const PMock
bool b(true);
if(!socket.param.isMockRecord){ //If we are not in record mode, we load all the exchange
b &= data_load(socket.fileNameMessage, socket.vecMessage);
if(!b){
std::cerr << "PMockBackend::createClientSocket : cannot load file '"<<socket.fileNameMessage<<"'" << std::endl;
}
}
return b;
}
......
......@@ -7,9 +7,9 @@
#ifndef __PHOENIX_MOCK_SOCKET_H__
#define __PHOENIX_MOCK_SOCKET_H__
#include "data_size.h"
#include "data_file.h"
#include "data_message.h"
#include <data_size.h>
#include <data_file.h>
#include <data_message.h>
///Vector of messages
typedef std::vector<std::vector<char> > PVecMockMessage;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment