1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
10 #include "ie_plugin.hpp"
11 #include "ie_input_info.hpp"
12 #include "ie_icnn_network.hpp"
13 #include "ie_iexecutable_network.hpp"
15 #include <cpp_interfaces/impl/ie_executable_network_internal.hpp>
16 #include <cpp_interfaces/impl/ie_infer_request_internal.hpp>
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"
22 using namespace InferenceEngine;
24 class MockExecutableNetworkInternal : public ExecutableNetworkInternal {
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 &));