Lines Matching refs:TEST_ASSERT

48     TEST_ASSERT('A', "0a", array1);
61 TEST_ASSERT('A', "1a", array1);
63 TEST_ASSERT('A', "1b", !array1->getCount());
64 TEST_ASSERT('A', "1c", 1 == array1->getCapacity());
65 TEST_ASSERT('A', "1d", 1 == array1->getCapacityIncrement());
66 TEST_ASSERT('A', "1e", 4 == array1->setCapacityIncrement(4));
67 TEST_ASSERT('A', "1f", 4 == array1->getCapacityIncrement());
68 TEST_ASSERT('A', "1g", 8 == array1->ensureCapacity(5));
74 TEST_ASSERT('A', "1h", array1->setObject(cache[0]));
75 TEST_ASSERT('A', "1i", cache[0] == array1->getObject(0));
79 TEST_ASSERT('A', "1k", 1 == array1->getCount());
81 TEST_ASSERT('A', "1l", !array1->getCount());
94 TEST_ASSERT('A', "2a", array1);
98 TEST_ASSERT('A', "2b", numStrCache == (int) array1->getCount());
99 TEST_ASSERT('A', "2c", numStrCache == (int) array1->getCapacity());
100 TEST_ASSERT('A', "2d",
109 TEST_ASSERT('A', "2f", numStrCache == i);
121 TEST_ASSERT('A', "3a", array1);
127 TEST_ASSERT('A', "3b", array2);
128 TEST_ASSERT('A', "3c", !array2->getCount());
129 TEST_ASSERT('A', "3d", array2->setObject(array1));
130 TEST_ASSERT('A', "3e", array1->getCount() == array2->getCount());
134 TEST_ASSERT('A', "3f", numStrCache == (int) array2->getCount());
143 TEST_ASSERT('A', "3h", count == numStrCache);
144 TEST_ASSERT('A', "3i", -1 == i);
145 TEST_ASSERT('A', "3j", !array2->getCount());
156 TEST_ASSERT('A', "3l", !array2);
158 TEST_ASSERT('A', "3m", array2);
163 TEST_ASSERT('A', "3o", numStrCache == (int) array2->getCount());
168 TEST_ASSERT('A', "3p", count == numStrCache);
169 TEST_ASSERT('A', "3q", !array2->getCount());
178 TEST_ASSERT('A', "4a", array1);
187 TEST_ASSERT('A', "4b", numStrCache == (int) array1->getCount());
188 TEST_ASSERT('A', "4c", count == numStrCache);
189 TEST_ASSERT('A', "4d", count2 == numStrCache);
192 TEST_ASSERT('A', "4e", array2);
203 TEST_ASSERT('A', "4f", numStrCache == (int) array2->getCount());
204 TEST_ASSERT('A', "4g", count == numStrCache);
205 TEST_ASSERT('A', "4h", count2 == numStrCache);
219 TEST_ASSERT('A', "4k", numStrCache == (int) array1->getCount());
220 TEST_ASSERT('A', "4l", count == numStrCache);
221 TEST_ASSERT('A', "4m", count2 == numStrCache);
234 TEST_ASSERT('A', "5a", array1);
241 TEST_ASSERT('A', "5b", numStrCache == (int) array1->getCount());
252 TEST_ASSERT('A', "5c", numStrCache != (int) array1->getCount());
265 TEST_ASSERT('A', "5c", count == numStrCache);
287 TEST_ASSERT('S', "0a", set1);
300 TEST_ASSERT('S', "1a", set1);
302 TEST_ASSERT('S', "1b", !set1->getCount());
303 TEST_ASSERT('S', "1c", 1 == set1->getCapacity());
304 TEST_ASSERT('S', "1d", 1 == set1->getCapacityIncrement());
305 TEST_ASSERT('S', "1e", 4 == set1->setCapacityIncrement(4));
306 TEST_ASSERT('S', "1f", 4 == set1->getCapacityIncrement());
307 TEST_ASSERT('S', "1g", 8 == set1->ensureCapacity(5));
313 TEST_ASSERT('S', "1h", set1->setObject(cache[0]));
314 TEST_ASSERT('S', "1i", set1->containsObject(cache[0]));
315 TEST_ASSERT('S', "1j", cache[0] == set1->getAnyObject());
319 TEST_ASSERT('S', "1l", 1 == set1->getCount());
321 TEST_ASSERT('S', "1m", !set1->getCount());
334 TEST_ASSERT('S', "2a", set1);
338 TEST_ASSERT('S', "2b", numStrCache == (int) set1->getCount());
339 TEST_ASSERT('S', "2c", numStrCache == (int) set1->getCapacity());
340 TEST_ASSERT('S', "2d",
347 TEST_ASSERT('S', "2e", numStrCache == count);
359 TEST_ASSERT('S', "3a", set1);
365 TEST_ASSERT('S', "3b", set2);
366 TEST_ASSERT('S', "3c", !set2->getCount());
367 TEST_ASSERT('S', "3d", set2->setObject(set1));
368 TEST_ASSERT('S', "3e", set1->getCount() == set2->getCount());
371 TEST_ASSERT('S', "3f", numStrCache == (int) set2->getCount());
378 TEST_ASSERT('S', "3g", !set2->getCount());
379 TEST_ASSERT('S', "3h", numStrCache == count);
380 TEST_ASSERT('S', "3i", numStrCache == count2);
391 TEST_ASSERT('S', "3k", !set2);
393 TEST_ASSERT('S', "3l", set2);
397 TEST_ASSERT('S', "3m", numStrCache == (int) set2->getCount());
404 TEST_ASSERT('S', "3n", !set2->getCount());
405 TEST_ASSERT('S', "3o", numStrCache == count);
406 TEST_ASSERT('S', "3p", numStrCache == count2);
417 TEST_ASSERT('S', "4a", set1);
425 TEST_ASSERT('S', "4b", numStrCache != (int) set1->getCount());
426 TEST_ASSERT('S', "4c", count == (int) set1->getCount());
435 TEST_ASSERT('S', "4d", count == numStrCache);
436 TEST_ASSERT('S', "4e", count2 == numStrCache * 2);
440 TEST_ASSERT('S', "4f", set2);
443 TEST_ASSERT('S', "4g", set1->getCount() == set2->getCount());
458 TEST_ASSERT('S', "5a", set1);
460 TEST_ASSERT('S', "5b", array->getCount() != set1->getCount());
469 TEST_ASSERT('S', "5c", !count);
470 TEST_ASSERT('S', "5d", !count2);
493 TEST_ASSERT('D', "0a", dict1);
506 TEST_ASSERT('D', "1a", dict1);
508 TEST_ASSERT('D', "1b", !dict1->getCount());
509 TEST_ASSERT('D', "1c", 1 == dict1->getCapacity());
510 TEST_ASSERT('D', "1d", 1 == dict1->getCapacityIncrement());
511 TEST_ASSERT('D', "1e", 4 == dict1->setCapacityIncrement(4));
512 TEST_ASSERT('D', "1f", 4 == dict1->getCapacityIncrement());
513 TEST_ASSERT('D', "1g", 8 == dict1->ensureCapacity(5));
519 TEST_ASSERT('D', "1h", dict1->setObject((OSObject *) sym, sym));
520 TEST_ASSERT('D', "1i", (OSObject *) sym == dict1->getObject(sym));
522 TEST_ASSERT('D', "1i", 2 == sym->getRetainCount());
525 TEST_ASSERT('D', "1k", 1 == dict1->getCount());
527 TEST_ASSERT('D', "1l", !dict1->getCount());
546 TEST_ASSERT('D', "2a", dict1);
550 TEST_ASSERT('D', "2b", count1 == numSymbols);
552 TEST_ASSERT('D', "2c", numSymbols == (int) dict1->getCount());
553 TEST_ASSERT('D', "2d", numSymbols == (int) dict1->getCapacity());
554 TEST_ASSERT('D', "2e",
571 TEST_ASSERT('D', "2g", count1 == numSymbols);
590 TEST_ASSERT('D', "3a", dict1);
596 TEST_ASSERT('D', "3b", count1 == numSymbols);
597 TEST_ASSERT('D', "3c", count2 == numSymbols);
605 TEST_ASSERT('D', "3d", count1 == numSymbols);
606 TEST_ASSERT('D', "3e", count2 == numSymbols);
615 TEST_ASSERT('D', "3f", count1 == numSymbols);
616 TEST_ASSERT('D', "3g", count2 == numSymbols);
627 TEST_ASSERT('D', "3h", count1 == numSymbols);
646 TEST_ASSERT('D', "4a", dict1);
655 TEST_ASSERT('D', "4b", numSymbols == (int) dict1->getCount());
656 TEST_ASSERT('D', "4c", numSymbols == count1);
657 TEST_ASSERT('D', "4d", numSymbols == count2);
660 TEST_ASSERT('D', "4b", !dict2);
663 TEST_ASSERT('D', "4e", dict2);
667 TEST_ASSERT('D', "4f", numSymbols == (int) dict2->getCount());
681 TEST_ASSERT('D', "4g", numSymbols == count1);
682 TEST_ASSERT('D', "4h", numSymbols == count2);
693 TEST_ASSERT('D', "4i", numSymbols == count1);
694 TEST_ASSERT('D', "4j", numSymbols == count2);
695 TEST_ASSERT('D', "4k", !dict2->getCount());
737 TEST_ASSERT('I', "1a", array);
742 TEST_ASSERT('I', "1b", count1 == numSymbols);
747 TEST_ASSERT('I', "1c", iter1);
748 TEST_ASSERT('I', "1d", iter2);
757 TEST_ASSERT('I', "1e", count1 == numSymbols);
758 TEST_ASSERT('I', "1f", count2 == numSymbols);
759 TEST_ASSERT('I', "1g", count3 == numSymbols);
760 TEST_ASSERT('I', "1h", iter1->valid());
761 TEST_ASSERT('I', "1i", iter2->valid());
767 TEST_ASSERT('I', "1j", !iter1->getNextObject());
768 TEST_ASSERT('I', "1k", !iter1->valid());
784 TEST_ASSERT('I', "1l", count1 == numSymbols);
785 TEST_ASSERT('I', "1m", i == numSymbols);
786 TEST_ASSERT('I', "1n", iter1->valid());
788 TEST_ASSERT('I', "1o", 3 == array->getRetainCount());
800 TEST_ASSERT('I', "2a", set);
805 TEST_ASSERT('I', "2b", count1 == numSymbols);
810 TEST_ASSERT('I', "2c", iter1);
811 TEST_ASSERT('I', "2d", iter2);
820 TEST_ASSERT('I', "2e", count1 == numSymbols);
821 TEST_ASSERT('I', "2f", count2 == numSymbols);
822 TEST_ASSERT('I', "2g", count3 == numSymbols);
823 TEST_ASSERT('I', "2h", iter1->valid());
824 TEST_ASSERT('I', "2i", iter2->valid());
840 TEST_ASSERT('I', "2l", count1 == numSymbols);
841 TEST_ASSERT('I', "2m", i == numSymbols);
842 TEST_ASSERT('I', "2n", iter1->valid());
849 TEST_ASSERT('I', "2j", !iter1->getNextObject());
850 TEST_ASSERT('I', "2k", !iter1->valid());
852 TEST_ASSERT('I', "2o", 3 == set->getRetainCount());
864 TEST_ASSERT('I', "3a", dict);
869 TEST_ASSERT('I', "3b", count1 == numSymbols);
874 TEST_ASSERT('I', "3c", iter1);
875 TEST_ASSERT('I', "3d", iter2);
884 TEST_ASSERT('I', "3e", count1 == numSymbols);
885 TEST_ASSERT('I', "3f", count2 == numSymbols);
886 TEST_ASSERT('I', "3g", count3 == numSymbols);
887 TEST_ASSERT('I', "3h", iter1->valid());
888 TEST_ASSERT('I', "3i", iter2->valid());
911 TEST_ASSERT('I', "3l", count1 == numSymbols);
912 TEST_ASSERT('I', "3m", count2 == numSymbols);
913 TEST_ASSERT('I', "3n", i == numSymbols);
914 TEST_ASSERT('I', "3o", iter1->valid());
920 TEST_ASSERT('I', "3j", !iter1->getNextObject());
921 TEST_ASSERT('I', "3k", !iter1->valid());
923 TEST_ASSERT('I', "3p", 3 == dict->getRetainCount());
938 TEST_ASSERT('I', "4a", count1 == numSymbols);
939 TEST_ASSERT('I', "4b", count2 == numSymbols);