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>
9
10namespace imt {
11namespace base {
12namespace os {
13namespace linux {
14namespace gmock {
15
20
21public:
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
File io mock implementation.
Definition MockFileIo.h:19
MOCK_METHOD(std::unique_ptr< std::iostream >, getFileStream,(std::string const &path, std::ios_base::openmode mode))
This is a application specific file which is used to configure Imt.Base.Core.Math.