Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
opt: docs
  • Loading branch information
Kingtous committed Nov 22, 2022
commit c87ef069e665ef8bd17386f09ff741bd09e62117
4 changes: 3 additions & 1 deletion shell/platform/windows/cursor_handler_unittests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@
namespace flutter {
namespace testing {
TEST(CursorHandlerTest, CreateDummyCursor) {
// create 4x4 rawRGBA dummy cursor arguments
// create 4x4 rawRGBA dummy cursor buffer
std::vector<uint8_t> buffer;
for (int i = 0; i < 4 * 4 * 4; i++) {
buffer.push_back(0);
}
// get cursor
auto cursor = GetCursorFromBuffer(buffer, 0, 0, 4, 4);
// expect cursor is not null
EXPECT_NE(cursor, nullptr);
}

Expand Down