Lines Matching refs:a2
55 A2 a2; in test() local
58 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
61 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
64 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
109 A2 a2; in test() local
112 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
117 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
122 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
160 A2 a2; in test() local
163 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
168 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
173 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
212 A2 a2; in test() local
215 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
219 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
224 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
263 A2 a2; in test() local
266 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
270 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
275 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
324 A2 a2; in test() local
327 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
333 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
339 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
381 A2 a2; in test() local
384 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
390 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
396 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
438 A2 a2; in test() local
441 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
446 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
452 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
494 A2 a2; in test() local
497 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
502 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
508 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
550 A2 a2; in test() local
553 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
559 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
565 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
607 A2 a2; in test() local
610 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
615 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
621 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
663 A2 a2; in test() local
666 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
671 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
677 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
719 A2 a2; in test() local
722 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
727 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
732 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
774 A2 a2; in test() local
777 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
782 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
787 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
829 A2 a2; in test() local
832 assert(dynamic_cast<A1*>(a2.getA2()) == 0); in test()
837 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
842 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
895 A2 a2; in test() local
898 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
899 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
905 assert(dynamic_cast<A2*>(a2.getA1()) == a2.getA2()); in test()
906 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
912 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
913 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
956 A2 a2; in test() local
959 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
960 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
966 assert(dynamic_cast<A2*>(a2.getA1()) == a2.getA2()); in test()
967 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
973 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
974 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1016 A2 a2; in test() local
1019 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1023 assert(dynamic_cast<A2*>(a2.getA1()) == 0); in test()
1024 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1030 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
1031 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1073 A2 a2; in test() local
1076 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1080 assert(dynamic_cast<A2*>(a2.getA1()) == 0); in test()
1081 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1087 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
1088 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1131 A2 a2; in test() local
1134 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1135 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
1141 assert(dynamic_cast<A2*>(a2.getA1()) == a2.getA2()); in test()
1142 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1148 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
1149 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1191 A2 a2; in test() local
1194 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1198 assert(dynamic_cast<A2*>(a2.getA1()) == 0); in test()
1199 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1205 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
1206 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1248 A2 a2; in test() local
1251 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1255 assert(dynamic_cast<A2*>(a2.getA1()) == 0); in test()
1256 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1262 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
1263 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1306 A2 a2; in test() local
1309 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1313 assert(dynamic_cast<A2*>(a2.getA1()) == 0); in test()
1314 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1319 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
1320 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1363 A2 a2; in test() local
1366 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1370 assert(dynamic_cast<A2*>(a2.getA1()) == 0); in test()
1371 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1376 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
1377 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1420 A2 a2; in test() local
1423 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1427 assert(dynamic_cast<A2*>(a2.getA1()) == 0); in test()
1428 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1433 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
1434 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1488 A2 a2; in test() local
1491 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1492 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
1497 assert(dynamic_cast<A2*>(a2.getA1()) == a2.getA2()); in test()
1498 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1504 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
1505 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1549 A2 a2; in test() local
1552 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1556 assert(dynamic_cast<A2*>(a2.getA1()) == 0); in test()
1557 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1563 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
1564 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1608 A2 a2; in test() local
1611 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1612 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
1616 assert(dynamic_cast<A2*>(a2.getA1()) == a2.getA2()); in test()
1617 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1623 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
1624 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1668 A2 a2; in test() local
1671 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1672 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
1676 assert(dynamic_cast<A2*>(a2.getA1()) == a2.getA2()); in test()
1677 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1682 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
1683 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1727 A2 a2; in test() local
1730 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1731 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
1736 assert(dynamic_cast<A2*>(a2.getA1()) == a2.getA2()); in test()
1737 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1742 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
1743 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1787 A2 a2; in test() local
1790 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1794 assert(dynamic_cast<A2*>(a2.getA1()) == 0); in test()
1795 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1800 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
1801 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1845 A2 a2; in test() local
1848 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1852 assert(dynamic_cast<A2*>(a2.getA1()) == 0); in test()
1853 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1858 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
1859 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1903 A2 a2; in test() local
1906 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1910 assert(dynamic_cast<A2*>(a2.getA1()) == 0); in test()
1911 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1916 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
1917 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
1971 A2 a2; in test() local
1974 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
1975 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
1981 assert(dynamic_cast<A2*>(a2.getA1()) == a2.getA2()); in test()
1982 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
1988 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
1989 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
2033 A2 a2; in test() local
2036 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2041 assert(dynamic_cast<A2*>(a2.getA1()) == 0); in test()
2042 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
2048 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
2049 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
2093 A2 a2; in test() local
2096 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2097 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
2103 assert(dynamic_cast<A2*>(a2.getA1()) == a2.getA2()); in test()
2104 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
2110 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
2111 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
2155 A2 a2; in test() local
2158 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2159 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
2165 assert(dynamic_cast<A2*>(a2.getA1()) == a2.getA2()); in test()
2166 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
2171 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
2172 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
2216 A2 a2; in test() local
2219 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2220 assert(dynamic_cast<A1*>(a2.getA2()) == a2.getA1()); in test()
2225 assert(dynamic_cast<A2*>(a2.getA1()) == a2.getA2()); in test()
2226 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
2231 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
2232 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
2276 A2 a2; in test() local
2279 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2284 assert(dynamic_cast<A2*>(a2.getA1()) == 0); in test()
2285 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
2290 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
2291 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
2335 A2 a2; in test() local
2338 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2342 assert(dynamic_cast<A2*>(a2.getA1()) == 0); in test()
2343 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
2349 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
2350 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()
2394 A2 a2; in test() local
2397 assert(dynamic_cast<A1*>(a2.getA1()) == a2.getA1()); in test()
2401 assert(dynamic_cast<A2*>(a2.getA1()) == 0); in test()
2402 assert(dynamic_cast<A2*>(a2.getA2()) == a2.getA2()); in test()
2407 assert(dynamic_cast<A3*>(a2.getA1()) == 0); in test()
2408 assert(dynamic_cast<A3*>(a2.getA2()) == 0); in test()