Imt.Base C++ API
V4.1.1.0
Loading...
Searching...
No Matches
MockFileIo.h
Go to the documentation of this file.
1
// (c) IMT - Information Management Technology AG, CH-9470 Buchs, www.imt.ch.
2
3
#ifndef IMT_BASE_OS_LINUX_GMOCK_MOCKFILEIO_H
4
#define IMT_BASE_OS_LINUX_GMOCK_MOCKFILEIO_H
5
6
#include <gmock/gmock.h>
7
#include <
Imt.Base.Core.Platform/Platform.h
>
8
#include <
Imt.Base.OS.Linux/FileIo.h
>
9
10
namespace
imt
{
11
namespace
base {
12
namespace
os {
13
namespace
linux {
14
namespace
gmock {
15
19
class
MockFileIo
{
20
21
public
:
22
23
MOCK_METHOD
(std::unique_ptr<std::iostream>, getFileStream, (std::string
const
& path, std::ios_base::openmode mode));
24
};
25
26
}
// namespace gmock
27
}
// namespace linux
28
}
// namespace os
29
}
// namespace base
30
}
// namespace imt
31
32
#endif
// #ifndef IMT_BASE_OS_LINUX_GMOCK_MOCKFILEIO_H
FileIo.h
Platform.h
imt::base::os::linux::gmock::MockFileIo
File io mock implementation.
Definition
MockFileIo.h:19
imt::base::os::linux::gmock::MockFileIo::MOCK_METHOD
MOCK_METHOD(std::unique_ptr< std::iostream >, getFileStream,(std::string const &path, std::ios_base::openmode mode))
imt
This is a application specific file which is used to configure Imt.Base.Core.Math.
Definition
MathConfigApp.h:15
Imt.Base
Imt.Base.OS.Linux.GMock
inc
Imt.Base.OS.Linux.GMock
MockFileIo.h
Generated by
1.9.7