Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / tests / unit / mocks / cpp_interfaces / impl / mock_executable_network_internal.hpp
1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4
5 #pragma once
6
7 #include <string>
8 #include <vector>
9
10 #include "ie_plugin.hpp"
11 #include "ie_input_info.hpp"
12 #include "ie_icnn_network.hpp"
13 #include "ie_iexecutable_network.hpp"
14
15 #include <cpp_interfaces/impl/ie_executable_network_internal.hpp>
16 #include <cpp_interfaces/impl/ie_infer_request_internal.hpp>
17
18 #include <gmock/gmock.h>
19 #include "cpp_interfaces/interface/mock_iinfer_request_internal.hpp"
20 #include "cpp_interfaces/impl/mock_infer_request_internal.hpp"
21
22 using namespace InferenceEngine;
23
24 class MockExecutableNetworkInternal : public ExecutableNetworkInternal {
25 public:
26     MOCK_METHOD1(setNetworkInputs, void(InputsDataMap));
27     MOCK_METHOD1(setNetworkOutputs, void(OutputsDataMap));
28     MOCK_METHOD1(CreateInferRequest, void(IInferRequest::Ptr &));
29     MOCK_METHOD1(Export, void(const std::string &));
30     MOCK_METHOD1(GetMappedTopology, void(std::map<std::string, std::vector<PrimitiveInfo::Ptr>> &));
31     MOCK_METHOD1(GetExecGraphInfo, void(ICNNNetwork::Ptr &));
32 };
33