Skip to content
Snippets Groups Projects
Commit 770b20c5 authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

fix windows tests

parent c54e320d
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@
#include "io/io.h"
#include "../../../../common/cpp/src/system_io/system_io.h"
#include "../src/folder_data_broker.h"
#include "preprocessor/definitions.h"
using asapo::DataBrokerFactory;
using asapo::DataBroker;
......@@ -240,7 +241,7 @@ class GetDataFromFileTests : public Test {
};
TEST_F(GetDataFromFileTests, GetNextCallsGetDataFileWithFileName) {
EXPECT_CALL(mock, GetDataFromFile_t("/path/to/file/1", _, _)).
EXPECT_CALL(mock, GetDataFromFile_t(std::string("/path/to/file")+asapo::kPathSeparator+"1", _, _)).
WillOnce(DoAll(testing::SetArgPointee<2>(static_cast<SimpleError*>(nullptr)), testing::Return(nullptr)));
data_broker->GetNext(&fi, &data);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment