#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "ui/accessibility/platform/ax_unique_id.h"
#include <memory>
#include "testing/gtest/include/gtest/gtest.h"
namespace ui {
TEST(AXPlatformUniqueIdTest, IdsAreUnique) { … }
TEST(AXPlatformUniqueIdTest, IdsAreMovable) { … }
namespace {
constexpr int32_t kMaxId = …;
AXUniqueId CreateSmallBankUniqueId() { … }
}
TEST(AXPlatformUniqueIdTest, UnassignedIdsAreReused) { … }
TEST(AXPlatformUniqueIdTest, DoesCreateCorrectId) { … }
TEST(AXPlatformUniqueIdTest, DefaultPlatformNodeIdIsInvalid) { … }
}