Lines Matching refs:reporter
13 DEF_TEST(SkRive_BinaryReader, reporter) {
42 REPORTER_ASSERT(reporter, sr);
43 REPORTER_ASSERT(reporter, sr->readUInt32("version") == 18);
46 REPORTER_ASSERT(reporter, ab.type() == StreamReader::BlockType::kArtboards);
47 REPORTER_ASSERT(reporter, sr->readLength16() == 1);
51 REPORTER_ASSERT(reporter, ab.type() == StreamReader::BlockType::kActorArtboard);
52 REPORTER_ASSERT(reporter, sr->readString("name").equals("Fooo"));
53 REPORTER_ASSERT(reporter, sr->readV2("translation") == (SkV2{0,0}));
54 REPORTER_ASSERT(reporter, sr->readFloat("width" ) == 863);
55 REPORTER_ASSERT(reporter, sr->readFloat("height") == 899);
56 REPORTER_ASSERT(reporter, sr->readV2("origin") == (SkV2{0,0}));
57 REPORTER_ASSERT(reporter, sr->readBool("clipContents"));
58 REPORTER_ASSERT(reporter, sr->readColor("color") == (SkColor4f{0.5f,0.5f,0.5f,1}));
60 REPORTER_ASSERT(reporter, sr->readString("INVALID").equals(""));
61 REPORTER_ASSERT(reporter, sr->readFloat("INVALID" ) == 0);
62 REPORTER_ASSERT(reporter, !sr->readBool("INVALID"));
66 REPORTER_ASSERT(reporter, ab.type() == StreamReader::BlockType::kEoB);
71 REPORTER_ASSERT(reporter, ab.type() == StreamReader::BlockType::kEoB);