1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277
|
2004-06-16 Baptiste Lepilleur <gaiacrtn@free.fr>
* release 1.10.0
* install-UNIX.txt: added some notes concerning Sun CC 5.5 & AIX.
* examples/*/*.dsp: fixed project settings (rtti not enabled).
2004-03-13 Baptiste Lepilleur <gaiacrtn@free.fr>
* release 1.9.14
2004-03-13 Baptiste Lepilleur <gaiacrtn@free.fr>
* cppunit-config.in: bug #903363, missing -ldl from the output of
cppunit-config --libs. Fixed thanks Eric Blossom patch.
* examples/qt/Main.cpp:
* examples/qt/ExampleTestCase.h: fixed bug #789672: QT example should
use CPPUNIT_NS macro.
* src/cppunit/UnixDynamicLibraryManager.cpp: applied patch #816563
from Gareth Sylvester. Adding RTLD_GLOBAL allows test plug-ins
to provide symbols to shared objects they load themselves.
* examples/cppunittest/TestAssertTest.h:
* examples/cppunittest/TestAssertTest.cpp:
* examples/cppunittest/XmlUniformiserTest.h:
* examples/cppunittest/XmlUniformiserTest.cpp:
* include/cppunit/TestAssert.h: add the exception assertion macros
from cppunit 2: CPPUNIT_ASSERT_THROW, CPPUNIT_ASSERT_NO_THROW,
CPPUNIT_ASSERT_ASSERTION_FAIL, CPPUNIT_ASSERT_ASSERTION_PASS.
Updated unit test to use and test the new macros.
* include/cppunit/extensions/HelperMacros.h: deprecated the
test case factory that check for exception (CPPUNIT_TEST_FAIL &
CPPUNIT_TEST_EXCEPTION).
2004-02-20 Baptiste Lepilleur <gaiacrtn@free.fr>
* release 1.9.12
2004-02-18 Baptiste Lepilleur <gaiacrtn@free.fr>
* configure.in:
* makefile.am:
* config/ax_cxx_gcc_abi_demangle.m4:
* src/cppunit/TypeInfoHelper.cpp: added patch from
Neil Ferguson <nferguso@eso.org> to use gcc c++ abi to demangle typeinfo
name when available.
2003-05-15 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/plugin/testplugin.h: fixed bug #767358, wrong
preprocessor symbol for SHL_LOADER.
2003-05-15 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/config/config-msvc6.h: changed the compiler outputter
default format (CPPUNIT_COMPILER_LOCATION_FORMAT) for Visual Studio 7.0.
Assertion now appears in the task list.
2003-05-07 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/extensions/Makefile.am: removed TestSuiteBuilder.h
* Makefile.am
* configure.in
* config/ac_dll.m4
* examples/cppunittest/Makefile.am
* examples/hierarchy/Makefile.am
* examples/money/Makefile.am
* examples/simple/Makefile.am
* include/cppunit/config/SelectDllLoader.h
* include/cppunit/plugin/TestPlugIn.h
* include/cppunit/tools/Algorithm.h
* src/DllPlugInTester/Makefile.am
* src/cppunit/Makefile.am
* src/cppunit/TestDecorator.cpp
* src/cppunit/ShlDynamicLibraryManager.cpp
* src/cppunit/UnixDynamicLibraryManager.cpp
* src/cppunit/Win32DynamicLibraryManager.cpp: applied patch from
Abdessattar Sassi <abdesassi@users.sourceforge.net> to add support
for plug-in to hp-ux (patch #721546).
* INSTALL-unix: added build instruction for HP-UX.
2003-04-06 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/extensions/TestSuiteBuilder.h: removed (unused)
2003-03-31 Baptiste Lepilleur <gaiacrtn@free.fr>
* src/cppunit/DynamicLibraryManager.cpp: fixed compilation issue on Mingw
(bug #711583)
2003-03-20 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/extensions/TestNamer.h:
* src/cppunit/TestNamer.cpp: Fixed bug #704684, TestNamer has non-virtual
destructor.
2003-03-15 Baptiste Lepilleur <gaiacrtn@free.fr>
* src/msvc6/testrunner/DynamicWindow/cdxCDynamicWndEx.cpp:
* examples/msvc6/CppUnitTestApp/CppUnitTestApp.cpp:
* examples/msvc6/HostApp/HostApp.cpp:
* src/msvc6/testpluginrunner/TestPlugInRunnerApp.cpp: fixed compatibility
issues with vc7 MFC.
* include/cppunit/tools/Algorithm.h:
* examples/cppunittest/XmlOutputterTest.cpp:
* examples/cppunittest/XmlUniformiser.*:
* src/cppunit/CompilerOutputter.cpp:
* src/cppunit/ProtectorChain.cpp:
* src/cppunit/StringTools.cpp:
* src/cppunit/TestPath.cpp:
* src/cppunit/TypeInfoHelper.cpp:
* src/cppunit/XmlElement.cpp:
* src/cppunit/XmlOutputter.cpp:
* src/DllPlugInTester/CommandLineParser.h:
* src/msvc6/testrunner/TestRunnerDlg.cpp: switched to using unsigned index in loop to
avoid signed/unsigned warning in vc7.
* include/cppunit/extension/ExceptionTestCaseDecorator.h: removed dll export
on template (caused link error on vc7).
2003-03-11 Baptiste Lepilleur <gaiacrtn@free.fr>
* config/bb_enable_doxygen.m4:
* doc/Makefile.am: applied Luke Dunstan's fix for bug #700730 (spaces not
allowed in doxygen path)
* src/cppunit/XmlElement.cpp:
* src/examples/cppunittest/XmlUniformser.cpp: fixed bug #676505 (no space
between attributes of XmlElement).
* include/cppunit/tools/Algorithm.h:
* src/cppunit/TestResult.cpp:
* src/msvc6/testrunner/TestRunnerModel.cpp: added removeFromSequence
algorithm in Algorithm.h to fix STLPort compatibility issue
(std::remove use the one of cstdio instead of algorithm). Bug #694971.
* src/examples/cppunittest/TrackedTestCase.cpp:
* src/examples/cppunittest/CppUnitTestMain.cpp:
* src/examples/money/Money.h: partially applied patch #699794. Fixed
compilation issues with Borland C++ 6.
2003-01-23 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/extensions/TestNamer.h: fixed bug #662666 (missing include
for typeinfo).
2002-12-12 Baptiste Lepilleur <gaiacrtn@free.fr>
* src/cppunit/TestResult.cpp: TestFailure are no longer passed as temporary,
but explicitely instantiated on the stack. Work around AIX compiler bug.
2002-12-03 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/TextTestResult.h: added missing dll export for
operator << (bug #610119).
2002-12-02 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/plugin/DynamicLibraryManagerException.h: added constructor
to fix compilation issues on recents version of gcc and sun CC (bug #619059)
* include/cppunit/input/XmlInputHelper.h: added.
* src/cppunit/XmlOuputter.cpp: use iterator instead of const_iterator.
* src/src/msvc6/testrunner/DynamicWindow/cdxCDynamicWnd.cpp: added call to
IsUp() in cdxCDynamicWnd::DoOnGetMinMaxInfo() before calling
GetBorderSize() which caused an assertion. Bug #643612.
2002-09-10 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/extensions/TestSuiteBuilderContext.h:
* src/cppunit/TestSuiteBuilderContext.cpp: added addProperty() and
getStringProperty(). Added macros CPPUNIT_TEST_SUITE_PROPERTY.
* src/msvc6/testrunner/TestRunnerDlg.cpp: integrated Tim Threlkeld's
bug fix #610162: browse button was disabled if history was empty.
* src/msvc6/testrunner/DynamicWindow/cdxCSizeIconCtrl.cpp: integrated
Tim Threlkeld's bug fix #610191: common control were not initialized.
* include/cppunit/extensions/ExceptionTestCaseDecorator.h: bug #603172,
missing Message construction.
* src/cppunit/DefaultProtector.cpp: bug #603172. Fixed missing ';'.
* src/cppunit/TestCase.cpp: bug #603671. Removed unguarded typeinfo
include.
* examples/cppunittests/*Suite.h: bug #603666. Added missing Portability.h
include.
2002-09-01 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/ui/text/TextTestRunner.h: fixed header guards.
2002-08-29 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/TestResult.h:
* src/cppunit/TestResult.cpp: fixed shouldStop() bug.
2002-08-29 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/CompilerOutputter.h:
* include/cppunit/Exception.h:
* include/cppunit/Protector.h:
* include/cppunit/TestListener.h:
* include/cppunit/TestPath.h:
* include/cppunit/TestResult.h:
* include/cppunit/TestRunner.h:
* include/cppunit/XmlOutputter.h:
* include/cppunit/plugin/DynamicLibraryManager.h:
* include/cppunit/plugin/PlugInManager.h:
* include/cppunit/plugin/PlugInParameters.h:
* include/cppunit/TestPlugIn.h:
* src/cppunit/DefaultProtector.h:
* src/cppunit/ProtectorChain.h:
* src/cppunit/ProtectorContext.h:
* src/cppunit/TestCase.cpp:
* src/cppunit/TestResult.cpp: fixed a dew documentation bugs.
* include/cppunit/TestResult.h:
* src/cppunit/TestResult.cpp: moved documentation to header.
2002-08-29 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/Asserter.h:
* include/cppunit/Message.h:
* include/cppunit/extensions/TestNamer.h:
* include/cppunit/extensions/TestSuiteBuilder.h:
* include/cppunit/tools/XmlDocument.h:
* include/cppunit/tools/XmlElement.h: Fixed a few documentation bugs.
2002-08-28 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/Portability.h: added CPPUNIT_STATIC_CAST.
* include/cppunit/extensions/TestFixtureFactory.h: extracted from
HelperMacros.h. Added template class ConcretTestFixtureFactory.
* include/cppunit/extensions/TestSuiteBuilderContext.h:
* src/cppunit/TestSuiteBuilderContext.cpp: added. Context used
to add test case to the fixture suite. Prevent future
compatibility break for custom test API.
* include/cppunit/extensions/HelperMacros.h: mostly rewritten. No
longer use TestSuiteBuilder. Added support for abstract test fixture
through macro CPPUNIT_TEST_SUITE_END_ABSTRACT. Made custom test API
easier to use.
* examples/cppunittest/HelperMacrosTest.h:
* examples/cppunittest/HelperMacrosTest.cpp: updated against
HelperMacros.h changes.
2002-08-27 Baptiste Lepilleur <gaiacrtn@free.fr>
* CodingGuideLines.txt: updated for OS/390 C++ limitation.
* examples/cppunittests/MockFunctor.h: added. Mock Functor to help
testing.
* examples/cppunittests/MockProtector.h: qdded. Mock Protector to help
testing.
* examples/cppunittests/TestResultTest.h
* examples/cppunittests/TestResultTest.cpp: added tests for
pushProtector(), popProtector() and protect().
* include/cppunit/TestAssert.h: removed default message value from
assertEquals(). Caused compilation error on OS/390.
* include/cppunit/plugin/PlugInParameters.h:
* src/cppunit/PlugInParameters.cpp: renamed commandLine() to
getCommandLine().
* src/msvc6/testrunner/TestRunnerDlg.h:
* src/msvc6/testrunner/TestRunnerDlg.cpp: bug fix, disabled Browse
button while running tests.
2002-08-22 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* cppunit.m4: Doc fix: MINIMUM-VERSION is not optional when using
this macro.
2002-08-04 Baptiste Lepilleur <gaiacrtn@free.fr>
* src/cppunit/XmlDocument.cpp: fixed compatility bug with C++ builder.
* include/cppunit/plugin/Parameters.h: renamed PlugInParameters.h.
* src/cppunit/PlugInParameter.cpp: added. Implementation of class
PlugInParameters.
* examples/DumperPlugIn/DumperPlugIn.cpp:
* examples/ClockerPlugIn/ClockerPlugIn.cpp:
* src/DllPlugInTester/CommandLineParser.h:
* src/DllPlugInTester/CommandLineParser.cpp:
* include/cppunit/plugin/TestPlugInDefaultImpl.h:
* src/cppunit/TestPlugInDefaultImpl.cpp:
* include/cppunit/plugin/PlugInManager.h:
* src/cppunit/PlugInManager.cpp: updated against PlugInParameter
change.
2002-08-03 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/XmlOutputterHook.h: integrated Stephan Stapel
documentation update.
2002-08-03 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/Exception.h:
* src/cppunit/Exception.h: added setMessage().
* include/cppunit/Protector.h:
* src/cppunit/Protector.cpp: added class ProtectorGuard. Change the
reportXXX() method to support Exception passing and SourceLine.
* include/cppunit/TestCaller.h: removed 'expect exception' features.
It is now handled by ExceptionTestCaseDecorator and TestCaller no
longer need default template argument support.
* include/cppunit/TestCase.h:
* include/cppunit/extensions/TestCaller.h: runTest() is now public
instead of protected, so that it can be decorated.
* include/cppunit/TestResult.h:
* src/cppunit/TestResult.h: added pushProtector() and popProtector()
methods. This allow user to specify their own exception trap when
running test case.
* include/cppunit/extensions/TestDecorator.h:
* src/cppunit/TestDecorator.cpp: added. Extracted from TestDecorator.h.
The test passed to the constructor is now owned by the decorator.
* include/cppunit/extensions/TestCaseDecorator.h:
* src/cppunit/TestCaseDecorator.cpp: added. Decorator for TestCase
setUp(), tearDown() and runTest().
* include/cppunit/extensions/ExceptionTestCaseDecorator.h: added.
TestCaseDecorator to expect that a specific exception is thrown.
* include/cppunit/extensions/HelperMacros.h: updated against TestCaller
change.
* src/cppunit/DefaultFunctor.h: fixed bug (did not return underlying
test return code).
* src/cppunit/ProtectorChain.cpp: fixed bug in chaing return code.
* src/cppunit/DefaultFunctor.h: fixed bug.
* src/msvc6/testrunner/ActiveTest.h:
* src/msvc6/testrunner/ActiveTest.cpp: updated against
TestCaseDecorator ownership policy change. Moved inline functions
to .cpp.
* examples/cppunittest/TestSetUpTest.cpp: updated to use MockTestCase
and against the new ownership policy.
* examples/cppunittest/TestDecoratorTest.cpp:
* examples/cppunittest/RepeatedTestTest.cpp: updated against
TestDecorator ownership policy change.
* examples/cppunittest/ExceptionTestCaseDecoratorTest.h:
* examples/cppunittest/ExceptionTestCaseDecoratorTest.cpp: added. Unit
tests for ExceptionTestCaseDecoratorTest.
2002-07-16 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/Protector.h:
* src/cppunit/Protector.cpp: added. Base class for protectors.
* src/cppunit/DefaultProtector.h:
* src/cppunit/DefaultProtector.cpp: added. Implementation of the default
protector used to catch std::exception and any other exception.
* src/cppunit/ProtectorChain.h:
* src/cppunit/ProtectorChain.cpp: added. Implementation of a chain of
protector, allowing catching custom exception and implementation of
expected exception.
* src/cppunit/TestCase.cpp:
* src/cppunit/TestResult.cpp: updated to use protector.
2002-07-14 Baptiste Lepilleur <gaiacrtn@free.fr>
* CodingGuideLines.txt: added. CppUnit's coding guidelines for portability.
* include/cppunit/portability/CppUnitStack.h: added. wrapper for std::stack.
* include/cppunit/portability/CppUnitSet.h: added. wrapper for std::set.
* include/cppunit/ui/text/TestRunner.h: fixed namespace definition for
deprecated TestRunner.
* include/cppunit/TestAssert.h:
* src/cppunit/TestAssert.cpp: removed old deprecated functions that did
not use SourceLine. Moved assertEquals() and assertDoubleEquals() into
CppUnit namespace.
* src/cppunit/TestFactoryRegistry.cpp: use CppUnitMap instead of std::map.
* src/DllPlugInTester/CommandLineParser.h: use CppUnitDeque instead
std::deque.
* examples/cppunittest/*.h:
* examples/cppunittest/*.cpp: removed all usage of CppUnitTest namespace.
Everything is now in global space.
* examples/*/*.h:
* examples/*/*.cpp: replaced usage of CppUnit:: with CPPUNIT_NS::.
* examples/ClockerPlugIn/ClockerModel.h: use CppUnit STL wrapper instead
of STL container.
2002-07-13 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/ui/text/TestRunner.h:
* src/cppunit/TextTestRunner.cpp: Renamed TextUi::TestRunner
TextTestRunner and moved it to the CppUnit namespace. Added
a deprecated typedef for compatibility with previous version.
* include/cppunit/ui/text/TextTestRunner.h: added.
* include/cppunit/ui/mfc/TestRunner.h:
* src/cppunit/msvc6/testrunner/TestRunner.cpp: Renamed MfcUi::TestRunner
MfcTestRunner. Added deprecated typedef for compatibility. Renamed
TestRunner.cpp to MfcTestRunner.cpp.
* include/cppunit/ui/mfc/MfcTestRunner.h: added.
* include/cppunit/ui/qt/TestRunner.h:
* src/qttestrunner/TestRunner.cpp: renamed QtUi::TestRunner QtTestRunner
and moved it to CppUnit namespace. Added a deprecated typedef for
compatibility. Renamed TestRunner.cpp to QtTestRunner.cpp.
* include/cppunit/ui/qt/TestRunner.h:
* src/qttestrunner/TestRunner.h: Moved TestRunner to CppUnit namespace
and renamed it QtTestRunner. Added deprecated typedef for compatibility.
* include/cppunit/Asserter.h:
* src/cppunit/Asserter.cpp: changed namespace Asserter to a struct and
made all methods static.
* include/cppunit/extensions/HelperMacros.h:
* include/cppunit/extensions/SourceLine.h:
* include/cppunit/extensions/TestAssert.h:
* include/cppunit/extensions/TestPlugIn.h:
* include/cppunit/Portability.h: changed CPPUNIT_NS(symbol) to a
symbol macro that expand either to CppUnit or nothing. The symbol is
no longer a parameter.
* include/cppunit/portability/CppUnitVector.h:
* include/cppunit/portability/CppUnitDeque.h:
* include/cppunit/portability/CppUnitMap.h: added. STL Wrapper for
compilers that do not support template default argumenent and need
the allocator to be passed when instantiating STL container.
* examples/cppunittest/*.h:
* examples/cppunittest/*.cpp:
* src/msvc6/testrunner/*.h:
* src/msvc6/testrunner/*.cpp:
* src/msvc6/testpluginrunner/*.h:
* src/msvc6/testpluginrunner/*.cpp:
* src/qttestrunner/*.h:
* src/qttestrunner/*.cpp: replaced occurence of CppUnit:: by CPPUNIT_NS.
* src/cppunit/TestSuite.h:
replaced occurence of std::vector by CppUnitVector.
2002-07-12 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/config/Portability.h: If the compiler does not support
namespace (CPPUNIT_HAVE_NAMESPACES=0), define CPPUNIT_NO_STD_NAMESPACE
and CPPUNIT_NO_NAMESPACE. If CPPUNIT_NO_STD_NAMESPACE is defined, then
CppUnit assumes that STL are in the global namespace. If
CPPUNIT_NO_NAMESPACE is defined, then CppUnit classes are placed in the
global namespace instead of the CppUnit namespace.
* include/cppunit/config/config-bcb5.h:
* include/cppunit/config/config-msvc6.h: added definition of macro
CPPUNIT_HAVE_NAMESPACES.
* include/cppunit/tools/StringTools.h: use CPPUNIT_WRAP_COLUMN as default
parameter value for wrap().
* include/cppunit/*/*.h:
* src/cppunit/*.cpp: changed all CppUnit namespace declaration to use
macros CPPUNIT_NS_BEGIN and CPPUNIT_NS_END. Also, changed reference
to CppUnit namespace (essentially in macros) using CPPUNIT_NS macro.
* doc/doxyfile.in:
* doc/CppUnit-Win.dox: updated doxygen configuration files so that
CPPUNIT_NS_BEGIN and CPPUNIT_NS_END macros are expanded. This help
generates the documentation using the CppUnit namespace.
2002-07-11 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/Portability.h: added macro CPPUNIT_CONST_CAST.
* src/cppunit/Exception.cpp:
* src/cppunit/Test.cpp:
* examples/cppunittest/MockTestCase.cpp: replaced usage of const_cast with
CPPUNIT_CONST_CAST.
* include/cppunit/Test.h:
* src/cppunit/Test.cpp: made findTestPath(), findTest() and resolvePath()
const methods.
2002-07-10 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/extensions/AutoRegisterSuite.h:
* include/cppunit/extensions/Orthodox.h:
* include/cppunit/extensions/TestSuiteBuilder.h:
* include/cppunit/extensions/TestSuiteFactory.h:
* include/cppunit/TestCaller.h:
* examples/hierarchy/BoardGameTest.h:
* examples/hierarchy/ChessTest.h: replaced usage of 'typename' in template
declaration with 'class'.
* include/cppunit/ui/text/TestRunner.h:
* src/cppunit/TextTestRunner.cpp: updated to use the generic TestRunner.
Removed methods runTestByName() and runTest(). Inherits
CppUnit::TestRunner.
* include/cppunit/extensions/TestSuiteBuilder.h: removed templatized method
addTestCallerForException(). It is no longer used since release 1.9.8.
* examples/cppunittest/MockTestCase.h
* examples/cppunittest/MockTestCase.cpp: removed the usage of 'mutable'
keyword.
2002-07-04 Baptiste Lepilleur <gaiacrtn@free.fr>
* src/msvc6/DSPlugIn/DSPlugIn.dsp: updated so that only the release
configuration get copied to the lib/ directory.
2002-07-03 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/XmlOutputter.h: fixed XmlOutputter constructed default
value initializatino which caused compilation error with BC5.
* src/cppunit/PlugInManager.cpp: added missing CPPUNIT_NO_TESTPLUGIN guard.
* src/msvc6/testrunner/TestRunner.dsp:
* src/msvc6/testrunner/TestRunner.rc:
* src/msvc6/testrunner/TestRunnerDlg.cpp:
* src/msvc6/testrunner/TestRunnerDlg.h:
* src/msvc6/testrunner/TreeHierarchyDlg.cpp:
* src/msvc6/testrunner/TreeHierarchyDlg.h:
* src/msvc6/testpluginrunner/TestPlugInRunner.dsp:
* src/msvc6/testpluginrunner/TestPlugInRunner.rc:
* src/msvc6/testpluginrunner/TestPlugInRunnerApp.cpp:
* src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp:
* src/msvc6/testpluginrunner/TestPlugInRunnerDlg.h: applied Steven Mitter
patch to fix bug #530426 (conflict between TestRunner and host
application's resources). Adapted patch to compile work with Unicode.
* src/msvc6/testrunner/ResourceLoaders.h:
* src/msvc6/testrunner/ResourceLoaders.cpp:
* src/msvc6/testrunner/Change-Diary-ResourceBugFix.txt: added, from
Steven Mitter's patch. Simplified loadCString() to compile with Unicode.
* src/cppunit/cppunit.dsp:
* src/cppunit/cppunit_dll.dsp:
* src/DllPlugInTester/DllPlugInTester.dsp:
* src/msvc6/testrunner/TestRunner.dsp:
* src/msvc6/testpluginrunner/TestPlugInRunner.dsp: all lib, dll and exe are
now created in the intermediate directory. A post-build rule is used to
copy them to the lib/ directory.
2002-06-17 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/AdditionalMessage.h:
* src/cppunit/AdditionalMessage.cpp: added. Class to help passing
additional message parameter.
* include/cppunit/Asserter.h: added makeExpected(), makeActual() and
makeNotEqualMessage(). Removed methods made unnecessary by the
use of AdditionalMessage.
* include/cppunit/Portability.h: added CPPUNIT_WRAP_COLUMN to define
CppUnit default wrap column.
* src/cppunit/CompilerOutputter.cpp: use CPPUNIT_WRAP_COLUMN instead
of hard-coded value.
2002-06-16 Baptiste Lepilleur <gaiacrtn@free.fr>
* bumped version to 1.9.9
* release 1.9.8
* include/cppunit/plugin/TestPlugIn.h: updated documentation.
* include/cppunit/tools/XmlDocument.h: updated documentation.
* include/cppunit/tools/StringTools.h:
* src/cppunit/StringTools.cpp: added split() and wrap() functions.
* include/cppunit/CompilerOutputter.h:
* src/cppunit/CompilerOutputter.cpp: extracted wrap() and
splitMessageIntoLines() to StringTools.
* include/cppunit/XmlOutputterHook.h:
* src/cppunit/XmlOutputterHook.cpp: removed rooNode parameter from
beginDocument() and endDocument(). It can be retreive from document.
Renamed 'node' occurences to 'element'.
* include/cppunit/XmlOutputter.h:
* src/cppunit/XmlOutputter.cpp: updated against
XmlOutputterHook changes. Renamed 'node' occurences to 'element'.
* src/cppunit/Message.cpp:
* src/cppunit/XmlElement.cpp: added missing include <stdexcept>
* examples/ClockerPlugIn/ClockerXmlHook.h:
* examples/ClockerPlugIn/ClockerXmlHook.cpp: updated against
XmlOutputterHook changes.
* examples/cppunittest/MessageTest.cpp: removed std::string() from
assertion. Somehow gcc can't parse it. Added missing include <stdexcept>.
* examples/cppunittest/XmlElement.cpp: added missing include <stdexcept>.
* examples/cppunittest/XmlElementTest.h:
* examples/cppunittest/XmlElementTest.cpp: Renamed 'node' occurences
to 'element'.
* examples/cppunittest/XmlOutputterTest.cpp: updated against
XmlOutputterHook changes.
* examples/cppunittest/StringToolsTest.h:
* examples/cppunittest/StringToolsTest.cpp: added. Unit tests for
StringTools. Turn out that VC++ dismiss empty lines in tools output,
which is the reason why empty lines where not printed in
CompilerOutputter.
2002-06-14 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/plugin/PlugInManager.h:
* src/cppunit/PlugInManager.cpp: added two methods to use the plug-in
interface for Xml Outputter hooks.
* include/cppunit/plugin/TestPlugIn.h: added two methods to the plug-in
interface for Xml Outputter hooks.
* include/cppunit/plugin/TestPlugInAdapter.h:
* src/cppunit/plugin/TestPlugInAdapter.cpp: renamed TestPlugInDefaultImpl.
Added empty implementation for Xml outputter hook methods.
* include/cppunit/tools/StringTools.h:
* src/cppunit/tools/StringTools.cpp: added. Functions to manipulate string
(conversion, wrapping...)
* include/cppunit/tools/XmlElement.h:
* src/cppunit/XmlElement.cpp: renamed addNode() to addElement(). Added
methods to walk and modify XmlElement (for hook). Added documentation.
Use StringTools.
* include/cppunit/XmlOutputter.h:
* src/cppunit/XmlOutputter.cpp: added hook calls & management.
* include/cppunit/XmlOutputterHook.h:
* src/cppunit/XmlOutputterHook.cpp: added. Hook to customize XML output.
* src/DllPlugInTester/DllPlugInTester.cpp: call plug-in XmlOutputterHook
when writing XML output. Modified so that memory is freed before
unloading the test plug-in (caused crash when freeing the XmlDocument).
* examples/ReadMe.txt:
* examples/ClockerPlugIn/ReadMe.txt: added details about the plug-in
(usage, xml content...)
* examples/ClockerPlugIn/ClockerModel.h:
* examples/ClockerPlugIn/ClockerModel.cpp: extracted from ClockerListener.
Represents the test hierarchy and tracked time for each test.
* examples/ClockerPlugIn/ClockerListener.h:
* examples/ClockerPlugIn/ClockerListener.cpp: extracted test hierarchy
tracking to ClockerModel. Replaced the 'flat' view option with a 'text'
option to print the timed test tree to stdout.
* examples/ClockerPlugIn/ClockerPlugIn.cpp: updated to hook the XML
output and use the new classes.
* examples/ClockerPlugIn/ClockerXmlHook.h:
* examples/ClockerPlugIn/ClockerXmlHook.cpp: added. XmlOutputterHook to
includes the timed test hierarchy and test timing in the XML output.
* examples/cppunittest/XmlElementTest.h:
* examples/cppunittest/XmlElementTest.cpp: added new test cases.
* examples/cppunittest/XmlOutputterTest.h:
* examples/cppunittest/XmlOutputterTest.cpp: added tests for
XmlOutputterHook.
2002-06-14 Baptiste Lepilleur <gaiacrtn@free.fr>
* src/cppunit/TypeInfoHelper.cpp: added work around for bug #565481.
gcc 3.0 RTTI name() returns the type prefixed with a number (the
length of the type). The work around strip the number.
* src/msvc6/testpluginrunner/TestPlugInRunnerApp.cpp: registry key is now
set. Allow to save settings.
* src/msvc6/testpluginrunner/TestPlugInRunnerDlg.h:
* src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp: added layout
initialization for resizing.
* src/msvc6/testpluginrunner/TestPlugRunner.rc:
* src/msvc6/testpluginrunner/TestPlugInRunner.dsp: added TestRunner
project files. Somehow I can't get cdxCDynamicDialog to compile
as a MFC extension. Included all sources files and resources
as a very dirt work around.
* src/msvc6/testrunner/TestRunnerDlg.h:
* src/msvc6/testrunner/TestRunnerDlg.cpp:
* src/msvc6/testrunner/TestRunnerModel.h: those classes are no longer
exported in the MFC extension. See TestPlugInRunner issue with
cdxCDynamicDialog.
* include/cppunit/Message.h:
* include/cppunit/TestPath.h:
* include/cppunit/TestResult.h:
* include/cppunit/TestResultCollector.h:
* include/cppunit/TestSuite.h:
* include/cppunit/TestFactoryRegistry.h:
* include/cppunit/XmlElement.h:
* include/cppunit/TypeInfoHelper.h: commented out STL template export
in DLL. This caused conflicts when instantiting the same template in
a user project.
2002-06-14 Baptiste Lepilleur <gaiacrtn@free.fr>
* src/cppunit/CompilerOutputter.cpp: fixed bug #549762 (line wrap).
* src/msvc6/testrunner/DynamicWindow/*: added. Dynamic Window library
from Hans Bhler (hans.buehler@topmail.de) to resize window.
* src/msvc6/testrunner/TestRunnerModel.h:
* src/msvc6/testrunner/TestRunnerModel.cpp: removed dialog bounds from
settings. Added public registry keys for cppunit, main dialog, and
browse dialog.
* src/msvc6/testrunner/TreeHierarchyDlg.h:
* src/msvc6/testrunner/TreeHierarchyDlg.cpp: dialog is now resizable.
Window placement is stored and restored.
* src/msvc6/testrunner/TestRunnerDlg.h:
* src/msvc6/testrunner/TestRunnerDlg.cpp: replaced dialog resizing code
by usage of Hans Bhler's Dynamic Window library. Dialog placement
is stored/restored by that library. ProgressBar is now a child window.
Added edit field to see the details of the failure. List on show
the short description of the failure.
* src/msvc6/testrunner/ProgressBar.h:
* src/msvc6/testrunner/ProgressBar.cpp: is now a CWnd.
* src/msvc6/testrunner/TestRunner.rc: named all static fill ID for resizing.
Added an invisble static field for progress bar placement.
2002-06-13 Baptiste Lepilleur <gaiacrtn@free.fr>
* doc/other_documentation.dox: fixed some typos.
* include/cppunit/NotEqualException.h:
* src/cppunit/NotEqualException.cpp: removed.
* include/cppunit/Exception.h:
* src/cppunit/Exception.cpp: removed 'type' related stuffs.
* include/cppunit/TextTestResult.h:
* src/cppunit/TextTestResult.cpp: delegate printing to TextOutputter.
* examples/simple/ExampleTestCase.h:
* examples/simple/ExampleTestCase.cpp: reindented.
* src/qttestrunner/build:
* src/qttestrunner/qttestrunner.pro:
* src/qttestrunner/TestBrowserDlgImpl.h:
* src/qttestrunner/TestRunnerModel.h: applied Thomas Neidhart's patch,
'Some minor fixes to compile QTTestrunner under Linux.'.
2002-06-13 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/Asserter.h:
* src/cppunit/Asserter.cpp: added functions that take a Message as a
parameter. Existing function have a short description indicating
an assertion failure.
* include/cppunit/CompilerOuputter.h:
* src/cppunit/CompilerOuputter.cpp: removed printNotEqualMessage() and
printDefaultMessage(). Updated to use Message.
* include/cppunit/Message.h:
* src/cppunit/Message.cpp: added. Represents a message associated to an
Exception.
* include/cppunit/Exception.h:
* src/cppunit/Exception.cpp: the message associated to the exception is now
stored as a Message instead of a string.
* include/cppunit/NotEqualException.cpp: constructs a Message instead of a
string.
* include/cppunit/TestAssert.h:
* src/cppunit/TestAssert.cpp: updated to use Asserter functions that
take a message when pertinent (CPPUNIT_FAIL...).
* include/cppunit/TestCaller.h:
* src/cppunit/TestCaller.cpp: exception not caught failure has a better
short description.
* src/cppunit/TestCase.cpp: better short description when setUp() or
tearDown() fail.
* src/msvc6/testrunner/TestRunnerDlg.cpp: replace '/n' in failure message
with space.
* examples/cppunittest/ExceptionTest.cpp:
* examples/cppunittest/NotEqualExceptionTest.cpp:
* examples/cppunittest/TestCallerTest.cpp:
* examples/cppunittest/TestFailureTest.cpp:
* examples/cppunittest/TestResultCollectorTest.h:
* examples/cppunittest/TestResultCollectorTest.cpp:
* examples/cppunittest/TestResultTest.cpp:
* examples/cppunittest/XmlOutputterTest.h:
* examples/cppunittest/XmlOutputterTest.cpp: updated to use Exception/Message.
* examples/cppunittest/MessageTest.h:
* examples/cppunittest/MessageTest.cpp: added. Unit test for Message.
2002-06-11 Baptiste Lepilleur <gaiacrtn@free.fr>
* install-unix: added some hints extracted from bug #544684 on how to compile
for Solaris/Forte C++ compiler.
* TODO: cleaned-up and added new things.
* include/cppunit/extensions/HelperMacros.h: CPPUNIT_TEST_SUITE now declares
a class named ThisTestFixtureFactory which is a wrapper for the fixture
factory. This removes the need to cast the fixture to the correct type when
using the factory. Updated other macros implementation to use this new
factory. Modified CPPUNIT_TEST_CUSTOM(S) macros to use this new factory
class. Added macro CPPUNIT_TEST_ADD to help create new macros like
CPPUNIT_TEST_xxx.
* examples/cppunittest/HelperMacrosTest.h:
* examples/cppunittest/HelperMacrosTest.cpp: added unit tests for
CPPUNIT_TEST_CUSTOM, CPPUNIT_TEST_CUSTOMS and CPPUNIT_TEST_ADD.
2002-06-01 Baptiste Lepilleur <gaiacrtn@free.fr>
* doc/cookbook.dox: fixed bug.
* install-unix: added compilation instruction for Solaris/Sun 6.0
2002-05-25 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/extensions/TestSuiteBuilder.h: updated to use TestNamer. Removed
template method addTestCallerForException() which should solve the compilation
issue with Sun 5.0/6.0 compiler.
* include/cppunit/extensions/HelperMacros.h: updated against TestSuiteBuilder
change. Added CPPUNIT_TEST_CUSTOM and CPPUNIT_TEST_CUSTOMS to add custom
tests to the fixture suite.
* include/cppunit/extensions/TestNamer.h:
* src/cppunit/TestNamer.cpp: added, TestNamer to name test case and fixture.
2002-05-23 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/XmlOutputter.h:
* src/cppunit/XmlOutputter.cpp: extracted class XmlOutputter::Node to
XmlElement. Extracted xml 'prolog' generation to XmlDocument.
* include/cppunit/tools/XmlElement.h:
* src/cppunit/tools/XmlElement.cpp: added, extracted from XmlOutputter::Node.
* include/cppunit/tools/XmlDocument.h:
* src/cppunit/tools/XmlDocument.cpp: added, extracted from XmlOutputter. Handle
XML document prolog (encoding & style-sheet) and manage the root element.
* src/DllPlugInTester/DllPlugInTester.cpp: bug fix, flag --xsl was ignored.
* examples/cppunittest/XmlOutputterTest.h:
* examples/cppunittest/XmlOutputterTest.cpp: updated for XmlOuputter changes.
extracted tests for XmlOutputter::Node to XmlElementTest
* examples/cppunittest/XmlElementTest.h:
* examples/cppunittest/XmlElementTest.cpp: added, tests extracted from
XmlOutputterTest.
2002-05-21 Baptiste Lepilleur <gaiacrtn@free.fr>
* src/msvc6/testrunner/MsDevCallerListCtrl.h:
* src/msvc6/testrunner/MsDevCallerListCtrl.cpp:
* src/msvc6/testrunner/Resource.h:
* src/msvc6/testrunner/TestRunner.rc:
* src/msvc6/testrunner/TestRunnerDlg.cpp:
* src/msvc6/testrunner/TestRunnerModel.h:
* src/msvc6/testpluginrunner/TestPlugInRunner.rc:
* src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp:
* src/msvc6/testpluginrunner/TestPlugInRunnerDlg.h:
* src/msvc6/testpluginrunner/TestPlugInRunnerModel.cpp: integrated patch from
Marco Welti (Welti@GretagMacbeth.ch) with a few clean up.
Display the name of the test being run during above the progress bar. Allow the
VC++ add-ins to works with TestPlugInRunner (COM init). DLL name can be specified
on the command line after flag '-testsuite'. Display wait cursor, clear and reload
history when reloading DLL.
* THANKS: added Marco Welti to the list.
2002-05-07 Baptiste Lepilleur <gaiacrtn@free.fr>
* src/DllPlugInTester/CommandLineParser.cpp: fixed compilation issue.
* src/msvc6/TestRunner/ActiveTest.h:
* src/msvc6/TestRunner/ActiveTest.cpp: reindented. bugfix: thread
handle resource leak (bug #553424).
2002-04-25 Baptiste Lepilleur <gaiacrtn@free.fr>
* src/cppunit/XmlOutputter.cpp: bugfix, use ISO-8859-1 encoding if an
empty string is given.
* src/DllPlugInTester/CommandLineParser.h:
* src/DllPlugInTester/CommandLineParser.cpp:
* src/DllPlugInTester/DllPlugInTester.cpp: added option -w to wait for
the user to press a key before exiting (Philippe Lavoie patch,
with change).
2002-04-22 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/plugin/DynamicLibraryManagerException.h: removed
trailing ',' in enum.
* examples/ClockerPlugIn/ClockerListener.cpp: bugfix, average test
case time computation.
2002-04-21 Baptiste Lepilleur <gaiacrtn@free.fr>
* bumped version to 1.9.7
* comitted stuffs I forgot to in 1.9.6.
2002-04-21 Baptiste Lepilleur <gaiacrtn@free.fr>
* contrib/bc5/bcc-makefile.zip: updated, generic makefile for
Borland 5.5, contributed by project cuppa.
* examples/cppunittest/*Suite.h: integrated Jeffrey Morgan's patch,
to remove warning with gcc.
* release 1.9.6
2002-04-21 Baptiste Lepilleur <gaiacrtn@free.fr>
* src/DllPlugInTester/makefile.am: removed ld.so from LDADD flags.
* src/DllPlugInTester/CommandLineParser.h:
* src/DllPlugInTester/CommandLineParser.cpp: rewrote, fixed problem
with double quotes in command line...
* src/DllPlugInTester/CommandLineParserTest.h:
* src/DllPlugInTester/CommandLineParserTest.cpp:
* src/DllPlugInTester/DllPlugInTesterTest.cpp: added, unit tests for
CommandLineParser.
* src/msvc6/TestPlugIn/*: removed.
* examples/Money/*: added. New 'hello world' example.
* doc/Money.dox: added. Article that go along with the Money example.
2002-04-21 Baptiste Lepilleur <gaiacrtn@free.fr>
* THANKS: updated
* src/cppunit/DynamicLibraryManager.cpp: bugfix: did not pass
library name to exception.
* include/cppunit/TestPath.h:
* src/cppunit/TestPath.cpp: changed into value object.
* src/cppunit/BeosDynamicLibraryManager.cpp: integrated patch from
Shibu Yoshiki for BeOS ('cuppa' project team).
* src/DllPlugInTester/CommandLineParser.h:
* src/DllPlugInTester/CommandLineParser.cpp: added. Command line
parsing.
* src/DllPlugInTester/DllPlugInTester.cpp: full command line support
with parameters for plug-ins.
* src/DllPlugInTester/makefile.am:
* examples/simple/makefile.am:
* examples/cppunittest/makefile.am: integrated Jeffrey Morgan's patch,
Unix side should be working again.
* examples/ReadMe.txt: added. Brief description of each example.
* examples/cppunittest/CppUnitTestPlugIn.cpp:
* examples/cppunittest/CppUnitTestPlugIn.dsp: added. New project to
build CppUnit's test suite as a test plug-in.
* examples/cppunittest/CppUnitTestSuite.cpp: updated. Use new
helper macros to create the test suite hierarchy.
* examples/simple/simple_plugin.opt: added. Contains debug tab
settings.
* examples/ClockerPlugIn/ClockerListener.cpp:
* examples/ClockerPlugIn/ClockerListener.h:
* examples/ClockerPlugIn/Timer.cpp:
* examples/ClockerPlugIn/Timer.h:
* examples/ClockerPlugIn/WinNtTimer.cpp:
* examples/ClockerPlugIn/WinNtTimer.h:
* examples/ClockerPlugIn/ClockerPlugIn.cpp:
* examples/ClockerPlugIn/ClockerPlugIn.dsp: added. test listener
plug-in that times tests.
* examples/DumperPlugIn/DumperListener.cpp:
* examples/DumperPlugIn/DumperListener.h:
* examples/DumperPlugIn/DumperPlugIn.cpp:
* examples/DumperPlugIn/DumperPlugIn.dsp: added. test listener
plug-in that dump the test tree.
2002-04-19 Baptiste Lepilleur <gaiacrtn@free.fr>
* src/cppunit/PlugInManager.cpp: fixed bug in unload().
* include/cppunit/TypeInfoHelper.h:
* src/cppunit/TypeInfoHelper.cpp: Implementation is now always available
is CPPUNIT_HAVE_RTTI is not 0. This removes the need to use
different libraries. CPPUNIT_USE_TYPEINFO_NAME can be set on a
case by case basis for HelperMacros.
* src/cppunit/TestFactoryRegistry.cpp: removed unused include of
TypeInfoHelper.h.
* include/cppunit/TextTestProgressListener.h:
* src/cppunit/TextTestProgressListener.cpp: used endTest() instead
of done() to finalize.
* src/msvc6/TestPlugInRunner/TestPlugIn.h:
* src/msvc6/TestPlugInRunner/TestPlugIn.cpp: updated to use the
new test plug-in system.
* examples/simple/SimplePlugIn.cpp:
* examples/simple/simple_plugin.dsp: crossplatform test plug-in
example using 'simple'.
* examples/msvc6/EasyTestPlugIn/*: projects replaced with the
crossplatform projecct examples/simple/simple_plugin.dsp.
2002-04-19 Baptiste Lepilleur <gaiacrtn@free.fr>
* configure.in: added some makefile.am
* contrib/readme.txt: updated.
* contrib/bc5/bc5-makefile.zip: added borland 5.5 makefile. Contributed by
project cuppa.
* src/cppunit/TypeInfoHelper.cpp: fixed implementation to be more
portable.
2002-04-18 Baptiste Lepilleur <gaiacrtn@free.fr>
* bumped version to 1.9.3
* FAQ: added question about 4786 warning on VC++.
* NEWS: updated.
* contrib/msvc/readme.txt: moved to contrib/readme.txt.
* contrib/xml-xsl/report.xsl: added XML style sheet contributed by
'cuppa' project team (http://sourceforge.jp/projects/cuppa/)
* examples/cppunittest/TestResultTest.h:
* examples/cppunittest/TestResultTest.cpp: added tests for
startTestRun()/endTestRun().
* examples/simple/*: added. A simple example.
* include/cppunit/BriefTestProgressListener.h:
* src/cppunit/BriefTestProgressListener.cpp: added. Verbose progess listener
that print the test name before running the test.
* include/cppunit/TestListener.h: added startTestRun()/endTestRun().
* include/cppunit/TestResult.h:
* src/cppunit/TestResult.cpp: added runTest(), to be called to run
a test by test runner.
* src/cppunit/TextTestRunner.cpp:
* src/cppunit/TestRunner.cpp: updated to use TestResult::runTest().
* include/cppunit/plugin/PlugInManager.h:
* src/cppunit/PlugInManager.cpp: added. Managers for all loaded plug-ins.
* include/cppunit/plugin/TestPlugInDefaultImpl.h:
* src/cppunit/TestPlugInDefaultImpl.cpp: renamed TestPlugInAdapter. All
implementations are empty.
* include/cppunit/plugin/TestPlugInSuite.h: removed.
* src/cppunit/TestPlugInSuite.cpp: removed. Replaced by PlugInManager.
* include/cppunit/plugin/TestPlugIn.h: rewrote the plug-in interface to
provide more versatility. updated macros to match new interface.
* include/cppunit/extensions/TestFactoryRegistry.h:
* include/cppunit/extensions/TestFactoryRegistry.cpp: Added unregisterFactory().
Added convenience method addRegistry(). Rewrote registry life cycle
management. AutoRegisterSuite can now detect that the registry has been
destroy and not call to it to unregister its test factory.
* include/cppunit/extensions/AutoRegisterTest.h: on destruction, the registered
factory is unregistered from the registry.
* include/cppunit/extensions/HelperMacros.h: added macros
CPPUNIT_REGISTRY_ADD_TO_DEFAULT and CPPUNIT_REGISTRY_ADD to help
build test suite hierarchy.
* src/cppunit/msvc/DllPlugInTester/*: moved to src/cppunit/DllPlugInTester/.
* src/cppunit/DllPlugInTester/DllPlugInTester.cpp: removed UNICODE stuffs. Use
the PlugInManager instead of PlugInTestSuite. Simplified: only one test on
command line, but many DLL can be specified. Added configurations to link
against cppunit dll, those are now the default configuration (static linking
don't make much sense for plug-in).
2002-04-15 Baptiste Lepilleur <gaiacrtn@free.fr>
* release 1.9.2.
* NEWS: updated.
* configure.in: added include/cppunit/config/Makefile and
include/cppunit/plugin/Makefile to the list of target.
* doc/CppUnit-win.dox: enabled generation of HTML Help documentation.
* include/cppunit/config/Makefile.am:
* include/cppunit/plugin/Makefile.am: added.
* include/cppunit/config-bcb5.h:
* include/cppunit/config-msvc6.h:
* include/cppunit/config-mac.h: moved to include/cppunit/config/.
* include/cppunit/Portability.h: updated config files location. Added macros
CPPUNIT_STRINGIZE and CPPUNIT_JOIN (implementation adapted from boost.org).
Added macro CPPUNIT_MAKE_UNIQUE_NAME.
* include/cppunit/Test.h: modified methods order.
* include/cppunit/extensions/HelperMacros.h: renamed macro
__CPPUNIT_MAKE_UNIQUE_NAME to CPPUNIT_MAKE_UNIQUE_NAME and moved its
definition to include/cppunit/Portability.h.
* include/cppunit/extensions/TestDecorator.h: Inherits Test instead of TestLeaf.
* include/cppunit/plugin/DynamicLibraryManager.h:
* src/cppunit/DynamicLibraryManager.cpp: added. DLL manager (load & lookup
symbol).
* src/cppunit/BeOsDynamicLibraryManager.cpp:
* src/cppunit/UnixDynamicLibraryManager.cpp:
* src/cppunit/Win32DynamicLibraryManager.cpp: added. Implementation of
platform dependent methods of DynamicLibraryManager.
* include/cppunit/plugin/DynamicLibraryManagerException.h:
* src/cppunit/DynamicLibraryManagerException.cpp: added. Exception thrown
by DynamicLibraryManager.
* include/cppunit/plugin/TestPlugIn.h: added. CppUnitTestPlugIn interface
definition. Helper macros to implements plug-in.
* include/cppunit/plugin/TestPlugInSuite.h:
* src/cppunit/plugin/TestPlugInSuite.cpp: added. A suite to wrap a test
plug-in.
* include/cppunit/plugin/TestPlugInDefaultImpl.h:
* src/cppunit/TestPlugInDefaultImpl.cpp: added. A default implementation
of the test plug-in interface.
* src/msvc6/DllPlugInTester/DllPlugInTester.cpp: updated to use the
new TestPlugIn.
* examples/cppunittest/TestResultCollectorTest.cpp: fixed typo.
2002-04-14 Baptiste Lepilleur <gaiacrtn@free.fr>
* NEWS: updated.
* include/cppunit/TestSucessListener.h:
* src/cppunit/TestSucessListener.cpp: renamed TestSuccessListener
* doc/cookbook.dox:
* src/msvc6/DllPlugInTester/DllPlugInTester.cpp:
* examples/cppunittest/TestResultCollectorTest.h:
* examples/cppunittest/TestResultCollectorTest.cpp:
* examples/cppunittest/XmlOutputterTest.h:
* examples/cppunittest/XmlOutputterTest.cpp:
* include/cppunit/CompilerOutputter.h:
* include/cppunit/TestListener.h:
* include/cppunit/XmlOutputter.h:
* src/cppunit/XmlOutputter.cpp:
* src/cppunit/CompilerOutputter.cpp: fixed 'success' typo (was misspelled
'sucess').
* include/cppunit/TestResultCollector.h:
* src/cppunit/TestResultCollector.cpp: updated (renaming of
TestSucessListener).
* src/cppunit/XmlOutputter.cpp:
* examples/cppunittest/XmlOutputterTest.cpp: Changed SucessfulTests tag to
SucessfulTests.
2002-04-13 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/XmlOutputter.h:
* src/cppunit/XmlOutputter.cpp: Made XML output more human readable. Idented element.
* examples/cppunittest/XmlUniformiser.h:
* examples/cppunittest/XmlUniformiser.cpp:
* examples/cppunittest/XmlUniformiserTest.cpp: modified to ignore trailing space
at the end of element content.
2002-04-13 Baptiste Lepilleur <gaiacrtn@free.fr>
* Snapshot 1.9.0
* NEWS: updated
* doc/other_documentation.dox: addded new module for test plug-in.
* include/msvc6/DSPlugin/TestRunnerDSPlugin.h:
* include/msvc6/DSPlugin/TestRunnerDSPlugin_i.c: added. Those file are
generated by project src/msvc/DSPlugin. They are provided to allow
compilation of TestRunner without compiling DSPlugIn which does not
build on VC++ 7.
* examples/examples.dsw: removed DSPlugIn for workspace (fail to build
with VC++ 7). Added DllPlugInTester.dsp to workspace.
* examples/msvc6/TestPlugIn/TestPlugIn.dsp: added post-build unit testing
using the new DllPlugInTester.
* examples/msvc6/EasyTestPlugIn/*: a new project that
demonstrates the use of CPPUNIT_TESTPLUGIN_IMPL to create a test plug-in.
* src/cppunit/cppunit.dsw:
* src/TestPlugInRunner.dsw:
* src/TestRunner.dsw: removed. Should use src/CppUnitLibraries.dsw instead.
* include/cppunit/ui/text/TestRunner.h:
* src/cppunit/TextTestRunner.cpp: removed findTestName() method. Replaced
by Test::findTest().
* src/msvc6/DSPlugIn/DSPlugIn.dsp:
* src/msvc6/DSPlugIn/DSAddIn.h: changed include for add-in. MIDL generates
files in sub-directory ToAddToDistribution. Generated file should be
copied to include/msvc6/DSPlugin when modified. This remove the dependecy
of MfcTestRunner on DSPlugIn.
* src/msvc6/testrunner/ListCtrlFormatter.h:
* src/msvc6/testrunner/ListCtrlFormatter.cpp: added GetNextColumnIndex().
* src/msvc6/testrunner/src/TestRunnerDlg.h:
* src/msvc6/testrunner/src/TestRunnerDlg.cpp: set column number in
MsDevCallerListCtrl when initializing the list.
* src/msvc6/testrunner/src/MsDevCallerListCtrl.h:
* src/msvc6/testrunner/src/MsDevCallerListCtrl.cpp: column indexes for
file and line number are no longer static. Added methods to set those
indexes. Changed DSPlugIn header name.
* include/msvc6/testrunner/TestPlugInInterface.h: fixed inclusion of
windows header for WINAPI. Added macro CPPUNIT_TESTPLUGIN_IMPL to
automatically implements a test plug-in.
* src/msvc6/DllPlugInTester/*: added new project. A application to test DLL
and report using CompilerOutputter. Target for post-build testing and
debugging of DLL.
2002-04-13 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/CompilerOutputter.h:
* src/cppunit/CompilerOutputter.h: deprecated defaultOuputter(). Added
setLocationFormat() and format specifiation in constructor. A string
that represent the location format is used to output the location.
Default format is defined by CPPUNIT_COMPILER_LOCATION_FORMAT.
* include/cppunit/config-msvc6.h:
* include/cppunit/Portability.h: added CPPUNIT_COMPILER_LOCATION_FORMAT.
Use gcc location format if VC++ is not detected.
* include/cppunit/Test.h: fixed documentation.
* include/cppunit/TestListener.h: added startSuite() and endSuite()
callbacks. Added new example to documentation.
* include/cppunit/TestResult.h:
* src/cppunit/TestResult.cpp:
* include/cppunit/TestComposite.h:
* src/cppunit/TestComposite.cpp: Updated to inform the listeners.
* src/qttestrunner/TestBrowserDlgImpl.cpp: used Test new composite
interface instead of RTTI to explore the test hierarchy.
* examples/cppunittest/MockTestListener.h:
* examples/cppunittest/MockTestListener.cpp: updated,added support for
startSuite() and endSuite().
* examples/cppunittest/TestResultTest.h:
* examples/cppunittest/TestResultTest.cpp: added tests for startSuite()
and endSuite().
2002-04-12 Baptiste Lepilleur <gaiacrtn@free.fr>
* Makefile.am: added examples/qt to tar ball release.
* TODO: heavily updated.
* contrib/msvc/CppUnit*.wwtpl: changed base class for unit test to TestFixture.
* include/cppunit/Test.h: removed toString() method. Not used by the framework
and source of confusions with getName().
Added getChildTestCount() and getChildTestAt(), introducing the composite pattern
at top level. Added utility methods findTest() and findTestPath().
* src/cppunit/Test.cpp: added. Implementation of new utility methods.
* include/cppunit/TestCase.h:
* src/cppunit/TestCase.cpp: inherits TestLeaf. Removed toString(), run(void) and
defaultResult(). Removed default constructor.
* src/cppunit/TestCase.cpp:
* src/cppunit/TestSuite.cpp: fixed some includes that used "" instead of <>.
* include/cppunit/TestComposite.h:
* src/cppunit/TestComposite.cpp: added. Common implementation of Test for composite
tests (TestSuite).
* include/cppunit/TestFailure.h:
* src/cppunit/TestFailure.cpp: removed toString().
* include/cppunit/TestLeaf.h:
* src/cppunit/TestLeaf.cpp: added. Common implementation of Test for single test
(TestCase).
* include/cppunit/TestListener.h: added TimingListener example to documentation.
* include/cppunit/TestPath.h:
* src/cppunit/TestPath.cpp: added. List of test traversed to access a test in the
test hierarchy.
* include/cppunit/TestRunner.h: added. Generic TestRunner.
* src/cppunit/TestRunner.cpp: moved to TextTestRunner.cpp. Added new implementation
of includecppunit/TestRunner.h.
* include/cppunit/TestSuite.h:
* src/cppunit/TestSuite.cpp: inherits TestComposite and implements new Test
interface. Removed toString().
* src/cppunit/TextTestRunner.cpp: moved from TestRunner.cpp. Implementation of
include/cppunit/ui/text/TestRunner.h.
* include/cppunit/extensions/RepeatedTest.h:
* src/cppunit/RepeatedTest.cpp: removed toString().
* include/cppunit/extensions/TestDecorator.h: inherits TestLeaf.
Removed toString()
* include/cppunit/XmlOutputter.h:
* src/cppunit/XmlOutputter.cpp:
* examples/cppunittest/XmlOutputterTest.cpp:
* examples/cppunittest/XmlOutputterTest.h: XML outputter now escape node content.
Add unit test for that bug (#540944). Added style sheet support. Modified
XML structure: failure message as its own element.
* src/msvc/testrunner/TestRunnerModel.h:
* src/msvc/testrunner/TestRunnerModel.cpp: used Test::findTest() to find a test
by name instead of using RTTI. Added toAnsiString() for convertion when
compiling as UNICODE.
* src/msvc/testrunner/TreeHierarchyDlg.h:
* src/msvc/testrunner/TreeHierarchyDlg.cpp: used new composite interface of Test
to explorer the test hierarchy instead of RTTI.
* examples/cppunittest/TestPathTest.h:
* examples/cppunittest/TestPathTest.cpp: added, unit tests for TestPath.
* examples/cppunittest/TestCaseTest.h:
* examples/cppunittest/TestCaseTest.cpp: added test for TestLeaf.
* examples/cppunittest/TestSuiteTest.h:
* examples/cppunittest/TestSuiteTest.cpp: added test for TestComposite and
new Test interface.
2002-04-11 Baptiste Lepilleur <gaiacrtn@free.fr>
* configure.in: bumped version to 1.9.0
* NEWS: added version 1.9.0
2002-04-11 Baptiste Lepilleur <gaiacrtn@free.fr>
* doc/FAQ: removed question about the Exception::operator =() problem.
* release 1.8.0
2002-04-11 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* include/cppunit/ui/mfc/Makefile.am:
* include/cppunit/ui/qt/Makefile.am:
* include/cppunit/ui/text/Makefile.am: Set the libcppunitincludedir
variable. Correct case of header file ui/qt/Config.h.
* configure.in: Output the new include/*/Makefiles.
2002-04-10 Baptiste Lepilleur <gaiacrtn@free.fr>
* Makefile.am: removed directory cppunitui from copy when making
the dist.
* include/cppunit/ui: added Makefile.am for dist and install.
2002-04-10 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunitui/: moved to include/cppunit/ui (fix unix
install problem).
* doc/cookbook.dox:
* examples/cppunittest/CppUnitTestMain.cpp:
* examples/msvc/CppUnitTestApp/HostApp.cpp:
* examples/msvc/HostApp/HostApp.cpp:
* examples/qt/Main.Cpp:
* examples/src/cppunit/TestRunner.cpp:
* examples/src/msvc6/TestRunner/TestRunner.cpp:
* examples/src/qttestrunner/TestRunner.cpp: updated to use
<cppunit/ui/...> instead of <cppunitui/...> in include directives.
* doc/CppUnit-win.dox: generated documentation give the include
path at the bottom of the page for each class.
* NEWS: added compatibility break for 1.7.10 users.
2002-04-05 Baptiste Lepilleur <gaiacrtn@free.fr>
* examples/cppunittest/CppUnitTestMain.cpp: never wait for a key press.
2002-04-04 Baptiste Lepilleur <gaiacrtn@free.fr>
* NEW: added CPPUNIT_ASSERT_EQUAL_MESSAGE compatiblity break.
* include/cppunit/TestAssert.h: changed arguments order for
CPPUNIT_ASSERT_EQUAL_MESSAGE. 'message' is now the first argument
instead of the last (like CPPUNIT_ASSERT_MESSAGE).
* examples/cppunittest/MockTestCase.cpp:
* examples/cppunittest/MockTestListener.cpp: updated to reflect
change on CPPUNIT_ASSERT_EQUAL_MESSAGE.
2002-03-28 Baptiste Lepilleur <gaiacrtn@free.fr>
* configure.in: bumped version to 1.7.11
2002-03-28 Baptiste Lepilleur <gaiacrtn@free.fr>
* doc/cookbook.html: removed. Replaced by cookbook.doc.
* doc/cookbook.dox: added, conversion of cookbook.html to Doxygen
format.
* doc/other_documentation.dox: added groups definition.
* doc/Makefile.am: replaced cookbook.html by cookbook.dox
* doc/Doxyfile.in: added predefined CPPUNIT_HAVE_CPP_SOURCE_ANNOTATION.
Replaced cookbook.html by cookbook.dox.
* include/cppunitui/mfc/TestRunner.h: added, extracted from
include/msvc6/testrunner/TestRunner.h. Moved class TestRunner to
namespace CppUnit::MfcUi.
* include/msvc6/testrunner/TestRunner.h: deprecated. A simple
typedef to CppUnit::MfcUi::TestRunner.
* include/textui/TestRuner.h: added, extracted from
include/cppunit/TextTestRunner.h.
* src/cppunit/TextTestRunner.cpp: renamed TestRunner.cpp. Moved
into namespace CppUnit::TextUi.
* src/msvc6/testruner/TestRunner.cpp: moved into namespace
CppUnit::MfcUi.
* src/cppunit/CompilerOutputter.cpp: removed printing "- " before
NotEqualException addional message, for consistency between
different TestRunner (Mfc,Text...)
* include/cppunit/Asserter.h:
* include/cppunit/CompilerOutputter.h:
* include/cppunit/Exception.h:
* include/cppunit/NotEqualException.h:
* include/cppunit/Outputter.h:
* include/cppunit/SourceLine.h:
* include/cppunit/TestAssert.h:
* include/cppunit/TestCaller.h:
* include/cppunit/TestFailure.h:
* include/cppunit/TestFixture.h:
* include/cppunit/TestListener.h:
* include/cppunit/TestResult.h:
* include/cppunit/TestResultCollector.h:
* include/cppunit/TestSucessListener.h:
* include/cppunit/TestSuite.h:
* include/cppunit/TextTestProgressListener.h:
* include/cppunit/TextTestRunner.h:
* include/cppunit/XmlOutputter.h:
* include/cppunit/extensions/AutoRegisterSuite.h:
* include/cppunit/extensions/HelperMacros.h:
* include/cppunit/extensions/TestFactoryRegistry.h:
* include/cppunit/extensions/TestSuiteBuilder.h:
* include/cppunit/extensions/TestSuiteFactory.h: doc
update. organization in groups.
* examples/msvc6/CppUnitTestApp/CppUnitTestApp.cpp:
* examples/msvc6/HostApp/HostApp.cpp: updated to use
CppUnit::MfcUi::TestRunner.
* examples/cppunittest/CppUnitTestMain.cpp: updated to use
CppUnit::TextUi::TestRunner.
2002-03-27 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/msvc/testrunner/TestRunner.h: updated doc. reindented.
* include/cppunit/Asserter.h:
* include/cppunit/Asserter.cpp:
* include/cppunit/TestResultCollector.h:
* include/cppunit/TestResult.h:
* include/cppunit/SynchronizedObject.h:
* include/cppunit/extensions/TestCaller.h: doc update.
* include/cppunitui/qt/TestRunner.h: doc update.
2002-03-27 Baptiste Lepilleur <gaiacrtn@free.fr>
* makefile.am: added src/CppUnitLibraries.dsw, new contribution, and
src/qttestrunner.
* TODO: updated (doc).
* contrib/msvc/AddingUnitTestMethod.dsm: added, submitted by
bloodchen@hotmail.com.
* constrib/msvc/readme.txt: updated.
* include/cppunit/TestAsserter.h:
* include/cppunit/SourceLine.h: updated doc.
* include/cppunit/TestCaller.h: reindented. updated doc.
* include/cppunit/extensions/HelperMacros.h: relaxed constraint on fixture.
Fixture base class may be TestFixture instead of TestCase.
* include/cppunit/TestCase.h:
* src/cppunit/TestCase.h: TestCase inherits TestFixture for setUp() and
tearDown() definition. Moved documentation to TestFixture.
* include/cppunit/TestFixture.h: updated documentation.
* include/cppunit/TestRegistry.h:
* src/cppunit/TestRegistry.cpp: Removed. Replaced by TestFactoryRegistry.
* include/cppunit/TextTestRunner.h:
* src/cppunit/TextTestRunner.cpp: made printing progress using a
TextTestProgressListener optional.
* examples/cppunittest/ExceptionTest.h:
* examples/cppunittest/HelperMacrosTest.h:
* examples/cppunittest/HelperMacrosTest.cpp:
* examples/cppunittest/NotEqualException.h:
* examples/cppunittest/OrthodoxTest.h:
* examples/cppunittest/RepeatedTest.h:
* examples/cppunittest/TestAssertTest.h:
* examples/cppunittest/TestCallerTest.h:
* examples/cppunittest/TestDecoratorTest.h:
* examples/cppunittest/TestFailureTest.h:
* examples/cppunittest/TestResultCollectorTest.h:
* examples/cppunittest/TestResultTest.h:
* examples/cppunittest/TestSetUpTest.h:
* examples/cppunittest/TestSuiteTest.h:
* examples/cppunittest/XmlOutputterTest.h:
* examples/cppunittest/XmlOutputterTest.cpp:
* examples/cppunittest/XmlUniformizerTest.h:
* examples/cppunittest/XmlUniformizerTest.cpp: changed base class for fixture
from TestCase to TestFixture.
* examples/hierarchy/BoardGameTest.h:
* examples/hierarchy/ChessTest.h:
* examples/hierarchy/main.cpp: updated to use HelperMacros for correct
fixture instantiation (the ChessBoard::testReset test case was using
BoardGame fixture instance instead of ChessBoard).
2002-03-26 Baptiste Lepilleur <gaiacrtn@free.fr>
* configure.in: bumped version to 1.7.9
2002-03-26 Baptiste Lepilleur <gaiacrtn@free.fr>
* src/msvc6/testpluginrunner/TestPlugInRunner.dsp: fixed release configuration.
2002-03-25 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/makefile.am: removed TestRegistry.h
* include/cppunit/TestRegistry.h: removed. Obsolete, replaced by
TestFactoryRegistry.
* src/cppunit/makefile.am: removed TestRegistry.cpp. Added cppunit_dll.dsp.
* include/cppunit/CompilerOutputter.h:
* include/cppunit/NotEqualException.h:
* include/cppunit/SynchronizedObject.h:
* include/cppunit/TestFixture.h:
* include/cppunit/TestListener.h:
* include/cppunit/TestResult.h:
* include/cppunit/TestSucessListener.h:
* include/cppunit/TextOutputter.h:
* include/cppunit/TextTestProgressListener.h:
* include/cppunit/TextTestResult.h:
* include/cppunit/XmlOutputter.h:
* include/cppunit/extensions/TestFactory.h:
* include/cppunit/extensions/TestFactoryRegistry.h:
* include/cppunit/extensions/TestSuiteBuilder.h:
* include/cppunit/extensions/TestSuiteFactory.h: minor doc update.
* include/cppunit/TestFixture.h: added DLL export.
* include/cppunit/msvc6/TestPlugInInterface.h: updated doc. Added automatic
exportation of TestPlugIn publishing function.
* src/cppunit/TestCase.cpp:
* include/cppunit/TestCase.h: inherits setUp() and tearDown() from
class TestFixture.
2002-03-25 Baptiste Lepilleur <gaiacrtn@free.fr>
* configure.in: bumped version to 1.7.7
2002-03-25 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/config-msvc6.h:
* include/cppunit/Portability.h
* include/cppunit/extensions/TestFactoryRegistry.h
* include/cppunit/TestResult.h
* include/cppunit/TestResultCollector.h
* include/cppunit/TestSuite.h
* include/cppunit/TextTestRunner.h
* include/cppunit/XmlOutputter.h: removed warning when compiling CppUnit
as DLL.
* src/cppunit/DllMain.cpp: added some defines to speed up compilation a bit.
2002-03-25 Baptiste Lepilleur <gaiacrtn@free.fr>
* INSTALL-WIN32.txt: updated for MFC Unicode TestRunner.
* src/msvc6/testrunner/TestRunner.dsp: added Unicode configurations.
* src/msvc6/testrunner/ListCtrlSetter.cpp:
* src/msvc6/testrunner/ListCtrlSetter.h: replaced usage of std::string by
CString for easier ansi/unicode switch.
* src/msvc6/testrunner/MsDevCallerListCtrl.cpp:
* src/msvc6/testrunner/TestRunnerDlg.cpp:
* src/msvc6/testrunner/TestRunnerModel.cpp:
* src/msvc6/testrunner/TestRunnerModel.h:
* src/msvc6/testrunner/TreeHierarchyDlg.cpp: made changes to compile with
either ANSI and UNICODE support.
* examples/msvc6/HostApp/HostApp.cpp:
* examples/msvc6/HostApp/HostApp.h:
* examples/msvc6/HostApp/HostAppDoc.cpp:
* examples/msvc6/HostApp/HostAppDoc.h: moved TestRunner execution to
HostApp::RunUnitTests() and removed the MainFrame application window.
* examples/msvc6/HostApp/HostApp.dsp: added Unicode configurations.
2002-03-24 Baptiste Lepilleur <gaiacrtn@free.fr>
* INSTALL-WIN32.txt: added some info to build cppunit as a DLL.
* include/cppunit/config-msvc6.h: added definition of macro CPPUNIT_API
when building or linking DLL. Defined CPPUNIT_BUILD_DLL when building, and
CPPUNIT_DLL when linking.
* include/cppunit/Portability.h: added empty definition of macro
CPPUNIT_API when not building or using CppUnit as a DLL. When any of
those symbol is defined, the symbol CPPUNIT_NEED_DLL_DECL is set to 1.
* include/cppunit/extensions/RepeatedTest.h:
* include/cppunit/extensions/TestDecorator.h:
* include/cppunit/extensions/TestSetUp.h:
* include/cppunit/TestCaller.h
* include/cppunit/extensions/TestFactory.h
* include/cppunit/extensions/TestFactoryRegistry.h
* include/cppunit/extensions/TypeInfoHelper.h
* include/cppunit/Asserter.h
* include/cppunit/Exception.h
* include/cppunit/NotEqualException.h
* include/cppunit/SourceLine.h
* include/cppunit/SynchronizedObject.h
* include/cppunit/Test.h
* include/cppunit/TestAssert.h
* include/cppunit/TestCase.h
* include/cppunit/TestFailure.h
* include/cppunit/TestListener.h
* include/cppunit/TestResult.h
* include/cppunit/TestSuite.h
* include/cppunit/CompilerOutputter.h
* include/cppunit/Outputter.h
* include/cppunit/TestResultCollector.h
* include/cppunit/TestSuccessListener.h
* include/cppunit/TextOutputter.h
* include/cppunit/TextTestProgressListener.h
* include/cppunit/TextTestResult.h
* include/cppunit/TextTestRunner.h
* include/cppunit/XmlOutputter.h: added CPPUNIT_API for DLL export.
* include/cppunit/TestSuite.h:
* src/cppunit/TestSuite.cpp: reindented
* include/cppunit/extensions/TestSetUp.h:
* src/cppunit/TestSetUp.cpp: added .cpp. extracted inline method and moved
them to cpp file.
* src/cppunit/DllMain.cpp: added, contains Dll entry point.
2002-03-06 Baptiste Lepilleur <gaiacrtn@free.fr>
* src/cppunit/TextTestProgressListener.cpp: flush the stream after each
progess step.
2002-03-03 Baptiste Lepilleur <gaiacrtn@free.fr>
* configure.in: updated version number to 1.7.4
2002-03-03 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/makefile.am:
* src/cppunit/makefile.am: added missing SynchronizedObject and
TextOutputter.h.
* generated 1.7.3 tar ball.
2002-02-29 Baptiste Lepilleur <gaiacrtn@free.fr>
* inclued/cppunit/XmlOutputter.h:
* inclued/cppunit/XmlOutputter.cpp: added optional parameter to constructor
to specify the encoding.
* configure.in: updated version number to 1.7.3
2002-02-28 Baptiste Lepilleur <gaiacrtn@free.fr>
* NEW: updated and restructured.
* include/cppunit/CompilerOutputter.h:
* src/cppunit/CompilerOutputter.cpp:
updated against TestResultChange. Changed TestResult to TestResultCollector.
* include/cppunit/extensions/HelperMacros.h: minor documentation fix.
* include/cppunit/Outputter.h: added. Abstract base class for all Outputter.
* include/cppunit/Portability.h: made the fix on OStringStream suggested by
Bob Summerwill to remove level 4 warning with VC++.
* include/cppunit/TestAssert.h: added macro CPPUNIT_ASSERT_EQUAL_MESSAGE.
* src/cppunit/TestFailure.cpp:
* include/cppunit/TestFailure.h: added method clone() to duplicate a
failure. Made all method virtual.
* include/cppunit/TestListener.h: changed signature of addFailure() to
addFailure( const TestFailure &failure ). Failure is now only a temporary
object.
* include/cppunit/Outputter.h: added. Abstract base class for all
outputter. Used by TextTestRunner.
* include/cppunit/SynchronizedObject.h:
* src/cppunit/SynchronizedObject.cpp: added. Class extracted from
TestResult. Base class for objects that can be accessed from different
threads.
* include/cppunit/TestResult.h: TestFailure.h is no longer included.
* include/cppunit/TestResult.h:
* src/cppunit/TestResult.cpp: extracted all methods related to keeping track
of the result to the new TestResultCollector class which is a TestListener.
* include/cppunit/TestResultCollector.h:
* src/cppunit/TestResultCollector.cpp: added. TestListener which kept track
of the result of the test run. All failure/error, and tests are tracked.
* include/cppunit/TestSucessListener.h:
* src/cppunit/TestSucessListener.cpp: added. TestListener extracted from
TestResult. Is responsible for wasSucessful().
* include/cppunit/TestCase.h:
* src/cppunit/TestCase.cpp: reindented.
* include/cppunit/TextOutputter.h:
* src/cppunit/TextOutputter.cpp: added. Copied from the deprecated
TextTestResult and modified to act as an Ouputter.
* include/cppunit/TextTestProgressListener.h:
* src/cppunit/TextTestProgressListener.cpp: Copied from the deprecated
TextTestResult and modified to print the dot while the test are running.
* include/cppunit/TextTestResult.h:
* src/cppunit/TextTestResult.cpp: updated against TestResult change.
No compatiblity break. Deprecated.
* include/cppunit/TextTestRunner.h:
* src/cppunit/TextTestRunner.cpp: updated to work with the new TestResult.
Use TextTestProgressListener and TextOutputter instead of TextTestResult.
Any outputter with interface Outputter can be used to print the test result
(CompilerOutputter, XmlOutputter, TextOutputter...)
* include/cppunit/XmlOutputter.h:
* src/cppunit/XmlOutputter.cpp: updated against TestResultChange.
Changed TestResult to TestResultCollector.
* src/msvc6/TestRunnerDlg.h:
* src/msvc6/TestRunnerDlg.cpp: fixed the 'fullrowselect' feature of the
list view. The dialog is a TestListener itself, it no longer use the
GUITestResult class.
* src/msvc6/TestRunner.rc: moved the "autorun test button" in such a way that
it did not overlap the progress bar anymore.
* src/msvc6/MfcSynchronizationObject.h: added. Generic SynchronizedObject
lock for MFC.
* src/msvc6/GUITestResult.h :
* src/msvc6/GUITestResult.cpp : removed.
* src/qttestrunner/TestRunnerModel.h:
* src/qttestrunner/TestRunnerModel.cpp: changed addFailure() signature to
reflect change on TestListener.
* examples/cppunittest/CppUnitTestMain.cpp: updated to use the new Outputter
abstraction and TextTestRunner facilities.
* examples/cppunittest/FailingTestCase.h:
* examples/cppunittest/FailingTestCase.cpp: removed. Replaced by MockTestCase.
* examples/cppunittest/FailingTestCase.h:
* examples/cppunittest/FailingTestCase.h:
* examples/cppunittest/HelperMacrosTest.h:
* examples/cppunittest/HelperMacrosTest.cpp: Updated against TestResult change.
Use MockTestListener instead of TestResult to check for sucess or failure.
* examples/cppunittest/MockTestListener.h:
* examples/cppunittest/MockTestListener.cpp: the class now behave like a mock
object.
* examples/cppunittest/MockTestCase.h:
* examples/cppunittest/MockTestCase.cpp: added. Mock TestCase object.
* examples/cppunittest/OrthodoxTest.h:
* examples/cppunittest/OrthodoxTest.cpp: Updated against TestResult change.
Use MockTestListener instead of TestResult to check for sucess or failure.
* examples/cppunittest/SynchronizedTestResult.h: Updated against TestResult
change.
* examples/cppunittest/TestCallerTest.h:
* examples/cppunittest/TestCallerTest.cpp: Updated against TestResult change.
Use MockTestListener instead of TestResult.
* examples/cppunittest/TestCaseTest.h:
* examples/cppunittest/TestCaseTest.cpp: Updated against TestResult change.
Use MockTestListener and MockTestCase instead of FailingTestCase and TestResult.
* examples/cppunittest/TestDecoratorTest.h:
* examples/cppunittest/TestDecoratorTest.cpp: Updated against TestResult change.
Use MockTestCase instead of FailingTestCase.
* examples/cppunittest/TestListenerTest.h:
* examples/cppunittest/TestListenerTest.cpp: removed. Those unit tests have been
rewrote and moved to TestResultTest.
* examples/cppunittest/TestResultTest.h:
* examples/cppunittest/TestResultTest.cpp: Updated to test the new interface.
Tests from TestListenerTest have been moved here.
* examples/cppunittest/TestResultCollectorTest.h:
* examples/cppunittest/TestResultCollectorTest.cpp: added. Tests for the class
that been extracted from TestResult.
* examples/cppunittest/TestSetUpTest.h:
* examples/cppunittest/TestSetUpTest.cpp: renamed SetUp inner class to MockSetUp.
Changed interface to be more akin to a Mock object.
* examples/cppunittest/TestSuiteTest.h:
* examples/cppunittest/TestSuiteTest.cpp: Updated against TestResult change,
and rewrote to use MockTestCase instead of FailingTestCase.
* examples/cppunittest/XmlOutputterTest.h:
* examples/cppunittest/XmlOutputterTest.cpp: Updated against TestResult change.
Added some utility methods to make the update easier.
2001-10-28 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* INSTALL-unix: Add note about cygwin.
2001-10-24 Baptiste Lepilleur <gaiacrtn@free.fr>
* examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsp:
* examples/msvc6/HostApp/HostApp.dsp: use custom file build instead
of post-build/pre-link step to copy the TestRunner DLL to the
Release/Debug directory.
* src/msvc6/ProgressBar.cpp:
* src/msvc6/ProgressBar.h:
* src/msvc6/TestRunner.rc:
* src/msvc6/TestRunnerDlg.cpp:
* src/msvc6/TestRunnerDlg.h:
* src/msvc6/testRunner.dsp:
* src/msvc6/TestRunnerModel.cpp:
* src/msvc6/TestRunnerModel.h: included Gigi Sayfan (gigi@morphink.com)
patch. The dialog can now be resized, and list view columns and dialog
sizes are saved.
* src/msvc6/ProgressBar.cpp:
* src/msvc6/ProgressBar.h: Minor refactoring.
* THANKS: added Gigi Sayfan to the list.
2001-10-21 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* configure.in: Bump version to 1.7.2.
* Release 1.7.1 (alpha).
* Merged changes from cvs BRANCH_1_6; details follow.
* examples/cppunittest/TestSetUpTest.h (class SetUp): Add
namespace qualifier to CppUnit::TestSetup() constructor call.
* include/cppunit/Makefile.am (dist-hook): Restore hook to
remove config-auto.h from distribution.
* doc/Makefile.am: Move the definition of htmldir inside if DOC
conditional. Add "else" branch to conditional with dummy targets
for install-data-hook and uninstall-local. Move all-local outside
the conditional, and move "dox" target into both branches of the
conditional.
2001-10-20 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* examples/cppunittest/Makefile.am (cppunittestmain_SOURCES):
Include XmlUnformiserTest files.
* doc/Doxyfile.in (GENERATE_MAN): Do not generate man pages.
* doc/Makefile.am: Do not make man directories.
2001-10-19 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/Exception.h:
* src/cppunit/Exception.cpp: what(), added back the throw() qualifier.
2001-10-14 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunitui/* : added, Qt TestRunner.
* examples/qt/* : added, example showing the use of Qt TestRunner.
* src/qttestrunner : added, source of the Qt TestRunner DLL.
2001-10-08 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* src/cppunit/Exception.cpp (what): Remove "throw()" qualifier, to
match earlier change to header.
2001-10-07 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/CompilerTestResultOutputter.h :
renamed CompilerOutputter.h
* src/cppunit/CompilerTestResultOutputter.cpp :
renamed CompilerOutputter.cpp
* include/cppunit/CompilerTestResultOutputter.h :
* src/cppunit/CompilerTestResultOutputter.cpp : ajust max line length
for wrapping. Added static factory method defaultOutputter(). Print
the number of test runs on success.
* include/cppunit/CompilerTestResultOutputter.h : renamed
CompilerOutputter.h.
* src/cppunit/CompilerTestResultOutputter.cpp : renamed
CompilerOutputter.cpp.
* examples/cppunittest/CppUnitTestMain.cpp : use factory method
CompilerTestResultOutputter::defaultOutputter().
* src/msvc6/DSPlugIn/DSPlugIn.dsp : removed COM registration in
post-build step. IT is automatically done by VC++ when the add-in is
added. Caused build to failed if the add-in was used in VC++.
* NEWS : updated.
* src/cppunit/TestAssert.cpp : modified deprecated assert
implementations to use Asserter.
* examples/cppunittest/XmlTestResultOutputterTest.h :
renamed XmlOutputterTest.h.
* examples/cppunittest/XmlTestResultOutputterTest.cpp :
renamed XmlOutputterTest.cpp.
* NEWS :
* examples/cppunittest/CppUnitTestMain.cpp :
* examples/cppunittest/CppUnitTestMain.dsp :
* examples/cppunittest/Makefile.am :
* examples/cppunittest/XmlTestResultOutputterTest.h :
* examples/cppunittest/XmlTestResultOutputterTest.cpp :
* examples/msvc6/CppUniTestApp/CppUnitTestApp.dsp
* include/cppunit/CompilerOutputter.h :
* include/cppunit/Makefile.am :
* include/cppunit/XmlTestResultOutputter.h :
* src/cppunit/CompilerOutputter.cpp :
* src/cppunit/cppunit.dsp :
* src/cppunit/Makefile.am :
* src/cppunit/XmlTestResultOutputter.cpp : change due to renaming
CompilerTestResultOutputter to CompilerOutputter,
XmlTestResultOutputter to XmlOuputter, XmlTestResultOutputterTest
to XmlOutputterTest.
2001-10-06 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/CompilerTestResultOutputter.h :
* src/cppunit/CompilerTestResultOutputter.cpp : added. Output result
in a compiler compatible format.
* src/cppunit/CppUnit.dsp :
* include/cppunit/MakeFile.am :
* src/cppunit/MakeFile.am : added CompilerTestResultOutputter.cpp
and CompilerTestResultOutputter.h.
* examples/cppunittest/CppUnitTestMain.cpp : if -selftest is specified
on the command line, no standard test result are printed, but compiler
compatible result at printed.
* examples/cppunittest/CppUnitTestMain.dsp : added post-build step to
run the test suite with -selftest.
* NEWS : updated.
* src/cppunit/TextTestRunner.cpp : skip a line after printing
progress.
2001-10-06 Baptiste Lepilleur <gaiacrtn@free.fr>
* examples/cppunittest/CppUnitTestMain.cpp : application returns
0 is test suite run sucessfuly, 1 otherwise.
* src/cppunit/Exception.cpp : bug fix, operator =() with VC++.
Removed call to std::exception::operator =() which is bugged
on VC++.
* doc/FAQ : added a note explaining why the test
ExceptionTest.testAssignment used to fail.
* NEWS : updated and detailed.
* include/cppunit/TestResult.h :
* src/cppunit/TestResult.cpp : added reset().
* include/cppunit/TextTestRunner.h :
* src/cppunit/TextTestRunner.cpp : Constructor take an optional
TextTestRestult. The TextTestResult remain alive as long as
the runner. Added result() to retreive the result. Printing the
result is now optinal (enabled by default).
2001-10-05 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/Asserter.h :
* src/cppunit/Asserter.cpp : added. Helper to create assertion macros.
* src/cppunit/cppunit.dsp :
* src/cppunit/Makefile.am :
* include/cppunit/Makefile.am : added Asserter.h and Asserter.cpp.
* include/cppunit/Exception.h :
* src/cppunit/Exception.cpp : added constructor that take a
SourceLine argument. Deprecated static constant and old constructor.
Fixed some constness issues.
* examples/cppunittest/ExceptionTest.cpp : Refactored.
* NEWS : partially updated (need to be more detailed)
* include/cppunit/NotEqualException.h :
* src/cppunit/NotEqualException.cpp : added constructor that take a
SourceLine argument. Deprecated old constructor. Added a third element
to compose message.
* examples/cppunittest/NotEqualExceptionTest.cpp : moved to "Core"
suite. Added test for SourceLine() and additionalMessage().
Refactored.
* include/cppunit/SourceLine.h :
* src/cppunit/SourceLine.cpp : added. Result of applying
IntroduceParameterObject refactoring on filename & line number...
* include/cppunit/TestAssert.h :
* src/cppunit/TestAssert.cpp : deprecated old assert functions.
added functions assertEquals() and assertDoubleEquals() which use
SourceLine.
* src/cppunit/TestCase.cpp : Modified for SourceLine.
* include/cppunit/TestFailure.h :
* src/cppunit/TestFailure.cpp : added failedTestName(), and
sourceLine().
* src/msvc6/testrunner/TestRunnerDlg.cpp : modified to use SourceLine.
* include/cppunit/TextTestResult.h :
* src/cppunit/TextTestResult.cpp : corrected include order and
switched to angled brackets. Refactored. Don't print failure location
if not available. Not equal failure dump additional message if
available.
* src/cppunit/TextTestRunner.cpp : run() now returns a boolean to
indicate if the run was sucessful.
* src/cppunit/XmlTestResultOutputter.cpp : replaced itoa() with
OStringStream. Refactored.
* examples/cppunittest/XmlUniformiser.h :
* examples/cppunittest/XmlUniformiser.cpp :
CPPUNITTEST_ASSERT_XML_EQUAL capture failure location. Refactored
checkXmlEqual().
* examples/cppunittest/XmlUniformiserTest.h :
* examples/cppunittest/XmlUniformiserTest.cpp : added test for
CPPUNITTEST_ASSERT_XML_EQUAL.
* include/cppunit/XmlTestResultOutputter.h :
* src/cppunit/XmlTestResultOutputter.cpp : updated to use SourceLine.
2001-10-05 Baptiste Lepilleur <gaiacrtn@free.fr>
* NEWS : updated.
* include/cppunit/Exception.h : added include Portability.h.
* include/cppunit/TestResult.* : changed TestFailures to a deque.
added tests().
* examples/cppunittest/CppUnitTest.dsp :
* examples/cppunittest/MakeFile.am :
* examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsp : Added
XmlTestResultOutputterTest.*, XmlUniformiser.*, XmlUniformiserTest.*,
UnitTestToolSuite.h, OutputSuite.h.
* examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsp : revised project
folders structure. Added missing NoteEqualExceptionTest.*.
* examples/cppunittest/CppUnitTestSuite.cpp : added 'Output' and
'UnitTestTool' suites.
* src/cppunit/cppunit.dsp: removed estring.h. Revised project folders
structure. Removed TestRegistry.*. Added TestSetUp.h,
XmlTestResultOutputter.*.
* src/cppunit/MakeFile.am: added XmlTestResultOutputter.*.
* src/testrunner/TestRunnerDlg.cpp: removed disabled code.
2001-10-03 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/TestFailure.cpp :
* include/cppunit/TestFailure.h : fixed some constness issues. Added
argument to indicate the type of failure to constructor. Added
isError().
* include/cppunit/TestListener.h : removed addError(). addFailure()
now take a TestFailure as argument.
* include/cppunit/TestResult.h :
* include/cppunit/TestResult.cpp : removed errors(). Refactored. Fixed
some constness issues. Added typedef TestFailures for vector returned
by failures(). failures() returns a const reference on the list of
failure. added testFailuresTotal(). Constructor can take an optional
synchronization object.
* include/cppunit/TextTestResult.h :
* include/cppunit/TextTestResult.cpp : removed printErrors().
Refactored. Updated to suit new TestResult, errors and failures are
reported in the same list.
* examples/cppunittest/TestFailureTest.cpp :
* examples/cppunittest/TestFailureTest.h : modified to use the new
TestFailure constructor. Added one test.
* examples/cppunittest/TestListenerTest.cpp: removed addError().
Refactored to suit new TestListener.
* examples/cppunittest/TestResultTest.h :
* examples/cppunittest/TestResultTest.cpp : modified to suit the
new TestResult.
2001-10-02 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/extensions/TestFactoryRegistry.h
* src/cppunit/TestFactoryRegistry.cpp : fixed memory leaks that
occured when a TestFactoryRegistry was registered into another
TestFactoryRegistry.
* include/cppunit/extensions/AutoRegisterSuite.h : updated doc.
* include/cppunit/extensions/HelperMacros.h : added macro
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION to register a suite into
a named suite. Updated doc.
* examples/cppunittest/CoreSuite.h:
* examples/cppunittest/ExtensionSuite.h:
* examples/cppunittest/HelperSuite.h: added, declaration of suite for
use with CPPUNIT_TEST_SUITE_NAMED_REGISTRATION.
* examples/cppunittest/makefile.am : added HelperSuite.h, CoreSuite.h,
ExtensionSuite.h, CppUnitTestSuite.h and CppUnitTestSuite.cpp.
* examples/cppunittest/CppUnitTestSuite.*: added.
* examples/cppunittest/ExceptionTest.cpp:
* examples/cppunittest/TestAssertTest.cpp:
* examples/cppunittest/TestCaseTest.cpp:
* examples/cppunittest/TestFailureTest.cpp:
* examples/cppunittest/TestListenerTest.cpp:
* examples/cppunittest/TestResultTest.cpp:
* examples/cppunittest/TestSuiteTest.cpp: moved into named suite
"Core" using CPPUNIT_TEST_SUITE_NAMED_REGISTRATION.
* examples/cppunittest/OrthodoxTest.cpp:
* examples/cppunittest/RepeatedTest.cpp:
* examples/cppunittest/TestDecoratorTest.cpp:
* examples/cppunittest/TestSetUpTest.cpp: moved into named suite
"Extension" using CPPUNIT_TEST_SUITE_NAMED_REGISTRATION.
* examples/cppunittest/HelperMacrosTest.cpp:
* examples/cppunittest/TestCallerTest.cpp: moved into named suite
"Helper" using CPPUNIT_TEST_SUITE_NAMED_REGISTRATION.
* examples/cppunittest/CppUnitTest.dsp :
* examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsp : added
Makefile.am, HelperSuite.h, CoreSuite.h, ExtensionSuite.h,
CppUnitTestSuite.h and CppUnitTestSuite.cpp.
2001-10-01 Baptiste Lepilleur <gaiacrtn@free.fr>
* NEWS : updated.
* doc/other_documentation.dox : added all the authors to the list of
authors.
* examples/cppunittest/HelperMacrosTest.*: added unit tests for
CPPUNIT_TEST_FAIL & CPPUNIT_TEST_EXCEPTION.
* examples/cppunittest/TestAssertTest.*: added unit tests for
CPPUNIT_FAIL. Corrected spelling error. Relaxed constraint on message
produced by CPPUNIT_ASSERT_MESSAGE. Refactored some tests.
* include/cppunit/extensions/HelperMacros.h : added macro
CPPUNIT_TEST_EXCEPTION to create a test case for the specified method
that must throw an exception of the specified type.
* include/cppunit/extensions/TestSuiteBuilder.h : made
makeTestName() public. Added addTestCallerForException() to add a
test case expecting an exception of the specified type to be
caught.
* include/cppunit/TestAssert.h : added macro CPPUNIT_FAIL as a
shortcut for CPPUNIT_ASSERT_MESSAGE( message, false ).
2001-09-30 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* configure.in: Set version to 1.7.0.
2001-09-30 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* Release 1.6.1.
* doc/footer.html: Do not meddle with font size.
* doc/header.html: Add link to FAQ. Do not meddle with font size.
* doc/Doxyfile.in (PROJECT_NAME): Set to "CppUnit", to be
consistent on capitalization.
(PROJECT_NUMBER): Include "Version" in the string.
* doc/Makefile.am (EXTRA_DIST): Distribute FAQ.
* Makefile.am (EXTRA_DIST): Distribute contrib/msvc/CppUnit.WWTpl
and contrib/msvc/readme.txt.
(dist-hook): Change line endings of these files.
* include/cppunit/extensions/RepeatedTest.h
* src/cppunit/RepeatedTest.cpp (countTestCases, toString):
Add const qualifier to function.
2001-09-30 Baptiste Lepilleur <gaiacrtn@free.fr>
* contrib/msvc/CppUnit.WWTpl: added, template for WorkSpace Whiz!
to create new classes and unit tests.
* doc/FAQ:
* INSTALL-WIN32.txt: moved FAQ from install-WIN32 to that file. Added
a generic question to hint at the helper macros.
* include/cppunit/extensions/HelperMacros.h: bug #464844, moved
declaration of ThisTestCaseFactory from CPPUNIT_TEST_SUITE_END to
CPPUNIT_TEST_SUITE where the Fixture class name is available from
the macro parameter.
2001-09-30 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* include/cppunit/config-mac.h: New. Macintosh configuration,
courtesy of Duane Murphy.
* include/cppunit/Portability.h: Move <string> include inside
#if-block that needs it.
* doc/Makefile.am (doc-dist): Creates tar file of HTML doc files.
Remove all wildcarded filenames. Do not bother with manpages.
* Makefile.am (EXTRA_DIST): Distribute INSTALL-unix and
cppunit-config.1.
(man_MANS): Install cppunit-config.1.
(doc-dist): Use "make doc-dist" in doc directory.
* cppunit-config.1: Document --prefix and --exec-prefix.
* cppunit-config.in (Usage): Remove "[LIBRARIES]" from help string.
2001-09-29 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* configure.in: Set version to 1.6.1.
2001-09-29 Baptiste Lepilleur <gaiacrtn@free.fr>
* example/cppunittest/TestCaller.*: remove some memory leaks.
TestCaller exception catching features is now tested correctly.
Previous test tested nothing!
2001-09-23 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* configure.in: Set version to 1.6.0.
* Makefile.am (EXTRA_DIST): Add BUGS.
* NEWS: Incorporate Baptiste's notes.
* BUGS: New file for list of known bugs.
* README: Note about file BUGS.
2001-09-24 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/TestAssert.h : changed header order to remove
warning on VC++
* include/cppunit/TestCaller.h : bugfix: threw 'new Exception'
instead of 'Exception'.
2001-09-23 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* doc/footer.html: Put devel list in mailto tag.
* doc/Makefile.am (man_MANS): Restore ability to install manpages.
(htmldir): HTML pages installed under $(pkgdatadir).
* doc/other_documentation.dox: Reference cookbook.html
in same directory. Remove obsolete text.
* configure.in: Do not set CFLAGS; remove --enable-debug-mode.
* include/cppunit/Portability.h:
* include/cppunit/extensions/HelperMacros.h: Allow user
to request the old-style CU_TEST family of macros.
* doc/Doxyfile.in (EXCLUDE_PATTERNS): Remove estring.h.
* README: Add contact and bug-reporting info.
* INSTALL-unix: New. Move the unix install notes here
from README.
* AUTHORS: Put myself on the list.
2001-09-21 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/TestFailure.h : made destructor virtual.
* INSTALL-WIN32.txt : added some more infos about DSPlugIn.
* src/msvc6/DSPlugIn/DSPlugIn.rgs: added some registry data
that where missing to register the COM object.
* src/msvc6/DSPlugIn/DSPlugIn.rc: updated some dll version info.
* src/msvc6/DSPlugIn/DSPlugIn.dsp: fixed the custom build step to
register the DLL using regsvr32.exe. Added a post-build step to
copy the dll to the lib/ directory. This prevent a blocking
compilation error if the DLL is in use by VC++.
2001-09-20 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* Makefile.am (snapshot): Replace "date -I" GNUism with portable
specification for ISO date format.
(dist-hook): Correct rule to change line endings for INSTALL-WIN32.txt.
* include/cppunit/Portability.h:
* config/ac_cxx_have_strstream.m4 (AC_CXX_HAVE_STRSTREAM): Extend
to check for and use <strstream> in preference to <strstream.h>.
Patrick Hartling reports the former is required for the SGI
MIPSpro 7.3.1.2 compiler.
2001-09-19 Baptiste Lepilleur <gaiacrtn@free.fr>
* examples/cppunittest/makefile.am : added TestSetupTest.(cpp/h)
* examples/examples.dsw: removed some unnecessary dependencies.
* examples/msvc6/HostApp/HostApp.dsp: fixed release configuration
* src/msvc6/DSPlugIn/DSPlugIn.dsp: fixed release configuration, and
disabled the custom build command that does not work.
* include/cppunit/extensions/HelperMacros.h: reordered header to remove
some warning with VC++.
* INSTALL-WIN32.txt : detailed what was in each project. Added a FAQ
about the failing test case in cppunittest.
2001-09-19 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* README: Describe how to check if libtool is fixed.
* Makefile.am (dist-hook): Include INSTALL-WIN32.txt in the list
of files to convert to MSDOS line endings.
(snapshot): Use ISO-8601 compliant date for filename.
(ACLOCAL_AMFLAGS): Specify local directory.
2001-09-18 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* include/cppunit/TextTestResult.h: Change include from <iosfwd>
to <iostream>. Sugggested by Peer Sommerlund.
* include/cppunit/Portability.h: Qualify ostrstream with std.
Suggested by Patrick Hartling.
2001-09-18 Baptiste Lepilleur <gaiacrtn@free.fr>
* examples/examples.dsw:
* examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsw:
* examples/msvc6/HostApp/HostApp.dsw:
* examples/msvc6/TestPlugIn/TestPlugIn.dsw: Added missing
project dependency.
* src/msvc6/DSPlugIn/DSPlugIn.dsp: fixed *.tlb output directory.
* include/msvc6/testrunner/TestPlugInInterface.h: does not define
NOMINMAX if already defined.
2001-09-17 Baptiste Lepilleur <gaiacrtn@free.fr>
* Makefile.am: Added INSTALL-WIN32.txt to EXTRA_DIST.
* INSTALL-WIN32.txt: added, short documentation for CppUnit and VC++.
* include/cppunit/extensions/HelperMacros.h: bug #448363, removed
an extraneous ';' at the end of CPPUNIT_TEST_SUITE_END macro.
* examples/cppunittest/TestCallerTest.cpp: bug #448332, fixed
memory leaks.
* src/msvc6/testrunner/TestRunnerDlg.h:
* src/msvc6/testpluginrunner/TestPlugInRunnerDlg.h:
* src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp: change to define
IDD to a dummy value when subclassing the dialog.
* src/cppunit/cppunit.dsp:
* src/msvc6/testrunner/TestRunner.dsp:
* src/msvc6/testpluginrunner/TestPlugInRunner.dsp:
* examples/cppunitttest/CppUnitTestMain.dsp:
* examples/hierarchy.dsp:
* examples/msvc6/TestPlugIn/TestPlugIn.dsp:
* examples/msvc6/HostApp/HostApp.dsp: all configurations can be compiled.
* src/msvc6/testpluginrunner/TestPlugInRunner.dsw: added dependency to
cppunit.dsp and TestRunner.dsp.
2001-09-16 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* Revert TestFixture-related changes from 2001-07-15:
* src/cppunit/cppunit.dsp (SOURCE): Remove TestFixture.h.
* src/cppunit/TestCase.cpp (setUp, tearDown): Restore function
bodies.
* include/cppunit/TestCase.h (class TestCase): Do not derive
from class TestFixture. Restore member functions setUp()
and tearDown().
* include/cppunit/TestCaller.h: Do not include
<cppunit/TestFixture.h>.
* include/cppunit/Makefile.am (libcppunitinclude_HEADERS): Remove
TestFixture.h.
2001-09-14 Baptiste Lepilleur <gaiacrtn@free.fr>
* src/msvc6/testrunner/TestRunner.dsp: fixed release configuration.
* src/msvc6/testrunner/TestRunner.dsw: added DSPlugIn.dsp. TestRunner
depends on DSPlugIn.
* src/msvc6/testrunner/TestRunner.cpp:
* src/msvc6/testrunner/TestRunnerDlg.h:
* src/msvc6/testrunner/TestRunnerDlg.cpp:
* src/msvc6/testrunner/MsDevCallerListCtrl.cpp:
* src/msvc6/testrunner/MsDevCallerListCtrl.h:
* src/msvc6/DSPlugIn/*: integrated patch from
Patrick Berny (PPBerny@web.de). An add-ins for VC++. Double-cliking
a failed test in the TestRunner, VC++ will open the source file and
go to the failure location.
* src/cppunit/Exception.cpp:
* include/cppunit/Exception.h: compile fix, call to overrided
operator = of parent class failed. Using typedef to the parent
class fix that.
* src/cppunit/cppunit.dsp: added TestFixture.h
* src/cppunit/TestFactoryRegistry.cpp: removed <utility> which isn't
needed any more.
* include/cppunit/TestCase.h:
* include/cppunit/TestSuite.h:
* include/cppunit/extensions/TestFactoryRegistry.h: added
include <Portability.h> before any other includes to remove warning
with VC++.
* include/cppunit/Portability.h: moved platform specific includes at
the beginning of the header. fixed CPPUNIT_HAVE_CPP_SOURCE_ANNOTATION
declaration.
* include/cppunit/config-msvc6.h: removed pragma once (useless, should
be put in each header to have an effect).
2001-08-07 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* doc/Makefile.am: Add workaround for broken Doxygen.
* src/cppunit/TextTestResult.cpp (operator<<): Remove CppUnit::
prefix.
* configure.in: Add check for <cmath>.
* src/cppunit/TestAssert.cpp: Use <math.h> if <cmath> not
available.
* src/cppunit/TestCase.cpp: Do not include <cmath>.
* include/cppunit/config-bcb5.h (HAVE_CMATH):
* include/cppunit/config-msvc6.h (HAVE_CMATH): Add.
* src/cppunit/Exception.cpp: Qualify std::exception.
* examples/cppunittest/OrthodoxTest.h (TestCase): Add assignment
operator. MIPSpro fails to compile without one.
* Makefile.am: Removed automake conditional "DOC".
* doc/Makefile.am: Placed "DOC" conditional around
rules that invoke Doxygen.
* config/Makefile.am: Removed.
* configure.in: Do not create config/Makefile.
* Makefile.am (EXTRA_DIST): Distribute config/*.m4.
(SUBDIRS): Do not descend into config.
2001-07-15 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* include/cppunit/TestFixture.h: New. Declare class TextFixture.
* include/cppunit/TestCaller.h:
* include/cppunit/TestCase.h:
* src/cppunit/TestCase.cpp:
* include/cppunit/Makefile.am: Subclass TestCase from TestFixture.
2001-07-14 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* include/cppunit/Exception.h:
* include/cppunit/Test.h:
* include/cppunit/TestCaller.h:
* include/cppunit/TestCase.h:
* include/cppunit/TestFailure.h:
* include/cppunit/TestListener.h:
* include/cppunit/TestSuite.h:
* include/cppunit/extensions/RepeatedTest.h:
* include/cppunit/extensions/TestDecorator.h:
* src/cppunit/TestCase.cpp: Add documentation.
2001-07-13 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* examples/cppunittest/TestAssertTest.h:
* examples/cppunittest/TestAssertTest.cpp: Add tests
for CPPUNIT_ASSERT_EQUAL.
2001-07-12 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* configure.in: Set to version 1.5.6. On the assumption that
backwards compatibility has been broken (though I'm not certain),
set the binary age and interface age to zero.
* examples/cppunittest/TestFailureTest.h:
* include/cppunit/Exception.h:
* include/cppunit/NotEqualException.h:
* src/cppunit/Exception.cpp:
* src/cppunit/NotEqualException.cpp: Add "throw()" to overridden
std::exception destructors; required for GCC 3.0.
2001-07-07 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* include/cppunit/Makefile.am: Clean config-auto.h using
DISTCLEANFILES.
* doc/Makefile.am: Temporarily disable manpage installation.
Fix html installation to ensure files removed by uninstall.
* src/cppunit/estring.h: Removed.
* src/cppunit/Makefile.am:
* src/cppunit/TestCase.cpp:
* src/cppunit/TextTestResult.cpp: Recode to avoid use of estring.
* examples/cppunittest/OrthodoxTest.h: Add const qualifier
to operator== methods.
* include/cppunit/config-bcb5.h:
* include/cppunit/config-msvc6.h: Define CPPUNIT_HAVE_SSTREAM to 1.
* config/ac_cxx_have_sstream.m4: New. Defines macro
AC_CXX_HAVE_SSTREAM. Taken from the autoconf archive.
* config/ac_cxx_have_strstream.m4: New. Copy of above,
modified to check for presence of strstream; defines
macro AC_CXX_HAVE_STRSTREAM.
* configure.in: Invoke AC_CXX_HAVE_SSTREAM and
AC_CXX_HAVE_STRSTREAM.
* include/cppunit/Portability.h: Define class
CppUnit::OStringStream.
* include/cppunit/TestAssert.h:
* src/cppunit/TestFactoryRegistry.cpp: Replace std::ostringstream
by CppUnit::OStringStream.
2001-07-06 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* configure.in: Add --disable-typeinfo-name option.
* README: Add note about new configure option.
* configure.in: Remove AM_DISABLE_STATIC.
* INSTALL: Update to version from autoconf 2.50.
2001-07-05 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* include/cppunit/Portability.h: Remove definition of
CPPUNIT_USE_TYPEINFO.
* configure.in: Define USE_TYPEINFO_NAME in config.h.
* include/cppunit/config-msvc6.h (CPPUNIT_USE_TYPEINFO_NAME):
* include/cppunit/config-bcb5.h (CPPUNIT_USE_TYPEINFO_NAME): Add
definition.
* include/cppunit/TestCaller.h:
* include/cppunit/extensions/TypeInfoHelper.h:
* include/cppunit/extensions/TestSuiteBuilder.h:
* include/cppunit/extensions/HelperMacros.h:
* src/cppunit/TypeInfoHelper.cpp:
* src/cppunit/TestFactoryRegistry.cpp:
* src/cppunit/TestCase.cpp (toString):
Switch from CPPUNIT_USE_TYPEINFO to CPPUNIT_USE_TYPEINFO_NAME.
* src/cppunit/TestAssert.cpp: Remove include of estring.h.
* configure.in: Invoke AC_PROG_CC to workaround a automake
bug. Move probes for CC/CXX ahead of the libtool macros.
* examples/hierarchy/Makefile.am:
* examples/cppunittest/Makefile.am:
* src/cppunit/Makefile.am (INCLUDES): Search
$(top_builddir)/include for <cppunit/config-auto.h>.
2001-06-27 Baptiste Lepilleur <gaiacrtn@free.fr>
* examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsp:
moved dll copy from post-build to custom build setting, so that the
dll is copied even if the CppUnitTestApp was not modified.
* examples/msvc6/TestPlugIn/: a new example of test plug in.
* src/msvc6/TestRunner/ListCtrlFormatter.*
* src/msvc6/TestRunner/ListCtrlSetter.*:
added, helper to manipulate list control.
* src/msvc6/TestRunner/TestRunnerDlg.*: change to make the error list
more compact. text moved to string resources. icons added for typ
test tfailure type.
* src/msvc6/TestRunner/MostRecentTests.*: added, classes that will
replace the current implementation of MRU test which make it hard
to subclass the dialog.
* src/msvc6/TestRunner/res/errortype.bmp: added, bitmap with error
types (failure and error).
* src/msvc6/TestPlugInRunner/: A test runner to run test plug in.
Test plug in are DLL that publish a specified plug in interface.
Those DLL are loaded and reloaded by the TestPlugInRunner to run
tests. This remove the need to wrap DLL with a executable to test
them.
* src/cppunit/cppunit.dsp:
removed config.h from project
added Portability.h and config-msvc6.h
* include/cppunit/config-msvc6.h:
undef CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST
2001-06-20 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* autogen.sh: Stop when tool fails. Try /usr/local/share/aclocal
only if aclocal fails without it.
* README.CVS: New.
2001-06-18 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* include/cppunit/Portability.h (CPPUNIT_USE_TYPEINFO):
(CPPUNIT_ENABLE_NAKED_ASSERT):
(CPPUNIT_HAVE_CPP_SOURCEANNOTATION): Fix setting of
default values.
2001-06-17 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* configure.in: Require autoconf 2.50 or better.
2001-06-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* configure.in: moved config.h from include/ to config/
* configure.in: added AC_CREATE_PREFIX_CONFIG_H call
* config/ac_create_prefix_config_h.m4: added
* configure.in: removed include/cppunit/config.h from AC_OUTPUT
* include/cppunit/config.h.in: obsoleted by
AC_CREATE_PREFIX_CONFIG_H macro.
* configure.in:
* config/bb_enable_doxygen.m4: moved doxygen stuff into
BB_ENABLE_DOXYGEN macro
* include/cppunit/Makefile.am: removed config.h, added config-auto.h,
config-msvc6.h, config-bcb5.h, Portability.h
* include/cppunit/Makefile.am: added dist-hook to exclude
config-auto.h from dist tar
* include/cppunit/TestAssert.h:
* include/cppunit/extensions/TypeInfoHelper.h:
* include/cppunit/extensions/TestSuiteBuilder.h:
* include/cppunit/extensions/HelperMacros.h:
* src/cppunit/TypeInfoHelper.cpp:
* src/cppunit/TestRegistry.cpp:
* src/cppunit/TestFactoryRegistry.cpp:
* src/cppunit/TestCase.cpp: replaced #include of <config.h> with
<cppunit/Portability.h>
* src/cppunit/TypeInfoHelper.cpp: use new macro name
CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST
2001-06-12 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/NotEqualException.h
* src/cppunit/NotEqualException.h:
Fixed constructor and operator = (aren't unit test nice?). Added
methods expectedValue() and actualValue().
* include/cppunit/TestAssert.h:
* src/cppunit/TestAssert.cpp:
Use NotEqualException to report equality failure.
* src/cppunit/TestFactoryRegistry.cpp: fixed makeTest(). It did not use m_name for
naming the suite.
* src/cppunit/TestResult.cpp:
Report expect/was on different line for assertEquals failure.
* examples/cppunittest/NotEqualExceptionTest.*: added unit tests for
NotEqualException.
* examples/cppunittest/OrthodoxTest.*: operator ! use explicit construction.
* examples/msvc6/CppUnitTestApp/CppUnitTestApp.cpp: modified so that the dialog
is not displayed after the tests are run.
2001-06-11 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* examples/cppunittest/TestResultTest.cpp (testAddTwoErrors,
testAddTwoFailures): Replace vector::at() with more portable
vector::operator[]; GCC doesn't have the former.
* include/cppunit/extensions/TestDecorator.h (countTestCases):
Declare return type.
* src/cppunit/Makefile.am (libcppunit_la_SOURCES): Add
TestAssert.cpp, RepeatedTest.cpp.
* include/cppunit/TestCaller.h (NoExceptionExpected): Fix
constructor name.
2001-06-11 Baptiste Lepilleur <gaiacrtn@free.fr>
* include/cppunit/Exception.h: now inherit from std::exception
instead of ::exception. Added clone(), type(), and isInstanceOf()
methods for subclassing support. Changed UNKNOWNLINENUMBER type to
long for consistence with lineNumber().
* include/cppunit/NotEqualException.h: addded, exception to be
used with assertEquals().
* include/cppunit/TestAssert.h: changed TestAssert into a
namespace instead of a class. This remove the need of template
member methods and does not cause compiler internal error on
VC++. Macro CPPUNIT_ASSERT_MESSAGE has been added to fail test
with a specified message.
* include/cppunit/TestCaller.h: added "Expected exception"
support. Based on Tim Jansen patch (#403745), but use a traits
instead of RTTI to distingh between "No expected exception" and
"Excepted exception". Exception type name is reported using RTTI
if CPPUNIT_USE_TYPEINFO is defined.
* include/cppunit/extensions/HelperMacros.h: static method suite()
implemented by CPPUNIT_TEST_SUITE_END macro now returns a
TestSuite instead of a Test.
* include/cppunit/extensions/RepeatedTest.h: corrected
countTestCases, operator = declaration.
* include/cppunit/extensions/TestDecorator.h: removed const from
run() method. Did not match run() declaration of Test class.
* include/cppunit/extensions/TestFactory.h: fixed a comment.
* include/cppunit/extensions/TestSetup.h: corrected run() method
declaration. Methods setUp() and tearDown() were not declared
virtual.
* include/cppunit/extensions/TestSuiteBuilder.h: added a method
addTestCaller() which take a pointer on a fixture.
* include/cppunit/NotEqualException.cpp: addded, exception to be
used with assertEquals().
* src/cppunit/RepeatedTest.cpp: added to reduce header dependency
(TestResult.h was missing).
* src/cppunit/TestAssert.cpp: added to put non template functions
there.
* src/cppunit/TestCase.cpp: added std:: prefix to catch
(exception& e). Integrated a modified version of Tim Jansen patch
(#403745) for TestCase to make the unit test (TestCaseTest)
pass. If the setUp() fail then neither the runTest() nor the
tearDown() method is called.
* examples/examples.dsw: added cppunittest projects to workspace.
* examples/cppunittest/TestResultTest.*: renamed
TestListenerTest.*
* examples/cppunittest/*: added unit tests for: HelperMacros,
TestAssert, TestCaller, TestCase, TestFailure, TestResult,
TestSuite, TestDecoratorTest, TestSetUp, RepeatedTestTest,
Orthodox, Exception.
2001-06-05 Baptiste Lepilleur <gaiacrtn@free.fr>
* src/cppunit/TypeInfoHelper.cpp: removed #include <config.h>,
cppunit/config.h was already included.
* src/cppunit/cppunit.dsp: removed TestAssert.cpp from project.
* added/updated .cvsignore files for beter handling of windows
projects.
* added include/cppunit/config.h with a default configuration for
VC++ 6.0.
* include/cppunit/.cvsignore: removed config.h from the list of
ignored file.
* renamed VC++ configurations without RTTI from "Debug No
CU_USE_TYPEINFO" to "Debug Crossplatform".
* include/cppunit/TestAssert.h: added include <math.h> for fabs().
2001-06-02 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* src/cppunit/Exception.cpp: Remove unnecessary namespace
declaration; it confuses Doxygen.
2001-06-02 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* configure.in: Add AC_CXX_STRING_COMPARE_STRING_FIRST.
* autogen.sh: Add "-I config" to aclocal flags, to pick up
the new .m4 files.
* config/ac_cxx_namespaces.m4: New. Taken from
http://cryp.to/autoconf-archive.
* config/ac_cxx_string_compare_string_first.m4: New. Detect
if std::string::compare() takes string argument first.
2001-06-02 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* include/cppunit/TestAssert.h: Declare generic assertion_traits
class. Replace notEqualsMessage functions for long and double by
a generic, template function. Replace assertEquals for longs by a
generic template function. Inline all class methods. Define new
assertion macros CPPUNIT_ASSERT, CPPUNIT_ASSERT_EQUAL, and
CPPUNIT_ASSERT_DOUBLES_EQUAL; the old names are available by
editing <cppunit/config.h>.
* src/cppunit/TestAssert.cpp: Removed. Move code to inline
functions.
* config/ac_cxx_rtti.m4: New. Taken from
http://cryp.to/autoconf-archive.
* include/cppunit/config.h.in: New. Input file for installable,
generated config.h file.
* configure.in: Use AC_CXX_RTTI; generate include/cppunit/config.h.
* include/cppunit/extensions/HelperMacros.h:
* include/cppunit/extensions/TestSuiteBuilder.h:
* include/cppunit/extensions/TypeInfoHelper.h:
* src/cppunit/TestCase.cpp:
* src/cppunit/TestFactoryRegistry.cpp:
* src/cppunit/TypeInfoHelper.cpp:
Use "#if CPPUNIT_USE_TYPEINFO" rather than "#ifdef".
* src/cppunit/TypeInfoHelper.cpp: Allow for std::string::compare()
that takes the string in the first argument.
* doc/cookbook.html:
* examples/cppunittest/TestCallerTest.cpp:
* examples/cppunittest/TestResultTest.cpp:
* examples/hierarchy/BoardGameTest.h:
* examples/hierarchy/ChessTest.h:
* examples/msvc6/HostApp/ExampleTestCase.cpp:
* include/cppunit/TestCase.h:
* include/cppunit/extensions/Orthodox.h:
Replace assert by CPPUNIT_ASSERT.
Replace assertLongsEqual by CPPUNIT_ASSERT_EQUAL.
Replace assertDoublesEqual by CPPUNIT_ASSERT_DOUBLES_EQUAL.
* * (CU_TEST_SUITE, CU_TEST, CU_TEST_SUITE_END,
CU_TEST_SUITE_REGISTRATION): Replace prefix CU_ with CPPUNIT_.
* examples/cppunittest/.cvsignore: Add UNIX generated files.
2001-06-01 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* examples/cppunittest/Makefile.am: added
* configure.in: added examples/cppunittest/Makefile to AC_OUTPUT.
* examples/cppunittest/TestCallerTest (suite),
examples/cppunittest/TestResultTest (suite): fixed 'ISO C++
forbids taking the address of a bound member function to form
a pointer to member function' bug reported by g++.
* examples/cppunittest/TestCallerTest (suite),
examples/cppunittest/TestResultTest (suite): removed dependency on
RTTI.
2001-06-01 Baptiste Lepilleur <gaiacrtn@free.fr>
* added project cppunittest to examples/: unit tests to test cppunit.
The main file is CppUnitTestMain.cpp. Unit tests have been implemented
for TestCaller and TestListener.
* added project CppUnitTestApp to examples/msvc6: graphical runner
for cppunittest.
* added TestListener to TestResult. It is a port of junit
TestListener.
* updated some .cvsignore to ignore files generated with VC++.
2001-05-30 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* src/cppunit/TestCase.cpp (toString): put type_info in std
namespace and inside CU_USE_TYPEINFO ifdef.
2001-05-29 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* examples/hierarchy/main.cpp: Remove extraneous includes.
* src/cppunit/TextTestResult.cpp (addError, addFailure): Do not
emit a newline.
* include/cppunit/extensions/HelperMacros.h: Rework documentation.
(CU_TEST_SUITE): Move definition of member function suite() ...
(CU_TEST_SUITE_END): ... to here.
(CU_TEST): Use '&' to take address of member function
"testMethod".
* include/cppunit/extensions/AutoRegisterSuite.h: Declare "factory"
as a TestFactory*.
2001-05-28 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* doc/other_documentation.dox: Don't include "CppUnit" in
anchor text, since Doxygen puts its own anchor around it.
* doc/Makefile.am (html/index.html): Depend on
other_documentation.dox.
* doc/Doxyfile.in (EXCLUDE): Move config.h and estring.h to
EXCLUDE_PATTERNS; they were not being excluded.
* ChangeLog: Reformat all entries to start with <TAB>. See
<http://www.red-bean.com/cvs2cl/changelogs.html> for change log
format.
* doc/cookbook.html: Update all code examples, except for TestRunner
section.
2001-05-23 Baptiste Lepilleur <gaiacrtn@free.fr>
* Updated CU_TEST_SUITE macro documentation. It is now stated
explicitly that you do not need to specify template parameter as
macro argument. The documentation example has been updated to
reflect that.
2001-05-23 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* autogen.sh: added '--add-missing' option to automake.
* autogen.sh: added '--force' option to libtoolize and removed
'--copy'.
* config: removed generated files from CVS.
2001-05-20 Baptiste Lepilleur <gaiacrtn@free.fr>
* Fixed bug #424320 (VC++ TestRunner): access violation caused by
NULL pointer in history list. NULL pointer are not added to the
history anymore.
2001-05-19 Baptiste Lepilleur <gaiacrtn@free.fr>
* Added some items to the TODO list for VC++ TestRunner.
* "Debug" configuration is now the default configuration in VC++
project.
* Modified sort order in the test browser of VC++ TestRunner so
that tests are in the same order as in the suite. Suites are still
sorted alphabetically.
* Merged Steve M. Robbins patch to replace assertImplementation
with assert in hierarchy example.
* Added a TextTestRunner to runner tests. It is based on Michael
Feather's version, but have been rewriten.
* Removed traces that printed the test name in TextTestResult
while running.
* Added the test name to error and failure report in
TextTestResult.
* Updated hierarchy example to use TextTestRunner.
2001-05-18 Baptiste Lepilleur <gaiacrtn@free.fr>
* Symbol CU_USE_TYPEINFO must be defined instead of USE_TYPEINFO
to compile RTTI.
* Added back default constructor to TestSuiteBuilder which use
RTTI. It is available only if CU_USE_TYPEINFO is defined.
* Moved TypeInfoHelper.h from src/cppunit to
include/cppunit/extensions.
* Macro CU_TEST_SUITE in HelperMacros.h now use TestSuiteBuilder
default constructor if CU_USE_TYPEINFO is defined, otherwise it
use the type name given to the CU_TEST_SUITE macro.
* TestFactoryRegistry::registerFactory(factory) now generate a
dummy name based on a serial number instead of using RTTI. The
macro CU_TEST_SUITE_REGISTRATION and class AutoRegisterSuite can
now when CU_USE_TYPEINFO is not defined.
* Added a new Configuration named "Debug Without CU_USE_TYPEINFO"
to msvc6 projects. The flag CU_USE_TYPEINFO is not defined in that
configuration.
2001-05-17 Steve M. Robbins <steve@nyongwa.montreal.qc.ca>
* Makefile.am (dist-hook): Copy files relative to $(top_srcdir).
* doc/Makefile.am: Generated doc files depend on Doxyfile.
* doc/Doxyfile.in: Use autoconf substitutions in file names.
* examples/hierarchy/Makefile.am (check_PROGRAMS): Build hierarchy
with "make check", not "make all".
* examples/hierarchy/Makefile.am (INCLUDES):
* src/cppunit/Makefile.am (INCLUDES): Search in
$(top_srcdir)/include.
* Added .cvsignore files.
2001-05-16 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Merged Debian packaging support files by Christian Leutloff from
debian package version 1.5.4-2. Added make target 'debian' for
debian package creation.
2001-05-09 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Release as 1.5.5.
* Finished CppUnitW 1.2 merge. Removed RTTI depency from
TestSuite. Added TestCaller constructor for calling methods in
existing TestCases.
2001-04-29 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Merged Baptiste Lepilleurs CppUnitW 1.2. Some differences:
TypeInfo stuff (in TestSuite) compiled in only if USE_TYPEINFO is
set. TestSuite.getTests now returns a const ref instead of taking
a ref as parameter. Removed auto_ptr stuff from
TestFactoryRegistry: auto_ptr cannot be used in containers.
2001-04-28 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Merged MSVC++ specific TestRunner and example adapted from
Micheal Feathers version by Baptiste Lepilleur.
* Moved cppunit subdir into src.
2001-04-24 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Merged Baptiste Lepilleurs patch for TestRegistry: now TestCases
do not automatically register with the Registry anymore.
* Added extension headers from Micheal Feathers port to
include/cppunit/extensions.
2001-04-19 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Added MSVC++ workspace and project files, submitted by Baptiste
Lepilleur.
2001-04-15 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Moved public headers from cppunit into new subdir
include/cppunit. This should make more clear which headers are
used internally only (like estring.h).
* Moved autoconf auxiliary stuff into new subdir config, to make
the top dir less crowded.
* Prefixed std:: to cerr, cout and endl.
2001-04-14 Bastiaan Bakker <bastiaan.bakker@lifeline.nl>
* Release as 1.5.4
* Added support for RPM generation.
* Added autoconf support for Doxygen document generation: Doxygen
and GraphViz dot are automatically detected and LaTeX and HTML can
be switch on or off.
* cppunit/TextTestResult.cpp: changed cout to stream. Fixes bug
#232636
* cppunit/TextTestReulst.cpp: add '#include <iostream>'. Fixes
bug #223290
* cppunit/*.cpp: removed bogus 'inline' specifiers. Fixes bug
#224542 and #223291.
* doc/header.html: corrected link to CppUnit project page Fixes
bug #414073
* cppunit/*.cpp, examples/hierarchy/main.cpp: removed all 'using
namespace ...' occurences.
2001-01-31 Tim Jansen <timj@systembureau.com>
* cppunit/TestCase.cpp, cppunit/TestCase.h, cppunit/TestSuite.h,
cppunit/TestSuite.cpp: applied patch #402271 by bwithrow. Fixes
bug #220207
* cppunit/TestSuite.cpp (deleteContents): clear vector after
contents have been deleted (so there are no invalid pointers in
the vector) Patch #403540 / #403542
* cppunit/TestCaller.h: create Fixture with empty constructor so
that only the TestCaller but not the Fixture instance is
registered in the TestRegistry Patch #403541 / #403542
* examples/hierarchy/BoardGameTest.h,
examples/hierarchy/ChessTest.h, examples/hierarchy/main.cpp:
initialize example TestCases with TestSuite so that the
TestCallers are registered in the TestRegistry Patch
#403542. Fixes bug #415249
* cppunit/TestCaller.h, cppunit/TestCase.cpp, cppunit/TestCase.h:
changed documentation; made hopefully clearer which constructor
registers the instance in the TestRegistry; corrected syntax in
code example Patch #403542.
|