* Move gtest to <root>/wqthirdparty
* Fixed inference engine tests
* Fixed unit-tests
* Fixed GPU
* Fixed clDNN_unit_tests compilation
* Reverted ngraph changes
* Fixed VPU tests
* Fixed deprecated tests compilation
* Removed OpenVINO clone
* Added public submodule
* Removed
* Fixed Windows
* More updates for INSTANTIATE_TEST_SUITE_P
* Use release-1.10.0
* Removed ngraph copy of gtest
* Revert "Removed ngraph copy of gtest"
This reverts commit ec9fe08d79.
* Fixes for TYPED_TEST_CASE
* Fixed GNA tests
* Updated submodule
* Updaed index
* TMP disabled tests
* Revert changes and fix compilation errors
* Fixed caching tests
* Revert back
* Revert back all
Co-authored-by: Michael Nosov <mikhail.nosov@intel.com>
91 lines
2.8 KiB
C++
91 lines
2.8 KiB
C++
// Copyright (C) 2018-2021 Intel Corporation
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
#include "../common/tests_utils.h"
|
|
#include "tests_pipelines/tests_pipelines.h"
|
|
|
|
#include <gtest/gtest.h>
|
|
|
|
class UnitTestSuiteNoModel : public ::testing::TestWithParam<TestCase> {
|
|
};
|
|
|
|
class UnitTestSuiteNoDevice : public ::testing::TestWithParam<TestCase> {
|
|
};
|
|
|
|
class UnitTestSuite : public ::testing::TestWithParam<TestCase> {
|
|
};
|
|
|
|
// tests_pipelines/tests_pipelines.cpp
|
|
TEST_P(UnitTestSuiteNoModel, load_unload_plugin) {
|
|
runTest(test_load_unload_plugin, GetParam());
|
|
}
|
|
|
|
TEST_P(UnitTestSuiteNoDevice, read_network) {
|
|
runTest(test_read_network, GetParam());
|
|
}
|
|
|
|
TEST_P(UnitTestSuiteNoDevice, cnnnetwork_reshape_batch_x2) {
|
|
runTest(test_cnnnetwork_reshape_batch_x2, GetParam());
|
|
}
|
|
|
|
TEST_P(UnitTestSuiteNoDevice, set_input_params) {
|
|
runTest(test_set_input_params, GetParam());
|
|
}
|
|
|
|
TEST_P(UnitTestSuite, create_exenetwork) {
|
|
runTest(test_create_exenetwork, GetParam());
|
|
}
|
|
|
|
TEST_P(UnitTestSuite, create_infer_request) {
|
|
runTest(test_create_infer_request, GetParam());
|
|
}
|
|
|
|
TEST_P(UnitTestSuite, infer_request_inference) {
|
|
runTest(test_infer_request_inference, GetParam());
|
|
}
|
|
// tests_pipelines/tests_pipelines.cpp
|
|
|
|
|
|
// tests_pipelines/tests_pipelines_full_pipeline.cpp
|
|
TEST_P(UnitTestSuite, load_unload_plugin_full_pipeline) {
|
|
runTest(test_load_unload_plugin_full_pipeline, GetParam());
|
|
}
|
|
|
|
TEST_P(UnitTestSuite, read_network_full_pipeline) {
|
|
runTest(test_read_network_full_pipeline, GetParam());
|
|
}
|
|
|
|
TEST_P(UnitTestSuite, set_input_params_full_pipeline) {
|
|
runTest(test_set_input_params_full_pipeline, GetParam());
|
|
}
|
|
|
|
TEST_P(UnitTestSuite, cnnnetwork_reshape_batch_x2_full_pipeline) {
|
|
runTest(test_cnnnetwork_reshape_batch_x2_full_pipeline, GetParam());
|
|
}
|
|
|
|
TEST_P(UnitTestSuite, create_exenetwork_full_pipeline) {
|
|
runTest(test_create_exenetwork_full_pipeline, GetParam());
|
|
}
|
|
|
|
TEST_P(UnitTestSuite, create_infer_request_full_pipeline) {
|
|
runTest(test_create_infer_request_full_pipeline, GetParam());
|
|
}
|
|
|
|
TEST_P(UnitTestSuite, infer_request_inference_full_pipeline) {
|
|
runTest(test_infer_request_inference_full_pipeline, GetParam());
|
|
}
|
|
// tests_pipelines/tests_pipelines_full_pipeline.cpp
|
|
|
|
INSTANTIATE_TEST_SUITE_P(StressUnitTests, UnitTestSuiteNoModel,
|
|
::testing::ValuesIn(generateTestsParams({"processes", "threads", "iterations", "devices"})),
|
|
getTestCaseName);
|
|
|
|
INSTANTIATE_TEST_SUITE_P(StressUnitTests, UnitTestSuiteNoDevice,
|
|
::testing::ValuesIn(generateTestsParams({"processes", "threads", "iterations", "models"})),
|
|
getTestCaseName);
|
|
|
|
INSTANTIATE_TEST_SUITE_P(StressUnitTests, UnitTestSuite,
|
|
::testing::ValuesIn(generateTestsParams({"processes", "threads", "iterations", "devices", "models"})),
|
|
getTestCaseName);
|