-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathChangeLog
3664 lines (2587 loc) · 131 KB
/
ChangeLog
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
2008-02-07 Steve M. Robbins <[email protected]>
* src/qttestrunner/MostRecentTests.h:
* src/qttestrunner/TestRunnerModel.h: Change from <qlist.h> to
replacment <qptrlist.h>; avoids use of compatibility headers.
2007-03-04 Steve M. Robbins <[email protected]>
* include/cppunit/portability/FloatingPoint.h (floatingPointIsFinite): Change
return type to int, following the convention of isfinite(), finite(), etc.
2007-02-25 Baptiste Lepilleur <[email protected]>
* doc/cookbook.dox: changed suite() to return a TestSuite instead
of a Test to avoid introducing unnecessary complexity.
2007-02-24 Steve M. Robbins <[email protected]>
* include/cppunit/portability/FloatingPoint.h: Include Portability.h.
2007-02-24 Baptiste Lepilleur <[email protected]>
* src/cppunit/TestAssert.cpp (assertDoubleEquals): Moved finite & NaN
tests to include/cppunit/portability/FloatingPoint.h. Changed
implementation assertDoubleEquals to explicitly test for NaN
in case of non-finite values to force equality failure in the
presence of NaN. Previous implementation failed on Microsoft
Visual Studio 6 (on this platform: NaN == NaN).
* examples/cppunittest/TestAssertTest.cpp: Add more unit tests to
test the portable floating-point primitive. Added missing
include <limits>.
* include/cppunit/portability/Makefile.am:
* include/cppunit/portability/FloatingPoint.h: Added file. Extracted
isfinite() from TestAssert.cpp.
* include/cppunit/config-evc4:
* include/cppunit/config-msvc6: Added support for _finite().
2007-01-30 Steve M. Robbins <[email protected]>
* examples/cppunittest/assertion_traitsTest.h:
* examples/cppunittest/assertion_traitsTest.cpp: New. Test
assertion_traits<>.
* examples/cppunittest/Makefile.am: Add
assertion_traitsTest.{h,cpp}.
* examples/cppunittest/TestAssertTest.h:
* examples/cppunittest/TestAssertTest.cpp: Add
testAssertDoubleEqualsPrecision() to test precision of failure
message.
2007-01-27 Steve M. Robbins <[email protected]>
* examples/cppunittest/TestAssertTest.cpp:
* examples/cppunittest/TestAssertTest.h: Remove declaration of
unimplemented functions testAssertDoubleNotEquals1 and
testAssertDoubleNotEquals2. Factor new method
testAssertDoubleNonFinite out of existing testAssertDoubleEquals.
* src/cppunit/Win32DynamicLibraryManager.cpp (doLoadLibrary):
Unconditionally use ANSI version of LoadLibrary() and other
functions with string arguments.
2007-01-26 Steve M. Robbins <[email protected]>
* config/ax_cxx_have_isfinite.m4: New. Autoconf macro that tests
for finite() in C++ mode.
* configure.in: Check for isfinite() and finite().
* examples/cppunittest/TestAssertTest.cpp (testAssertDoubleEquals):
* src/cppunit/TestAssert.cpp (assertDoubleEquals): Account for
non-finite values.
2007-01-11 Steve M. Robbins <[email protected]>
* examples/cppunittest/MockFunctor.h:
* examples/cppunittest/MockProtector.h:
* examples/cppunittest/XmlOutputterTest.cpp:
* examples/cppunittest/XmlUniformiser.cpp:
* src/DllPlugInTester/CommandLineParser.cpp:
* src/cppunit/DynamicLibraryManagerException.cpp:
* src/cppunit/TestCaseDecorator.cpp:
* src/cppunit/TextTestRunner.cpp:
* src/cppunit/XmlDocument.cpp: Arrange field initializers in
correct order.
* include/cppunit/plugin/TestPlugIn.h (struct CppUnitTestPlugIn):
* include/cppunit/extensions/TestFixtureFactory.h (class TestFixtureFactory):
* include/cppunit/XmlOutputterHook.h (XmlOutputterHook): Add
virtual destructor to virtual class.
* examples/cppunittest/TestAssertTest.cpp: Put a C++ statement in
the first argument of CPPUNIT_ASSERT_THROW() and
CPPUNIT_ASSERT_NO_THROW().
* examples/hierarchy/main.cpp (main): Return value now reflects
whether tests passed.
* examples/hierarchy/Makefile.am (XFAIL_TESTS): New. Mark hierachy
test program as an expected failure.
* Makefile.am (dist-hook): Don't fail if $(distdir)/lib already
exists.
* config/bb_enable_doxygen.m4 (BB_ENABLE_DOXYGEN): Add quotes
around function name, BB_ENABLE_DOXYGEN.
2006-10-26 Baptiste Lepilleur <[email protected]>
* include/cppunit/TestResult.h:
* include/cppunit/ui/Config.h: fixed compilation issues with QtTestRunner.
2006-06-29 Baptiste Lepilleur <[email protected]>
* Makefile.am:
* lib/.keepme: added dummy file to prevent lib/ removal by some
unzip clients. Fixed bug #1527877 .
* src/msvc6/TesRunner/TestRunner.rc:
* src/msvc6/testpluginrunner/TestPlugInRunner.rc: Fixed bug #1528212
(some resources wrongly tagged as French).
2006-06-29 Baptiste Lepilleur <[email protected]>
* include/cppunit/ui/text/TextTestRunner.h
* src/cppunit/TextTestRunner.cpp: applied patch #1210013 to remove
hidden virtual function warning.
* autogen.sh: applied patch #1449380 contributed by Sander Temme
to allow running autogen on Mac OS X.
* doc/header.html: updated to handle new tabs css required for
html doc generated with doxygen 1.4.7.
* src/msvc6/testrunner/MsDevCallerListCtrl.cpp: applied correction
provided to fix bug #1498175 (double click on failure does not
goto failure).
2006-03-04 Baptiste Lepilleur <[email protected]>
* contrib/xml-xsl/report.xsl: reported correction posted on the wiki.
* removed debian/ directory. An up to date patch can be found at:
packages.debian.org.
* cppunit.spec.in: applied patch #1242905 partially (%post and %postun).
* cppunit.pc.in:
* configure.in:
* Makefile.am: integrated patch from Robert Leight to generate pkg-config.
2006-02-04 Baptiste Lepilleur <[email protected]>
* include/cppunit/TestListener.h:
* src/qttestrunner/TestRunnerModel.cpp: removed compilation warning.
2006-02-01 Baptiste Lepilleur <[email protected]>
* examples/qt: integrated Ernst patch from qt examples.
2005-12-12 Baptiste Lepilleur <[email protected]>
* src/qttestrunner: integrated Ernst patch for QtTestRunner and Qt 3.x.
Enhanced qmake project files to handle multiple build configuration
2005-11-27 Baptiste Lepilleur <[email protected]>
* doc/cookbook.dox: fixed type (patch #1334567)
2005-11-06 Baptiste Lepilleur <[email protected]>
* include/cppunit/config/SourcePrefix.h: disable warning #4996
(sprintf is deprecated) for visual studio 2005.
* include/cppunit/TestAssert.h: use sprintf_s instead of sprintf for
visual studio 2005.
* examples/ClockerPlugIn/ClockerPlugIn.cpp
* examples/DumperPlugIn/DumperPlugIn.cpp: use SourcePrefix.h. Fixed
wrong macro usage to implement DllMain.
* examples/msvc6/HostApp/ExamplesTestCase.h
* examples/msvc6/HostApp/ExamplesTestCase.cpp
* examples/simple/ExamplesTestCase.h
* examples/simple/ExamplesTestCase.cpp: removed divideByZero test case
as it cause some crash on some platforms.
2005-10-27 Baptiste Lepilleur <[email protected]>
* include/cppunit/TestAssert.h: added missing #include <stdio.h>
2005-07-30 Baptiste Lepilleur <[email protected]>
* include/cppunit/config/SourcePrefix.h: added, prefix added at begining of sources
to remove warning. Removed most warning when compiling with VC++ 6sp6.
* examples/money/Money.h:
* examples/money/MoneyTest.cpp: added assert equal usage.
2005-07-30 Baptiste Lepilleur <[email protected]>
* include/cppunit/config/config-msvc6.h: auto-detect if RTTI are enabled
the _CPPRTTI macro (defined by the compiler when enabling RTTI).
* include/cppunit/config/config-msvc6.h: added missing macro definition
CPPUNIT_HAVE_CPP_CAST.
* src/cppunit/TestResultCollector.cpp: fixed memory leak in destructor.
2005-07-15 Baptiste Lepilleur <[email protected]>
* config/bb_enable_doxygen.m4: Rolled back Brad Hards patch as it break
generation of doc/Makefile.am.
* cppunit.spec.in: Applied patch #1232555 from Patrice Dumas. This file is
use for RPM packaging.
* development snapshot release 1.11.0.
2005-07-09 Baptiste Lepilleur <[email protected]>
* doc/Money.dox:
* include/cppunit/TestSuite.h:
* include/cppunit/XmlOutputterHook.h: applied Brad Hards patch
that correct miscellaneous doc generation issues (unescaped <>, \...).
* include/cppunit/plugin/TestPlugIn.h:
* include/cppunit/CompilerOutputter.h:
* doc/CppUnit-win.dox: removed a few documentation generation warnings.
* config/bb_enable_doxygen.m4: applied Brad Hards patch to remove warning
when running ./autogen.sh or aclocal.
* doc/money.dox: fixed bad usage of CPPUNIT_ASSERT_EQUALS.
2005-07-05 Baptiste Lepilleur <[email protected]>
* Examples/simple/Makefile.am: do not install 'simple' programm
(patch #1230784).
2005-07-05 Baptiste Lepilleur <[email protected]>
* include/cppunit/TestResultCollector.h
* src/cppunit/TestResultCollector.cpp: fixed memory leak
occuring when calling reset().
* src/cppunit/DllMain.cpp: added work-around for mingw compilation
for BLENDFUNCTION macro issue when including windows.h.
* src/qttestrunner/TestRunnerDlgImpl.cpp: fixed display of multiline
messages.
* include/cppunit/Portability.h: better integration of compiler output
for gcc on Mac OS X with Xcode (contributed by Claus Broch).
2005-06-14 Baptiste Lepilleur <[email protected]>
* src/msvc6/testrunner/ProgressBar.cpp: applied patch from bug #1165875,
(use system color for border instead of hard-coded color).
* src/cppunit/Makefile.am:
* configure.in: MinGW, cygwin: enable build of shared library when using
libtool. patch #1194394 contributed by Stéphane Fillod.
* cppunit.m4: applied patch #1076398 contributed by Henner Sudek. Fix
version number comparison in AM_PATH_CPPUNIT.
* contrib/xml-xsl/cppunit2junit.txt
* contrib/xml-xsl/cppunit2junit.xsl
* contrib/readme.txt: XSLT for compatibility with Ant junit xml formatter.
Patch #1112053 contributed by Norbert Barbosa.
2005-02-23 Baptiste Lepilleur <[email protected]>
* examples/hierarchy/BoardGameTest.h:
* examples/hierarchy/ChessTest.h: fixed compilation issue, prefixed access
to class member with 'this' (inheriting from template parameter
dependent class).
2004-11-19 Baptiste Lepilleur <[email protected]>
* include/cppunit/Message.h
* include/cppunit/SourceLine.h:
* src/cppunit/Message.cpp:
* src/cppunit/SourceLine.cpp: provided thread-safe copy constructor on
platform that do not provide thread-safe copy constructor for std::string.
2004-11-08 Baptiste Lepilleur <[email protected]>
* include/cppunit/TestAssert.h: fixed portability bug pointed out by
Neil Ferguson.
2004-11-06 Baptiste Lepilleur <[email protected]>
* include/cppunit/TestAssert.h: integrated Neil Ferguson patch for high
precision conversion to string for double number. Modified the patch
to works even if DBL_DIG C99 macro is not defined.
* include/cppunit/Portability.h: fixed EVC++ 4 detection.
* src/cppunit/Win32DynamicLibraryManager.cpp: integrated patch #1024428,
MinGW compilation under Windows XP.
2004-11-05 Baptiste Lepilleur <[email protected]>
* include/cppunit/TestAssert.h:
* src/cppunit/TestAssert.cpp: integrated Neil Ferguson patch for missing
_MESSAGE assertion variants. Also enhanced the failure message of a
few assertions.
2004-09-10 Baptiste Lepilleur <[email protected]>
* src/msvc6/DSPlugIn/StdAfx.h: add #error to prevent compilation on VC 7.
* src/msvc6/testrunner/MsDevCallerListCtrl.cpp:
* src/msvc6/testrunner/MsDevCallerListCtrl.h: integrated go to source line
features on double click contributed by Max Quatember and
Andreas Pfaffenbichler.
2004-08-01 Baptiste Lepilleur <[email protected]>
* include/cppunit/XmlOutputter.h:
* include/cppunit/tools/XmlDocument.h:
* src/cppunit/XmlDocument.cpp:
* src/cppunit/XmlOutputter.cpp: integrated patch #997006 from Akos Maroy.
This patch makes the 'standalone' attribute in XML header optional.
2004-06-25 Baptiste Lepilleur <[email protected]>
* include/cppunit/Portability.h: moved OStringStream alias definition to
portability/Stream.h. User need to define EVC4 to indicate that
config-evc4.h should be used. (how to we detect this automatically ?).
Notes that this means it might be needed to add #include <string> to some
headers since its no longer included by Portability.h.
* include/cppunit/portability/Stream.h: define alias OStringStream, stdCOut(),
and OFileStream. If CPPUNIT_NO_STREAM is defined (evc4 config), then provides
our own implementation (based on sprintf and fwrite).
* include/cppunit/config/config-evc4.h: config file for embedded visual c++ 4.
Still need to detect for this platform in Portability.h (currently relying on
EVC4 being defined...)
* *.[cpp/h]: most source files have been impacted with the following change:
#include <iostream> -> #include <cppunit/portability/Stream.h>
std::ostream -> CPPUNIT_NS::OStream
std::ofstream -> CPPUNIT_NS::OFileStream
std::cout -> CPPUNIT_NS::stdCOut()
std::endl -> "\n"
Also, code using std::cin as been defined out if CPPUNIT_NO_STREAM was defined.
The exact list of impact files can be obtain in CVS using tags:
TG_CPPUNIT_NO_STREAM_BEFORE & TG_CPPUNIT_NO_STREAM_AFTER.
2004-06-19 Baptiste Lepilleur <[email protected]>
* cppunit.m4: patch #946302, AM_PATH_CPPUNIT doesn't report result
if CppUnit is missing.
2004-06-18 Baptiste Lepilleur <[email protected]>
* Release 10.0.2
* include/cppunit/extension/TestSuiteBuilderContext.h:
* src/cppunit/TestSuiteBuilderContext.cpp: fixed bug #921843. This bug
was caused by a known STL bug in VC++ 6.
See http://www.dinkumware.com/vc_fixes.html <xtree> issue with shared
std::map in dll. As a work-around the map has been replaced by a vector.
* src/DllPlugInTester/*.cpp: bug #941625, string literal using char *
instead of const char *. Patch contributed by Curt Arnold has been
applied.
* src/msvc6/testrunner/TestRunnerDlg.h:
* src/msvc6/testrunner/TestRunnerDlg.cpp:
* src/msvc6/testpluginrunner/TestPlugIn.cpp:
* src/msvc6/testpluginrunner/TestPlugInRunnerApp.cpp:
* src/msvc6/testpluginrunner/TestPlugInRunnerModel.cpp:
* src/msvc6/testpluginrunner/TestPlugInRunnerModel.h: bug #952912,
memory leaks when loading/reloading plug-ins.
2004-06-17 Baptiste Lepilleur <[email protected]>
* include/cppunit/Portability.h:
* include/cppunit/plugin/TestPlugIn.h: fixed report compilation issue
with mingw & cygwin. WIN32 is now always defined if _WIN32 is defined.
Bug #945737 & #930338.
* doc/Makefile.am: fixed bug #940650 => cp -dpR, removed option -p since
there is no link to preserve anyway (does not exist on SunOs).
* src/cppunit/TestPath.cpp: bug #938753, array bound read in
splitPathString() with substr if an empty string is passed.
* src/*/*.dsp: bug #933154, post build fail in directory with spaces.
2004-06-16 Baptiste Lepilleur <[email protected]>
* 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 <[email protected]>
* release 1.9.14
2004-03-13 Baptiste Lepilleur <[email protected]>
* 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 <[email protected]>
* release 1.9.12
2004-02-18 Baptiste Lepilleur <[email protected]>
* configure.in:
* makefile.am:
* config/ax_cxx_gcc_abi_demangle.m4:
* src/cppunit/TypeInfoHelper.cpp: added patch from
Neil Ferguson <[email protected]> to use gcc c++ abi to demangle typeinfo
name when available.
2003-05-15 Baptiste Lepilleur <[email protected]>
* include/cppunit/plugin/testplugin.h: fixed bug #767358, wrong
preprocessor symbol for SHL_LOADER.
2003-05-15 Baptiste Lepilleur <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]> to add support
for plug-in to hp-ux (patch #721546).
* INSTALL-unix: added build instruction for HP-UX.
2003-04-06 Baptiste Lepilleur <[email protected]>
* include/cppunit/extensions/TestSuiteBuilder.h: removed (unused)
2003-03-31 Baptiste Lepilleur <[email protected]>
* src/cppunit/DynamicLibraryManager.cpp: fixed compilation issue on Mingw
(bug #711583)
2003-03-20 Baptiste Lepilleur <[email protected]>
* include/cppunit/extensions/TestNamer.h:
* src/cppunit/TestNamer.cpp: Fixed bug #704684, TestNamer has non-virtual
destructor.
2003-03-15 Baptiste Lepilleur <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* include/cppunit/extensions/TestNamer.h: fixed bug #662666 (missing include
for typeinfo).
2002-12-12 Baptiste Lepilleur <[email protected]>
* 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 <[email protected]>
* include/cppunit/TextTestResult.h: added missing dll export for
operator << (bug #610119).
2002-12-02 Baptiste Lepilleur <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* include/cppunit/ui/text/TextTestRunner.h: fixed header guards.
2002-08-29 Baptiste Lepilleur <[email protected]>
* include/cppunit/TestResult.h:
* src/cppunit/TestResult.cpp: fixed shouldStop() bug.
2002-08-29 Baptiste Lepilleur <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* cppunit.m4: Doc fix: MINIMUM-VERSION is not optional when using
this macro.
2002-08-04 Baptiste Lepilleur <[email protected]>
* 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 <[email protected]>
* include/cppunit/XmlOutputterHook.h: integrated Stephan Stapel
documentation update.
2002-08-03 Baptiste Lepilleur <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* src/msvc6/DSPlugIn/DSPlugIn.dsp: updated so that only the release
configuration get copied to the lib/ directory.
2002-07-03 Baptiste Lepilleur <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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