Home | History | Annotate | Download | only in tests

Lines Matching refs:REPORTER_ASSERT

19     REPORTER_ASSERT(reporter, a->count() == b->count());
24 REPORTER_ASSERT(reporter, sizea == sizeb);
25 REPORTER_ASSERT(reporter, !memcmp(mema, memb, sizea));
46 REPORTER_ASSERT(reporter, table->isEmpty());
47 REPORTER_ASSERT(reporter, 0 == table->count());
74 REPORTER_ASSERT(reporter, itable->count() == icount);
77 REPORTER_ASSERT(reporter, sizeof(int) == itable->atSize(i));
78 REPORTER_ASSERT(reporter, *itable->atT<int>(i, &size) == idata[i]);
79 REPORTER_ASSERT(reporter, sizeof(int) == size);
97 REPORTER_ASSERT(reporter, table->count() == count);
100 REPORTER_ASSERT(reporter, table->atSize(i) == sizes[i]);
101 REPORTER_ASSERT(reporter, !strcmp(table->atT<const char>(i, &size),
103 REPORTER_ASSERT(reporter, size == sizes[i]);
106 REPORTER_ASSERT(reporter, strlen(s) == strlen(str[i]));
124 REPORTER_ASSERT(reporter, table->count() == count);
127 REPORTER_ASSERT(reporter, table->atSize(i) == strlen(str[i]) + 1);
128 REPORTER_ASSERT(reporter, !strcmp(table->atT<const char>(i, &size),
130 REPORTER_ASSERT(reporter, size == strlen(str[i]) + 1);
133 REPORTER_ASSERT(reporter, strlen(s) == strlen(str[i]));
147 REPORTER_ASSERT(reporter, table->count() == count);
150 REPORTER_ASSERT(reporter, table->atSize(i) == sizeof(int));
151 REPORTER_ASSERT(reporter, *table->atT<const char>(i, &size) == i);
152 REPORTER_ASSERT(reporter, sizeof(int) == size);
177 REPORTER_ASSERT(reporter, outerData);
178 REPORTER_ASSERT(reporter, outerData->equals(iter.value()));
184 REPORTER_ASSERT(reporter, ds0.count() == ds1.count());
192 REPORTER_ASSERT(reporter, ds.count() == count);
202 REPORTER_ASSERT(reporter, index == count);
239 REPORTER_ASSERT(reporter, ref->size() == len);
244 REPORTER_ASSERT(reporter, ref->size() == len);
245 REPORTER_ASSERT(reporter, !memcmp(ref->data(), data, len));
255 REPORTER_ASSERT(reporter, r0->equals(r1));
258 REPORTER_ASSERT(reporter, 1 == r2->size());
259 REPORTER_ASSERT(reporter, 0 == *r2->bytes());
284 REPORTER_ASSERT(reporter, r1.get() != NULL);
285 REPORTER_ASSERT(reporter, r1->size() == 26);
286 REPORTER_ASSERT(reporter, strncmp(static_cast<const char*>(r1->data()), s, 26) == 0);
290 REPORTER_ASSERT(reporter, r2.get() != NULL);
291 REPORTER_ASSERT(reporter, r2->size() == 26);
292 REPORTER_ASSERT(reporter, strncmp(static_cast<const char*>(r2->data()), s, 26) == 0);