• Home
  • Raw
  • Download

Lines Matching refs:REPORTER_ASSERT

59     REPORTER_ASSERT(r, imageDecodeSuccess);  in test_gif_data_no_colormap()
60 REPORTER_ASSERT(r, bm.width() == 1); in test_gif_data_no_colormap()
61 REPORTER_ASSERT(r, bm.height() == 1); in test_gif_data_no_colormap()
62 REPORTER_ASSERT(r, !(bm.empty())); in test_gif_data_no_colormap()
64 REPORTER_ASSERT(r, bm.getColor(0, 0) == 0x00000000); in test_gif_data_no_colormap()
70 REPORTER_ASSERT(r, imageDecodeSuccess); in test_gif_data()
71 REPORTER_ASSERT(r, bm.width() == 3); in test_gif_data()
72 REPORTER_ASSERT(r, bm.height() == 3); in test_gif_data()
73 REPORTER_ASSERT(r, !(bm.empty())); in test_gif_data()
75 REPORTER_ASSERT(r, bm.getColor(0, 0) == 0xffff0000); in test_gif_data()
76 REPORTER_ASSERT(r, bm.getColor(1, 0) == 0xffffff00); in test_gif_data()
77 REPORTER_ASSERT(r, bm.getColor(2, 0) == 0xff00ffff); in test_gif_data()
78 REPORTER_ASSERT(r, bm.getColor(0, 1) == 0xff808080); in test_gif_data()
79 REPORTER_ASSERT(r, bm.getColor(1, 1) == 0xff000000); in test_gif_data()
80 REPORTER_ASSERT(r, bm.getColor(2, 1) == 0xff00ff00); in test_gif_data()
81 REPORTER_ASSERT(r, bm.getColor(0, 2) == 0xffffffff); in test_gif_data()
82 REPORTER_ASSERT(r, bm.getColor(1, 2) == 0xffff00ff); in test_gif_data()
83 REPORTER_ASSERT(r, bm.getColor(2, 2) == 0xff0000ff); in test_gif_data()
90 REPORTER_ASSERT(r, imageDecodeSuccess); in test_gif_data_dims()
91 REPORTER_ASSERT(r, bm.width() == width); in test_gif_data_dims()
92 REPORTER_ASSERT(r, bm.height() == height); in test_gif_data_dims()
93 REPORTER_ASSERT(r, !(bm.empty())); in test_gif_data_dims()
100 REPORTER_ASSERT(r, imageDecodeSuccess); in test_interlaced_gif_data()
101 REPORTER_ASSERT(r, bm.width() == 9); in test_interlaced_gif_data()
102 REPORTER_ASSERT(r, bm.height() == 9); in test_interlaced_gif_data()
103 REPORTER_ASSERT(r, !(bm.empty())); in test_interlaced_gif_data()
105 REPORTER_ASSERT(r, bm.getColor(0, 0) == 0xffff0000); in test_interlaced_gif_data()
106 REPORTER_ASSERT(r, bm.getColor(1, 0) == 0xffffff00); in test_interlaced_gif_data()
107 REPORTER_ASSERT(r, bm.getColor(2, 0) == 0xff00ffff); in test_interlaced_gif_data()
109 REPORTER_ASSERT(r, bm.getColor(0, 2) == 0xffffffff); in test_interlaced_gif_data()
110 REPORTER_ASSERT(r, bm.getColor(1, 2) == 0xffff00ff); in test_interlaced_gif_data()
111 REPORTER_ASSERT(r, bm.getColor(2, 2) == 0xff0000ff); in test_interlaced_gif_data()
113 REPORTER_ASSERT(r, bm.getColor(0, 4) == 0xff808080); in test_interlaced_gif_data()
114 REPORTER_ASSERT(r, bm.getColor(1, 4) == 0xff000000); in test_interlaced_gif_data()
115 REPORTER_ASSERT(r, bm.getColor(2, 4) == 0xff00ff00); in test_interlaced_gif_data()
117 REPORTER_ASSERT(r, bm.getColor(0, 6) == 0xffff0000); in test_interlaced_gif_data()
118 REPORTER_ASSERT(r, bm.getColor(1, 6) == 0xffffff00); in test_interlaced_gif_data()
119 REPORTER_ASSERT(r, bm.getColor(2, 6) == 0xff00ffff); in test_interlaced_gif_data()
121 REPORTER_ASSERT(r, bm.getColor(0, 8) == 0xffffffff); in test_interlaced_gif_data()
122 REPORTER_ASSERT(r, bm.getColor(1, 8) == 0xffff00ff); in test_interlaced_gif_data()
123 REPORTER_ASSERT(r, bm.getColor(2, 8) == 0xff0000ff); in test_interlaced_gif_data()
132 REPORTER_ASSERT(r, imageDecodeSuccess); in test_gif_data_short()
133 REPORTER_ASSERT(r, bm.width() == 3); in test_gif_data_short()
134 REPORTER_ASSERT(r, bm.height() == 3); in test_gif_data_short()
135 REPORTER_ASSERT(r, !(bm.empty())); in test_gif_data_short()
137 REPORTER_ASSERT(r, bm.getColor(0, 0) == 0xffff0000); in test_gif_data_short()
138 REPORTER_ASSERT(r, bm.getColor(1, 0) == 0xffffff00); in test_gif_data_short()
139 REPORTER_ASSERT(r, bm.getColor(2, 0) == 0xff00ffff); in test_gif_data_short()
140 REPORTER_ASSERT(r, bm.getColor(0, 1) == 0xff808080); in test_gif_data_short()
141 REPORTER_ASSERT(r, bm.getColor(1, 1) == 0xff000000); in test_gif_data_short()
142 REPORTER_ASSERT(r, bm.getColor(2, 1) == 0xff00ff00); in test_gif_data_short()
199 REPORTER_ASSERT(reporter, codec); in DEF_TEST()
204 REPORTER_ASSERT(reporter, SkCodec::kSuccess == codec->startIncrementalDecode( in DEF_TEST()
206 REPORTER_ASSERT(reporter, SkCodec::kSuccess == codec->incrementalDecode()); in DEF_TEST()
207 REPORTER_ASSERT(reporter, bm.width() == 1); in DEF_TEST()
208 REPORTER_ASSERT(reporter, bm.height() == 1); in DEF_TEST()
209 REPORTER_ASSERT(reporter, !(bm.empty())); in DEF_TEST()
211 REPORTER_ASSERT(reporter, bm.getColor(0, 0) == 0x00000000); in DEF_TEST()
230 REPORTER_ASSERT(r, stream->isValid()); in DEF_TEST()
236 REPORTER_ASSERT(r, codec); in DEF_TEST()
248 REPORTER_ASSERT(r, result == SkCodec::kSuccess); in DEF_TEST()
262 REPORTER_ASSERT(r, !codec); in DEF_TEST()
283 REPORTER_ASSERT(r, codec->getFrameCount() == 0); in DEF_TEST()