mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
test: update gtest API usage
use *_TEST_SUITE* instead of *_TEST_CASE* Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
3e7189f7a8
commit
55fad237b8
@@ -1291,7 +1291,7 @@ static uint64_t metadataTypes[] =
|
||||
WORK_IN_PROGRESS_DRM_XE_DEBUG_METADATA_SIP_AREA,
|
||||
DRM_XE_DEBUG_METADATA_ELF_BINARY};
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(
|
||||
INSTANTIATE_TEST_SUITE_P(
|
||||
MetadataOpEventUfenceTest,
|
||||
DebugApiLinuxTestXeMetadataOpEventTest,
|
||||
testing::ValuesIn(metadataTypes));
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2023 Intel Corporation
|
||||
* Copyright (C) 2020-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -2497,8 +2497,8 @@ getListOfMetricTypes() {
|
||||
return metricTypes;
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(parameterizedMetricEnumerationTestMetricTypes, MetricEnumerationTestMetricTypes,
|
||||
::testing::ValuesIn(getListOfMetricTypes()));
|
||||
INSTANTIATE_TEST_SUITE_P(parameterizedMetricEnumerationTestMetricTypes, MetricEnumerationTestMetricTypes,
|
||||
::testing::ValuesIn(getListOfMetricTypes()));
|
||||
|
||||
class MetricEnumerationTestInformationTypes : public MetricEnumerationTest,
|
||||
public ::testing::WithParamInterface<MetricsDiscovery::TInformationType> {
|
||||
@@ -2604,9 +2604,9 @@ getListOfInfoTypes() {
|
||||
return infoTypes;
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(parameterizedMetricEnumerationTestInformationTypes,
|
||||
MetricEnumerationTestInformationTypes,
|
||||
::testing::ValuesIn(getListOfInfoTypes()));
|
||||
INSTANTIATE_TEST_SUITE_P(parameterizedMetricEnumerationTestInformationTypes,
|
||||
MetricEnumerationTestInformationTypes,
|
||||
::testing::ValuesIn(getListOfInfoTypes()));
|
||||
|
||||
TEST_F(MetricEnumerationTest, givenMetricSetWhenActivateIsCalledActivateReturnsTrue) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user