mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "vts: Upsize 8bit uniform_int_distribution" am: 13a42ed14d am: c7e13d9244
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2110725 Change-Id: Ibf6a3bc540b5dd06a24330b506a98e2f3bca2ad5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
committed by
Automerger Merge Worker
commit
bb2afde687
@@ -1262,7 +1262,7 @@ class CompilationCachingSecurityTest
|
||||
FILE* pFile = fopen(filename.c_str(), "a");
|
||||
uint32_t appendLength = getRandomInt(1, 256);
|
||||
for (uint32_t i = 0; i < appendLength; i++) {
|
||||
ASSERT_NE(fputc(getRandomInt<uint8_t>(0, 255), pFile), EOF);
|
||||
ASSERT_NE(fputc(getRandomInt<uint16_t>(0, 255), pFile), EOF);
|
||||
}
|
||||
fclose(pFile);
|
||||
*skip = false;
|
||||
|
||||
@@ -1253,7 +1253,7 @@ class CompilationCachingSecurityTest
|
||||
FILE* pFile = fopen(filename.c_str(), "a");
|
||||
uint32_t appendLength = getRandomInt(1, 256);
|
||||
for (uint32_t i = 0; i < appendLength; i++) {
|
||||
ASSERT_NE(fputc(getRandomInt<uint8_t>(0, 255), pFile), EOF);
|
||||
ASSERT_NE(fputc(getRandomInt<uint16_t>(0, 255), pFile), EOF);
|
||||
}
|
||||
fclose(pFile);
|
||||
*skip = false;
|
||||
|
||||
@@ -1068,7 +1068,7 @@ class CompilationCachingSecurityTest
|
||||
FILE* pFile = fopen(filename.c_str(), "a");
|
||||
uint32_t appendLength = getRandomInt(1, 256);
|
||||
for (uint32_t i = 0; i < appendLength; i++) {
|
||||
ASSERT_NE(fputc(getRandomInt<uint8_t>(0, 255), pFile), EOF);
|
||||
ASSERT_NE(fputc(getRandomInt<uint16_t>(0, 255), pFile), EOF);
|
||||
}
|
||||
fclose(pFile);
|
||||
*skip = false;
|
||||
|
||||
Reference in New Issue
Block a user