#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "ui/display/util/display_util.h"
#include "base/test/metrics/histogram_tester.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/display/test/display_test_util.h"
#include "ui/display/util/edid_parser.h"
#include "ui/gfx/color_space.h"
namespace display {
namespace {
const unsigned char kHPz32x[] = …;
const unsigned char kSamus[] = …;
const unsigned char kEve[] = …;
const unsigned char kInvalidEdid[] = …;
const unsigned char kEdidWithNoGamma[] = …;
const unsigned char kScreeboP3[] = …;
const unsigned char kCDBP3[] = …;
constexpr unsigned char kHDR[] = …;
const unsigned char kSST210[] = …;
const unsigned char kSST210Corrected[] = …;
const unsigned char kBrokenBluePrimaries[] = …;
const unsigned char kDTSAudio[] = …;
}
TEST(DisplayUtilTest, TestValidDisplaySize) { … }
TEST(DisplayUtilTest, GetColorSpaceFromEdid) { … }
TEST(DisplayUtilTest, GetInvalidColorSpaceFromEdid) { … }
TEST(DisplayUtilTest, GetAudioPassthroughFromEdid) { … }
TEST(DisplayUtilTest, MultipleInternalDisplayIds) { … }
TEST(DisplayUtilTest, CompareDisplayIdsWithMultipleDisplays) { … }
}