Consolidate common test utils targets (#18385)

* Consolidate test util targets

* Fix code style

* Fix 1

* Fix code style
This commit is contained in:
Oleg Pipikin authored and GitHub committed 2023-07-17 11:59:13 +00:00
1 parent cd6ffd7620
commit b211767280
405 files changed
+545 -670

No files matched your search

@@ -24,7 +24,7 @@ using namespace ::testing;
using ConcurrencyTestParams = std::tuple<size_t, // number of streams
size_t>; // number of requests
class OVConcurrencyTest : public CommonTestUtils::TestsCommon,
class OVConcurrencyTest : public ov::test::TestsCommon,
public testing::WithParamInterface<ConcurrencyTestParams> {
void SetUp() override {
std::tie(num_streams, num_requests) = this->GetParam();
@@ -23,7 +23,7 @@ using namespace ::testing;
using namespace InferenceEngine;
using namespace InferenceEngine::gpu;
class RemoteBlob_Test : public CommonTestUtils::TestsCommon, public testing::WithParamInterface<bool> {
class RemoteBlob_Test : public ov::test::TestsCommon, public testing::WithParamInterface<bool> {
protected:
std::shared_ptr<ngraph::Function> fn_ptr;
std::string deviceName;
@@ -553,7 +553,7 @@ std::vector<bool> with_auto_batching {true, false};
INSTANTIATE_TEST_SUITE_P(smoke_RemoteBlob, RemoteBlob_Test, ::testing::ValuesIn(with_auto_batching),
RemoteBlob_Test::getTestCaseName);
class BatchedBlob_Test : public CommonTestUtils::TestsCommon, public testing::WithParamInterface<size_t> {
class BatchedBlob_Test : public ov::test::TestsCommon, public testing::WithParamInterface<size_t> {
void SetUp() override {
num_batch = this->GetParam();
};
@@ -574,7 +574,7 @@ INSTANTIATE_TEST_SUITE_P(smoke_RemoteBlob, BatchedBlob_Test, ::testing::ValuesIn
using TwoNetsParams = std::tuple<size_t, // number of streams
size_t>; // number of requests
class TwoNets_Test : public CommonTestUtils::TestsCommon,
class TwoNets_Test : public ov::test::TestsCommon,
public testing::WithParamInterface<TwoNetsParams> {
void SetUp() override {
std::tie(num_streams, num_requests) = this->GetParam();
@@ -48,7 +48,7 @@
using namespace ::testing;
struct DX11RemoteCtx_Test : public CommonTestUtils::TestsCommon {
struct DX11RemoteCtx_Test : public ov::test::TestsCommon {
virtual ~DX11RemoteCtx_Test() = default;
protected:
@@ -23,7 +23,7 @@
using namespace ::testing;
class OVRemoteTensor_Test : public CommonTestUtils::TestsCommon {
class OVRemoteTensor_Test : public ov::test::TestsCommon {
protected:
std::shared_ptr<ngraph::Function> fn_ptr;
@@ -1362,7 +1362,7 @@ TEST_F(OVRemoteTensor_Test, NV12toBGR_buffer) {
FuncTestUtils::compare_tensor(out_tensor, output_tensor_regular, thr);
}
class OVRemoteTensorBatched_Test : public CommonTestUtils::TestsCommon, public testing::WithParamInterface<size_t> {
class OVRemoteTensorBatched_Test : public ov::test::TestsCommon, public testing::WithParamInterface<size_t> {
void SetUp() override {
num_batch = this->GetParam();
};