mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 13:49:45 +00:00
Merge "vts: remove deprecated gtest macros" am: fcd14d1824
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1394016 Change-Id: I62c4c1d9ff5e7fb08bd56f4f5fa57e78796e4c1b
This commit is contained in:
@@ -1209,9 +1209,9 @@ std::string printCompilationCachingTest(
|
||||
return gtestCompliantName(getName(namedDevice) + "_" + type);
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(TestCompilationCaching, CompilationCachingTest,
|
||||
testing::Combine(kNamedDeviceChoices, kOperandTypeChoices),
|
||||
printCompilationCachingTest);
|
||||
INSTANTIATE_TEST_SUITE_P(TestCompilationCaching, CompilationCachingTest,
|
||||
testing::Combine(kNamedDeviceChoices, kOperandTypeChoices),
|
||||
printCompilationCachingTest);
|
||||
|
||||
using CompilationCachingSecurityTestParam = std::tuple<NamedDevice, OperandType, uint32_t>;
|
||||
|
||||
@@ -1365,9 +1365,9 @@ std::string printCompilationCachingSecurityTest(
|
||||
return gtestCompliantName(getName(namedDevice) + "_" + type + "_" + std::to_string(seed));
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(TestCompilationCaching, CompilationCachingSecurityTest,
|
||||
testing::Combine(kNamedDeviceChoices, kOperandTypeChoices,
|
||||
testing::Range(0U, 10U)),
|
||||
printCompilationCachingSecurityTest);
|
||||
INSTANTIATE_TEST_SUITE_P(TestCompilationCaching, CompilationCachingSecurityTest,
|
||||
testing::Combine(kNamedDeviceChoices, kOperandTypeChoices,
|
||||
testing::Range(0U, 10U)),
|
||||
printCompilationCachingSecurityTest);
|
||||
|
||||
} // namespace android::hardware::neuralnetworks::V1_2::vts::functional
|
||||
|
||||
@@ -1200,9 +1200,9 @@ std::string printCompilationCachingTest(
|
||||
return gtestCompliantName(getName(namedDevice) + "_" + type);
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(TestCompilationCaching, CompilationCachingTest,
|
||||
testing::Combine(kNamedDeviceChoices, kOperandTypeChoices),
|
||||
printCompilationCachingTest);
|
||||
INSTANTIATE_TEST_SUITE_P(TestCompilationCaching, CompilationCachingTest,
|
||||
testing::Combine(kNamedDeviceChoices, kOperandTypeChoices),
|
||||
printCompilationCachingTest);
|
||||
|
||||
using CompilationCachingSecurityTestParam = std::tuple<NamedDevice, OperandType, uint32_t>;
|
||||
|
||||
@@ -1356,9 +1356,9 @@ std::string printCompilationCachingSecurityTest(
|
||||
return gtestCompliantName(getName(namedDevice) + "_" + type + "_" + std::to_string(seed));
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(TestCompilationCaching, CompilationCachingSecurityTest,
|
||||
testing::Combine(kNamedDeviceChoices, kOperandTypeChoices,
|
||||
testing::Range(0U, 10U)),
|
||||
printCompilationCachingSecurityTest);
|
||||
INSTANTIATE_TEST_SUITE_P(TestCompilationCaching, CompilationCachingSecurityTest,
|
||||
testing::Combine(kNamedDeviceChoices, kOperandTypeChoices,
|
||||
testing::Range(0U, 10U)),
|
||||
printCompilationCachingSecurityTest);
|
||||
|
||||
} // namespace android::hardware::neuralnetworks::V1_3::vts::functional
|
||||
|
||||
@@ -605,9 +605,9 @@ std::string printMemoryDomainAllocateTest(
|
||||
return gtestCompliantName(getName(namedDevice) + "_" + type);
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(TestMemoryDomain, MemoryDomainAllocateTest,
|
||||
testing::Combine(kNamedDeviceChoices, kTestOperandTypeChoices),
|
||||
printMemoryDomainAllocateTest);
|
||||
INSTANTIATE_TEST_SUITE_P(TestMemoryDomain, MemoryDomainAllocateTest,
|
||||
testing::Combine(kNamedDeviceChoices, kTestOperandTypeChoices),
|
||||
printMemoryDomainAllocateTest);
|
||||
|
||||
class MemoryDomainCopyTestBase : public MemoryDomainTestBase {
|
||||
protected:
|
||||
@@ -829,9 +829,9 @@ std::string printMemoryDomainCopyTest(
|
||||
return gtestCompliantName(getName(namedDevice) + "_" + type);
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(TestMemoryDomain, MemoryDomainCopyTest,
|
||||
testing::Combine(kNamedDeviceChoices, kTestOperandTypeChoices),
|
||||
printMemoryDomainCopyTest);
|
||||
INSTANTIATE_TEST_SUITE_P(TestMemoryDomain, MemoryDomainCopyTest,
|
||||
testing::Combine(kNamedDeviceChoices, kTestOperandTypeChoices),
|
||||
printMemoryDomainCopyTest);
|
||||
|
||||
using MemoryDomainExecutionTestParam = std::tuple<NamedDevice, TestOperandType, Executor>;
|
||||
class MemoryDomainExecutionTest
|
||||
@@ -1195,9 +1195,9 @@ std::string printMemoryDomainExecutionTest(
|
||||
return gtestCompliantName(getName(namedDevice) + "_" + type + "_" + executorStr);
|
||||
}
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(TestMemoryDomain, MemoryDomainExecutionTest,
|
||||
testing::Combine(kNamedDeviceChoices, kTestOperandTypeChoices,
|
||||
kExecutorChoices),
|
||||
printMemoryDomainExecutionTest);
|
||||
INSTANTIATE_TEST_SUITE_P(TestMemoryDomain, MemoryDomainExecutionTest,
|
||||
testing::Combine(kNamedDeviceChoices, kTestOperandTypeChoices,
|
||||
kExecutorChoices),
|
||||
printMemoryDomainExecutionTest);
|
||||
|
||||
} // namespace android::hardware::neuralnetworks::V1_3::vts::functional
|
||||
|
||||
Reference in New Issue
Block a user