cppunit-devel Mailing List for CppUnit - C++ port of JUnit (Page 16)
Brought to you by:
blep
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
(21) |
May
(96) |
Jun
(109) |
Jul
(42) |
Aug
(6) |
Sep
(106) |
Oct
(60) |
Nov
(20) |
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(7) |
Feb
(11) |
Mar
(49) |
Apr
(124) |
May
(30) |
Jun
(37) |
Jul
(53) |
Aug
(33) |
Sep
(21) |
Oct
(22) |
Nov
(19) |
Dec
(15) |
2003 |
Jan
(34) |
Feb
(25) |
Mar
(11) |
Apr
(12) |
May
(16) |
Jun
(24) |
Jul
(23) |
Aug
(23) |
Sep
(42) |
Oct
(7) |
Nov
(32) |
Dec
(33) |
2004 |
Jan
(41) |
Feb
(41) |
Mar
(24) |
Apr
(25) |
May
(18) |
Jun
(13) |
Jul
(11) |
Aug
(15) |
Sep
(22) |
Oct
(10) |
Nov
(15) |
Dec
(9) |
2005 |
Jan
(4) |
Feb
(15) |
Mar
(11) |
Apr
(16) |
May
(29) |
Jun
(17) |
Jul
(27) |
Aug
(12) |
Sep
(9) |
Oct
(10) |
Nov
(5) |
Dec
(6) |
2006 |
Jan
(2) |
Feb
(6) |
Mar
(7) |
Apr
(2) |
May
(1) |
Jun
(5) |
Jul
(8) |
Aug
(6) |
Sep
(10) |
Oct
(11) |
Nov
(15) |
Dec
(2) |
2007 |
Jan
(12) |
Feb
(22) |
Mar
(10) |
Apr
(7) |
May
(1) |
Jun
(8) |
Jul
(4) |
Aug
(1) |
Sep
(2) |
Oct
(1) |
Nov
|
Dec
|
2008 |
Jan
|
Feb
(7) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(7) |
Dec
|
2010 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <MAI...@gd...> - 2004-05-06 09:04:49
|
This is an automated message from the BorderWare MXtreme Mail Firewall at host mailgate.gdc.com. A mail from you (cpp...@li...) to (me...@gd...) was stopped and Quarantined because it contains one or more forbidden attachments. Contact GDC IT if you need to have this file released. Summary of email contents: Queue ID: E13274C9AE forbidden attachment |
From: Richard S. <spa...@ya...> - 2004-05-03 16:32:05
|
On Mon, 3 May 2004, [ISO-8859-1] Helge Stenstr=F6m wrote: > Shouldn't there be a working example or cookbook in the Wiki? I gave a lecture on Cppunit: http://www.cs.ucl.ac.uk/staff/r.smith/prog_tools1.pdf I too had problems with the cookbook, so I created this minimal example: http://www.cs.ucl.ac.uk/staff/r.smith/animals-c++.tar.gz --=20 Richard |
From: <hel...@er...> - 2004-05-03 08:48:44
|
Hi, I have tried to use the cookbook=20 http://cppunit.sourceforge.net/doc/1.8.0/cppunit_cookbook.html but i=20 have problems. First of all, I'm not very good at C++, so it's difficult for me to put=20 together the little pieces in the cookbook into a working example. It seems that the cookbook is incomplete. From what I understand, the=20 steps are: write (parts of) the program to be tested (can be saved for=20 later), write unit tests, collect tests into test suites, create a test=20 runner, add test suites to the runner and finally run the runner. I'm=20 not sure how to get the results from the runner. Incompleteness: * operator+ is not written. The #include statements in the cookbook are wrong, at least for my=20 Debian installation. I have a partly working file. It runs some test, but before finishing,=20 it segfaults. A print statement may turn the segfault into a warning=20 message: free(): invalid pointer 0xbffff960! Could it be something about destructors? I don't know how they work yet. Anyway, since there is no working example in the cookbook, I have more=20 problems with the unit test framework than with ComplexNumber program. Shouldn't there be a working example or cookbook in the Wiki? Best regards, Helge Stenstr=F6m |
From: Thanh H. <uoo...@ya...> - 2004-04-28 21:32:50
|
<html> <body bgcolor=3D"#ffffff"> <center> <table border=3D"0" cellpadding=3D"3" cellspacing=3D"0"> <tr> <td bgcolor=3D"#000000"> <table bgcolor=3D"#FFFBE0" border=3D"0" width=3D"470" cellpadding=3D"8"= cellspacing=3D"0"> <tr> <td align=3D"center"> <a href=3D"http://www.cell-direct.net/"><font face=3D"verdana" size=3D"5" color=3D"#cc0000"><b>Conference Calls</font> <br><font face=3D"verdana" size=3D"4" color=3D"#cc0000"><i>Only </fo= nt><font face=3D"verdana" size=3D"5" color=3D"#cc0000">5.9 </font><font fa= ce=3D"verdana" size=3D"4" color=3D"#cc0000">Cents Per Min.</a></i></b> </font></td> </tr> <tr> <td align=3D"left"> <font face=3D"verdana" size=3D"2" color=3D"#000000">We offer an extr= emely easy to use conferencing service that only costs a fraction of what most companies charge. <br> <br> <b>No Set-up Fees <br> No Contracts or Monthly Fees <br> Unlimited Toll Starting at $99 per month <br> Toll Free Conference Calling starting at 12 Cents per minute</b> <br> (Lower rates with volume usage) </font> </td> </tr> </b> <tr> <td align=3D"center"> <font face=3D"verdana" size=3D"3 color=3D"#000000"><b>We offer other C= onferencing Solutions, Including: Web Conferencing Operator Assist <BR>Bes= t Quality, Lowest Rates </font></td></tr> <tr> <td align=3D"center"> <a href=3D"http://www.cell-direct.net/"><font face=3D"verdana" size=3D= "4" color=3D"#cc0000"><b>Click Here For More Info</b></font></a> </font> </td> </tr> </table> <tr> <td bgcolor=3D"#ffffff" align=3D"center" valign=3D"center" colspan=3D"4"= ><br> <font face=3D"verdana" size=3D"1" color=3D"#000000">The transmission of th= is email was sent in accordance with the Can Spam Act <br>of 2003 Section S.877. To unsubscribe from future mailings <a href=3D= "http://www.cell-direct.net/remove.html"><font face=3D"verdana" size=3D"1"= color=3D"#0000ff"> click here,</a> </font> or send <br>your request to 1072 S.E. Bristol St. Suite #100A, Santa Ana, = CA 92707. </font> </td> </tr> </center> </body> </html> |
From: Nobody <kst...@co...> - 2004-04-27 08:39:23
|
This email address is no longer active due to SPAM. Any correspondence sent to this email will not be answered and will be deleted. If you need to contact me, please send your message to kst...@co..., thanks! Kirk Stowell |
From: Curt A. <ca...@ho...> - 2004-04-25 01:43:22
|
[cc] "/home/users/c/ca/carnold/cppunit-1.9.14/include/cppunit/ TextTestResult.h", line 29: Warning: CppUnit::TextTestResult::addFailure hides the virtual function CppUnit::TestResult::addFailure(CppUnit::Test*, CppUnit::Exception*). [cc] "/home/users/c/ca/carnold/cppunit-1.9.14/include/cppunit/ui/text/ TextTestRunner.h", line 88: Warning: CppUnit::TextTestRunner::run hides the virtual function CppUnit::TestRunner::run(CppUnit::TestResult&, const std::string &). [cc] 2 Warning(s) detected. TestTestResult.h defines a public virtual method addFailure(Test*, Exception*) with the same signature as a non-virtual protected method on the base class. Not sure if it is an actual problem, but it does look suspicious. |
From: Alysha D. <fko...@we...> - 2004-04-25 00:57:35
|
paddlebox harmonist razorfish abito ratchet trigram anodic montreal scriptural tourniquet lovers mailable mapinguari pommel protege addict abstemious edental tantrum poonghie muscle tesselated herculem fratercula labiated conima absorbency filefish grounder minikin validity ambystomid croatian tantric frolick vespucci roguish territory madding erysiphe |
From: =?iso-2022-jp?q?CLUB_=8D=CA=83l=83b=83g=8E=96=8B=C6=95=94_<cl...@os...> - 2004-04-23 15:08:14
|
<=91=97=90M=8E=D2> <=8E=96=8B=C6=8E=D2> CLUB =8D=CA=83l=83b=83g=8E=96=8B=C6=95=94 =94z=90M=92=E2=8E~=8A=F3=96]=82=CC=95=FB=82=CD=82=B1=82=BF=82=E7=82=DC=82=C5 re...@os... =8D=A1=8C=E3=81A=8DL=8D=90=82=F0=82=B2=8A=F3=96]=82=B3=82=EA=82=C8=82=A2=95=FB= =82=CD =8F=E3=8BL=83=81=81[=83=8B=83A=83h=83=8C=83X=88=B6=82=C4=82=C9=8D=ED=8F=9C=82= =B5=82=C4=82=D9=82=B5=82=A2 =83=81=81[=83=8B=83A=83h=83=8C=83X=82=C5=96{=95=B6=82=C9=82=CD=89=BD=82=E0=96= =BE=8BL=82=B9=82=B8=91=97=90M=82=B5=82=C4=89=BA=82=B3=82=A2=81B =81=A6=8D=C4=94z=90M=8B=91=94=DB=82=A9=82=E73=93=FA=91O=8C=E3=82=C5=83=81=81= [=83=8B=83A=83h=83=8C=83X=82=F0=8D=ED=8F=9C=92v=82=B5=82=DC=82=B7=81B =93=8C=8B=9E=93s=96L=93=87=8B=E6=93=8C=92r=91=DC5-7-4 =81@090-6708-3026 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/=81=F4=81=F4=81@=81@=92N=82=E0=92m=82=E7=82=C8=82=A2=94=E9=96=A7=82=CC=83= X=83e=81[=83^=83X=81@=81@=81=F4=81=F4_/ _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ =83=8A=83b=83`=82=C8=8F=97=90=AB=82=BE=82=AF=82=C9=8B=96=82=B3=82=EA=82=E9=94= =E9=96=A7=82=CC=83X=83e=81[=83^=83X=81B =82=BB=82=EA=82=CD=8BM=8F=97=82=CC=8DD=82=AB=82=C8=8E=9E=8A=D4=82=C9=8E=9D=82= =C4=82=E9=83=8A=83=89=83b=83N=83X=83^=83C=83=80=81B =82=A2=82=C2=82=C5=82=E0=82=C7=82=B1=82=C5=82=E0=8BM=8F=97=82=C9=82=A0=82=C1= =82=BD=92j=90=AB=82=F0=82=B2=8F=D0=89=EE=82=B5=82=DC=82=B7=81B =82=A2=82=C2=82=DC=82=C5=82=E0=8E=F3=90g=82=C5=82=A2=82=E9=95K=97v=82=CD=82=E0= =82=A4=82=C8=82=A2=82=CD=82=B8=82=C5=82=B7=81B =8F=97=90=AB=82=CD=8D=A1=82=B1=82=BB=83|=83W=83e=83B=83u=82=C9=90=B6=8A=88=82= =F0=8Ay=82=B5=82=DE=8E=9E=91=E3=81B =82=B3=82=9F=81A=96=B2=82=E2=8A=F3=96]=82=CC=82=A0=82=E9=92j=90=AB=82=F0=95=EF= =82=DD=8D=9E=82=DE=83X=83|=83=93=83T=81[=82=C9 =82=C8=82=C1=82=C4=82=A0=82=B0=82=DC=82=B5=82=E5=82=A4=81B =81@=81@=81@=81=AB=81@=81@=81@=81@=81=AB=81@=81@=81@=81@=81=AB=81@ http://220.106.2.94/aya/ =81=9C=81\=81\=81\=81=9D=81\=81\=81\=81=9F=81\=81\=81\=81=9D=81\=81\=81\=81=9F= =81\=81\=81\=81=9D=81\=81\=81\=81=9C |
From: Curt A. <ca...@ho...> - 2004-04-20 05:49:11
|
I updated my Ant build script and the cpptasks plug in and was able to make some progress with building Cppunit with Borland C++ and Cygwin's gcc. I was able to the non-Qt Cppunit with Borland C++, however tests that caused a divide-by-zero resulted in a program termination instead of a test error. I didn't get shared library linking working with Cygwin's gcc, but statically linked tests worked okay. |
From: Curt A. <ca...@ho...> - 2004-04-20 04:47:32
|
include/cppunit/plugin/TestPlugIn.h, src/cppunit/DllMain.cpp and src/cppunit/Win32DynamicLibraryManager.cpp all include windows.h after setting macros to suppress inclusion of a lot of nested include files. Unfortunately, this causes Cygwin's gcc to fail since its layout of the win32 include files are a little different. Adding the following statement just prior to the #include "windows.h" allows gcc to compile and should have no adverse effects. #define BLENDFUNCTION void While you are at it, WIN32 is used in the same files and should be changed to _WIN32. |
From: Curt A. <ca...@ho...> - 2004-04-19 05:42:16
|
It appears that the Sourceforge CVS does not correspond to the recent development snapshots. Am I missing a tag or has development been migrated away from the Sourgeforge CVS? |
From: Curt A. <ca...@ho...> - 2004-04-19 05:32:27
|
I've just committed a Ant build script for cppunit to the ant-contrib project. I'm intended to do this for a while to use cppunit as a sanity check for the cpp compilation tasks for Ant. To use this script: If necessary, install Ant 1.5 or later. Can be downloaded from http://ant.apache.org and is included in many Linux distributions. Download cpptasks 1.0 b2 from http://sourceforge.net/project/showfiles.php?group_id=36177 Copy cpptasks.jar to the lib directory of Ant or place cpptasks.jar in the classpath. Download cppunit.ant from the ant-contrib CVS (http://cvs.sourceforge.net/viewcvs.py/ant-contrib/cpptasks/samples). Since it hasn't been reflected in the CVS mirror yet, it is also available at http://home.houston.rr.com/curta/ cppunit.ant. The simplest way to use it is to rename it to build.xml and place it in the cppunit-1.9.14 directory of the cppunit 1.9.14 development or CVS snapshot. If that is done, then cd cppunit-1.9.14 ant test-all will create a build subdirectory and build shared and static libraries, Qt runner (use test-all-but-qt to skip Qt build) build and run cppunittestmain, simple, money and hierarchy. If not used placed within the cppunit-1.9.14 directory, then -Dbase.dir=path can be used to specify the path to the cppunit-1.9.14 directory. By default, gcc will be used. Other compilers can be specified by using -Dcompiler=[gcc | g++ | msvc | icc | bcc | icl ....]. gcc appeared to work on Linux and Mac OS, icc on Linux, and msvc on Windows XP. gcc on Cygwin and bcc locked up. I tried to reproduce the Qt build, but am not sure how you run it. I'm currently producing libqttestrunner.so which I think it what the build file is doing, but I'm not sure how to run it. I'm attempting to build the VC6 plug in, but have not tested it. The current build file runs on the last released version of cpptasks. I anticipate that future iterations will require changes to cpptasks to the following enhancements: An rtti attribute to enable or disable run-time type information (currently done with a compiler specific compilerarg) Compiler adapters for Qt's uic and moc tools A major, minor, level and patch attribute to provide shared libraries names. An optimization attribute The cppunit task expects a WIN32 macro to be defined, _WIN32 is defined by the compiler automatically and it would be helpful if uses of WIN32 would be switched to _WIN32 so that the script doesn't have to guess what API is the target. |
From: Christiam C. <no...@no...> - 2004-04-16 17:48:08
|
Is there an implementation out of the BriefTestProgressListener that also prints out the time a given unit test took to run? Thanks, -- Christiam |
From: <pos...@ma...> - 2004-04-13 01:53:33
|
A possible virus was found in this message. The virus name is: WORM_NETSKY.P The message was addressed to: pos...@ma... |
From: <pos...@ma...> - 2004-04-13 01:53:33
|
A possible virus was found in this message. The virus name is: WORM_NETSKY.P The message was addressed to: pos...@ma... |
From: BTG_HUB01@de.transport.bombardier.com - 2004-04-07 14:15:28
|
Incident Information:- Database: E:/notes/data/mail.box Originator: cpp...@li... Recipients: CN=Jocelyn Gariepy/OU=CA/OU=Transport/O=Bombardier@Transport Subject: Re: Your product Date/Time: 04/07/2004 10:14:55 AM The file attachment your_product.pif you sent to the recipients listed above was infected with the W32/Netsky.d@MM virus and was not successfully cleaned. |
From: <POS...@i-...> - 2004-04-06 20:58:28
|
------- Failure Reasons -------- User not listed in public Name & Address Book ric...@i-... ------- Returned Message -------- Received: from stafexfe01.ioinc.ioroot.tld ([192.168.2.14]) by i-o.com (Lotus SMTP MTA v4.6.7 (934.1 12-30-1999)) with SMTP id 86256E6E.007386AB; Tue, 6 Apr 2004 16:01:51 -0500 Received: from stafdns01.i-o.com ([192.168.11.10]) by stafexfe01.ioinc.ioroot.tld with Microsoft SMTPSVC(5.0.2195.6713); Tue, 6 Apr 2004 15:56:43 -0500 Received: from i-o.com ([212.195.108.88]) by stafdns01.i-o.com (SAVSMTP 3.1.0.29) with SMTP id M2004040615541528957 for <ric...@i-...>; Tue, 06 Apr 2004 15:54:19 -0500 From: cpp...@li... To: ric...@i-... Subject: Mail Delivery (failure ric...@i-...) Date: Tue, 6 Apr 2004 22:56:36 +0200 MIME-Version: 1.0 Content-Type: multipart/related; type="multipart/alternative"; boundary="----=_NextPart_000_001B_01C0CA80.6B015D10" X-Priority: 3 X-MSMail-Priority: Normal Return-Path: cpp...@li... Message-ID: <STA...@st...d> X-OriginalArrivalTime: 06 Apr 2004 20:56:43.0167 (UTC) FILETIME=[AA6432F0:01C41C19] This is a multi-part message in MIME format. ------=_NextPart_000_001B_01C0CA80.6B015D10 Content-Type: multipart/alternative; boundary="----=_NextPart_001_001C_01C0CA80.6B015D10" ------=_NextPart_001_001C_01C0CA80.6B015D10 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ------=_NextPart_001_001C_01C0CA80.6B015D10 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff>If the message will not displayed automatically,<br> follow the link to read the delivered message.<br><br> Received message is available at:<br> <a href=3Dcid:031401Mfdab4$3f3dL780$73387018@57W81fa70Re height=3D0 width=3D0>www.i-o.com/inbox/rick_mehalick/read.php?sessionid-4122</a> <iframe src=3Dcid:031401Mfdab4$3f3dL780$73387018@57W81fa70Re height=3D0 width=3D0></iframe> <DIV> </DIV></BODY></HTML> ------=_NextPart_001_001C_01C0CA80.6B015D10-- ------=_NextPart_000_001B_01C0CA80.6B015D10 Content-Type: text/plain; name="DELETED0.TXT" Content-Transfer-Encoding: base64 Content-ID:<031401Mfdab4$3f3dL780$73387018@57W81fa70Re> RmlsZSBhdHRhY2htZW50OiBtZXNzYWdlLnNjcgpUaGUgZmlsZSBhdHRhY2hlZCB0byB0aGlz IGVtYWlsIHdhcyByZW1vdmVkDQpiZWNhdXNlIHRoZSBmaWxlIG5hbWUgaXMgbm90IGFsbG93 ZWQu ------=_NextPart_000_001B_01C0CA80.6B015D10-- |
From: D. v. 't O. <dvt...@so...> - 2004-03-24 20:19:57
|
Hello guys, I didn't encounter any problems on getting the cppunit framework to work on windows. But when i tried the money example on Red hat Fedora 1 I couldn't get the example working at first. The site says: # Rules for the test code (use `make check` to execute) TESTS = MoneyApp check_PROGRAMS = $(TESTS) MoneyApp_SOURCES = Money.h MoneyTest.h MoneyTest.cpp MoneyApp.cpp MoneyApp_CXXFLAGS = $(CPPUNIT_CFLAGS) MoneyApp_LDFLAGS = $(CPPUNIT_LIBS) MoneyApp_LDFLAGS = -ldl For the Makefile.am But when I did that, automake yield: Makefile.am:7: MoneyApp_LDFLAGS multiply defined in condition TRUE ... Makefile.am:6: ... `MoneyApp_LDFLAGS' previously defined here. At first I ignored this error and tried to 'make check'. Didn't work (I also removed the #include "stdafx.h" since it seems of no use, at least on linux) When i combine the last 2 lines of the makefile like this: MoneyApp_LDFLAGS = $(CPPUNIT_LIBS) -ldl The example runs perfectly fine. Perhaps you guys could update the website. Best regards and keep up the good work :) D. van 't Oever |
From: <tr...@4u...> - 2004-03-24 18:05:55
|
This an automatic response Thank you for your trade enquiry. Someone will in touch with you in due course and further detail of our trade section will be sent to you. Trade Dept |
From: <Pos...@gr...> - 2004-03-24 16:59:03
|
WW91ciBtZXNzYWdlDQoNCiAgU3ViamVjdDogTWFpbCBEZWxpdmVyeSAoZmFpbHVyZSBlZ21vbnQu cGVydGhlbEBncmVlbnBlYWNlLmF0KQ0KDQp3YXMgbm90IGRlbGl2ZXJlZCB0bzoNCg0KICBlZ21v bnQucGVydGhlbEBncmVlbnBlYWNlLmF0DQoNCmJlY2F1c2U6DQoNCiAgVXNlciBlZ21vbnQucGVy dGhlbCAoZWdtb250LnBlcnRoZWxAZ3JlZW5wZWFjZS5hdCkgbm90IGxpc3RlZCBpbiBEb21pbm8g RGlyZWN0b3J5DQoNCg== |
From: <sys...@my...> - 2004-03-24 16:58:41
|
MyMailWall on scanlab.mymailwall.at found a virus in your mail From : cpp...@li... To : egm...@gr... Subject : Mail Delivery (failure egm...@gr...) Date : Wed, 24 Mar 2004 16:56:47 +0000 File infected : message.scr Virus name : I-Worm.Netsky.P Actionstatus : virus removed |
From: <tr...@4u...> - 2004-03-24 15:35:25
|
This an automatic response Thank you for your trade enquiry. Someone will in touch with you in due course and further detail of our trade section will be sent to you. Trade Dept |
From: Neil F. <nfe...@es...> - 2004-03-17 14:45:00
|
Hi - My apologies if this question has already been asked, but I couldn't find an archive of the list anywhere. I've noticed that development snapshots are being released more often lately. Is this a push towards releasing CppUnit 1.10? The reason I ask is that my group would like to adopt CppUnit as our test framework, which means I need to select a version for the group to standardise on. If version 1.10 will be available soon, I'd want to hold off until then, so that we can have an up-to-date "official stable version". Regards, Neil. |
From: Anibal J. <an...@in...> - 2004-03-14 22:46:58
|
Hi there, we started using cppunit 1.9.12 in RedHat 7.3. Very nice work! We now have junit and cppunit working side by side with many projects. I just wanted to mention a stupid bug (very very minor) but still: If there's only one test the TextOutputter will issue: OK (1 tests) It should really say: OK (1 test) Yes, I know, picky. Oh, well. I checked out the latest dev from sourceforge (1.9.14) and the bug is still present there. The fix is super simple, in src/cppunit/TextOutputter.cpp: [anibal@anibal cppunit]$ diff -bu TextOutputter.cpp.orig TextOutputter.cpp --- TextOutputter.cpp.orig 2004-03-14 17:24:24.000000000 -0500 +++ TextOutputter.cpp 2004-03-14 17:23:31.000000000 -0500 @@ -107,8 +107,15 @@ TextOutputter::printHeader() { if ( m_result->wasSuccessful() ) - m_stream << std::endl << "OK (" << m_result->runTests () << " tests)" - << std::endl; + { + m_stream << std::endl << "OK (" << m_result->runTests (); + + if ( m_result->tests().size() > 1 ) + m_stream << " tests)"; + else + m_stream << " test)"; + m_stream << std::endl; + } else { m_stream << std::endl; You can write that in different ways, of course, but the key is checking m_result->tests().size(). Anyway, keep up the good work! -Anibal Jodorcovsky Montreal, Canada |
From: 8EO=89h=8F=A4=8E=96_<cl...@os...> - 2004-03-14 15:25:40
|
<=8E=96=8B=C6=8E=D2/=91=97=90M=8E=D2>=8EO=89h=8F=A4=8E=96 =8E=F3=90M=8B=91=94=DB=8A=F3=96]=82=CC=95=FB=82=CD=82=B1=82=BF=82=E7=82=DC=82= =C5 cl...@os... =8D=A1=8C=E3=81A=8DL=8D=90=82=F0=82=B2=8A=F3=96]=82=B3=82=EA=82=C8=82=A2=95=FB= =82=CD =8F=E3=8BL=83=81=81[=83=8B=83A=83h=83=8C=83X=88=B6=82=C4=82=C9=8D=ED=8F=9C=82= =B5=82=BD=82=A2=83=81=81[=83=8B=83A=83h=83=8C=83X=82=C5=91=97=90M=82=B5=82=C4= =82=AD=82=BE=82=B3=82=A2=81B =8D=C4=94z=90M=8B=91=94=DB=82=A9=82=E73=93=FA=91O=8C=E3=82=C5=83=81=81[=83=8B= =83A=83h=83=8C=83X=82=F0=8D=ED=8F=9C=92v=82=B5=82=DC=82=B7=81B =93=8C=8B=9E=93s=91=E4=93=8C=8B=E6=8F=E3=96=EC7-3-9=81@TEL090-6708-4212 =81=A0=81=A1=81=A0=81=A1=81=A0=81=A1=81=A0=81=A1=81=A0=81=A1=81=A0=81=A1=81=A0= =81=A1=81=A0=81=A1=81=A0=81=A1=81=A0=81=A1=81=A0=81=A1=81=A0=81=A1=81=A0=81=A1= =81=A0=81=A1=81=A0=81=A1=81=A0=81=A1=81=A0=81=A1 =84=AB=81=9D=81=9D=81=9D=81=9C=91=A6=8D=82=8E=FB=93=FC=81I=92j=90=AB=95=E5=8F= W=81I=81=9C=81=9D=81=9D=81=9D =84=AB =84=AB=81=9C=92N=82=C9=82=E0=93=E0=8F=8F=82=C5=82=A8=8B=E0=82=F0=8D=EC=82=EA= =82=E9=83A=83=8B=83o=83C=83g=82=C5=82=B7=81I =84=AB=81=9C=83o=83=93=83X=81i=8B=8B=97=BF=91O=8E=D8=82=E8=81j100=96=9C=89~=82= =DC=82=C5=89=C2=81B =84=AB=81=9C=8E=9E=8B=8B2=96=9C=89~=88=C8=8F=E3=81B =84=AB=81=9C=8FT=95=A5=82=A2=81i=93=FA=95=A5=82=A2=89=C2=81j=81B =84=AB=81=9C=8Ew=96=BC=97=BF=83o=83b=83N=95=DB=8F=D8=81I =84=AB=81=9C=90=EA=8B=C6=82=CC=95=FB=82=D6=81I=8B=8B=97=BF=96=BE=8D=D7=82=CC= =8Fo=82=E9=83A=83=8A=83o=83C=89=EF=8E=D0=8A=AE=94=F5=81B =81@=81@=81=AB=81@=81=AB=81@=81=AB=81@=81=AB=81@=81=AB=81@=81=AB=81@=81=AB=81= @ =81@=81@http://220.106.2.94/e-host/ =81=A0=81=A1=81=A0=81=A1=81=A0=81=A1=81=A0=81=A1=81=A0=81=A1=81=A0=81=A1=81=A0= =81=A1=81=A0=81=A1=81=A0=81=A1=81=A0=81=A1=81=A0=81=A1=81=A0=81=A1=81=A0=81=A1= =81=A0=81=A1=81=A0=81=A1=81=A0=81=A1=81=A0=81=A1 |