Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / tests / unit / mocks / cpp_interfaces / impl / mock_executable_thread_safe_async_only.hpp
1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4
5 #pragma once
6
7 #include "ie_plugin.hpp"
8 #include "ie_iexecutable_network.hpp"
9 #include <gmock/gmock.h>
10 #include <string>
11 #include <vector>
12 #include <cpp_interfaces/impl/ie_executable_network_thread_safe_async_only.hpp>
13
14 using namespace InferenceEngine;
15
16 class MockExecutableNetworkThreadSafeAsyncOnly : public ExecutableNetworkThreadSafeAsyncOnly {
17 public:
18     MOCK_METHOD2(CreateAsyncInferRequestImpl,
19                  AsyncInferRequestInternal::Ptr(InputsDataMap networkInputs, OutputsDataMap networkOutputs));
20     MOCK_METHOD1(Export, void(const std::string &));
21     MOCK_METHOD1(GetMappedTopology, void(std::map<std::string, std::vector<PrimitiveInfo::Ptr>> &));
22 };