cppunit-devel Mailing List for CppUnit - C++ port of JUnit (Page 12)
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: Maksim <lo...@ta...> - 2005-04-05 16:44:47
|
Hello, I wanted to ask somebody to add filenames needed for inclusion somewhere around examples. I had some problem with it and I quess some other starters can have problems too. Thank you. |
From: Henning W. <hen...@di...> - 2005-03-30 20:37:09
|
Am Mittwoch, 30. M=E4rz 2005 16:02 schrieb Usha Kodali: > Hi, > > We are using vc7.1 for our project build. > I am getting linking errors when using Cppunit 10.1.2. > Can you please let me know how to overcome those errors? > It works fine with V6.0.But we need to implement CPPUnit in VC7.0 > I found that CppUnit 2.0 supports VC7.1 > > I wish to know where to find the link for download. > > Regards > > usha Hello Usha, you can checkout the cppunit2 directory through anonymous cvs for now.=20 (http://cvs.sourceforge.net/viewcvs.py/cppunit/cppunit2/) You find general instruction about the cvs access on the following page: http://sourceforge.net/cvs/?group_id=3D11795 Perhaps some of the developers could provide a updated development snapsh= ot on=20 the webpage? The last snapshot (v. 1.9.14) is from 03.2004. Best regards, Henning |
From: Usha K. <Ush...@te...> - 2005-03-30 14:02:58
|
Hi, =20 We are using vc7.1 for our project build. I am getting linking errors when using Cppunit 10.1.2. Can you please let me know how to overcome those errors? It works fine with V6.0.But we need to implement CPPUnit in VC7.0 =20 I found that CppUnit 2.0 supports VC7.1 I wish to know where to find the link for download. =20 =20 Regards =20 usha |
From: David R. <dre...@gm...> - 2005-03-26 03:09:53
|
On Thu, 24 Mar 2005 13:40:39 -0800, Gleicher, Ben <ben...@bo...> wrote: > Hi, > > I'm a newbie to CppUnit. Do you know if anyone has used CppUnit to do unit test on VxWorks? Where can I get information about that? > > Thanks. > > Ben Gleicher Hi, I've been using it for unit testing on VxWorks for quite a few months now. With Tornado 2.2's gcc the latest version of cppunit builds without any problems. I link my unit tests + code under test with a cppunit archive build to create a .out. For each test cycle I just do the following 1. load the .out on the target 2. run the tests 3. unload the .out I help automate the process I use a python script that gets run from a post-build rule which uploads the .out to the target via ftp and then does steps 1-3 via telnet, so I get the results of the tests on the pc doing the build. Hope that helps. - David |
From: Gleicher, B. <ben...@bo...> - 2005-03-24 21:40:56
|
Hi, I'm a newbie to CppUnit. Do you know if anyone has used CppUnit to do = unit test on VxWorks? Where can I get information about that? Thanks. Ben Gleicher |
From: Kevin B. <be...@nc...> - 2005-03-21 17:51:28
|
We have had need of the following: CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE(expected, actual, delta, msg) It is easy for us to create a "client code" version of this, but I'm passing it along as a suggestion for the library. Thanks, Kevin ---bealer-at-ncbi.nlm.nih.gov---(Contractor)-------------------------- New fossil evidence reveals humans may have evolved from skeletons. |
From: Shelby A. <Ja...@ka...> - 2005-03-18 08:30:28
|
Hello, notion of decent behaviour left me from other days, thief and pir If some other planter had bought me, he explained, it is odds indrawn breath. Since you perceive it, sir, I wonder that you trouble to be so oath. He considered his prisoner again. And because Nature in him was stronger - as it is in most of us - Surely the thing is worth a little risk? More tremulous than e observe, has brought me into slavery. I'm thinking it's more ple the rail, immediately above and behind Lord Julian, stood Captain Mr. Pollexfen - a Whig at heart despite the position of Have a good day. |
From: Armstrong, A. (AGRE) <Aar...@sm...> - 2005-03-04 20:32:29
|
On http://cppunit.sourceforge.net/doc/lastest/cppunit_cookbook.html =0D In the code example =0D #include <cppunit/extensions/TestFactoryRegistry.h <http://cppunit.sourceforge.net/doc/lastest/_test_factory_registry_8h.ht ml> > #include <cppunit/ui/text/TestRunner.h <http://cppunit.sourceforge.net/doc/lastest/cppunit_2ui_2text_2_test_run ner_8h.html> > =0D int main( int argc, char **argv) { CppUnit::TextUi::TestRunner runner; CppUnit::TestFactoryRegistry ®istry =3D CppUnit::TestFactoryRegistry::getRegistry(); runner.addTest( registry.makeTest() ); bool wasSuccessful =3D runner.run( "", false ); return wasSuccessful; } =0D =0D The next to last line should read =0D return !wasSuccessful; =0D =0D Aaron Armstrong ****************************************** The information contained in, or attached to, this e-mail, may contain= confidential information and is intended solely for the use of the= individual or entity to whom they are addressed and may be subject to= legal privilege. If you have received this e-mail in error you should= notify the sender immediately by reply e-mail, delete the message from= your system and notify your system manager. Please do not copy it for any= purpose, or disclose its contents to any other person. The views or= opinions presented in this e-mail are solely those of the author and do= not necessarily represent those of the company. The recipient should= check this e-mail and any attachments for the presence of viruses. The= company accepts no liability for any damage caused, directly or= indirectly, by any virus transmitted in this email. ****************************************** |
From: Samuele C. <Bl...@fu...> - 2005-03-03 11:47:34
|
Hello, Have a nice day. |
From: <ms...@po...> - 2005-03-01 06:50:26
|
At 14:12 2005-02-28, Dave Hoffer wrote: >Yes, that is what I use also but I do not see the text "not implemented" >show up anywhere when the test fails. > >Again, the command window just shows the F instead of the dot. The IDE >shows something similar to First-chance exception at 0x7c81eb33 in > >App.exe: Microsoft C++ exception: CppUnit::Exception @ 0x0012e43c. > >What am I doing wrong? can you post your src code in a zip or what not? |
From: Dave H. <DH...@xr...> - 2005-02-28 22:12:18
|
Yes, that is what I use also but I do not see the text "not implemented" show up anywhere when the test fails. Again, the command window just shows the F instead of the dot. The IDE shows something similar to First-chance exception at 0x7c81eb33 in >App.exe: Microsoft C++ exception: CppUnit::Exception @ 0x0012e43c. What am I doing wrong? -dh -----Original Message----- From: ms...@po... [mailto:ms...@po...]=20 Sent: Sunday, February 27, 2005 8:27 PM To: Dave Hoffer; cpp...@li... Subject: Re: [Cppunit-devel] cppUnit usage questions At 16:56 2005-02-27, Dave Hoffer wrote: >I have some very basic questions regarding cppUnit that I am hoping >someone can help me with. I am using the non-GUI runner, my code is >ANSI C++, my IDE is Visual Studio NET 2003. When I run my test suite >failed tests show as an F in the command window and as the following in >the IDE's output window. First-chance exception at 0x7c81eb33 in >App.exe: Microsoft C++ exception: CppUnit::Exception @ 0x0012e43c. > >When a test fails I have no way of knowing what test failed. I have >added the 'message' parameter and I expected it to show in the IDE's >output window but it does not. How can I show these messages and know >which tests fail? > >-dh I use CPPUNIT_ASSERT_MESSAGE e.g. CPPUNIT_ASSERT_MESSAGE( "not implemented", true =3D=3D false ); and I get a message spammed out=20 |
From: <ms...@po...> - 2005-02-28 01:27:56
|
At 16:56 2005-02-27, Dave Hoffer wrote: >I have some very basic questions regarding cppUnit that I am hoping >someone can help me with. I am using the non-GUI runner, my code is >ANSI C++, my IDE is Visual Studio NET 2003. When I run my test suite >failed tests show as an F in the command window and as the following in >the IDE's output window. First-chance exception at 0x7c81eb33 in >App.exe: Microsoft C++ exception: CppUnit::Exception @ 0x0012e43c. > >When a test fails I have no way of knowing what test failed. I have >added the 'message' parameter and I expected it to show in the IDE's >output window but it does not. How can I show these messages and know >which tests fail? > >-dh I use CPPUNIT_ASSERT_MESSAGE e.g. CPPUNIT_ASSERT_MESSAGE( "not implemented", true == false ); and I get a message spammed out |
From: Dave H. <DH...@xr...> - 2005-02-28 00:57:04
|
I have some very basic questions regarding cppUnit that I am hoping someone can help me with. I am using the non-GUI runner, my code is ANSI C++, my IDE is Visual Studio NET 2003. When I run my test suite failed tests show as an F in the command window and as the following in the IDE's output window. First-chance exception at 0x7c81eb33 in App.exe: Microsoft C++ exception: CppUnit::Exception @ 0x0012e43c. When a test fails I have no way of knowing what test failed. I have added the 'message' parameter and I expected it to show in the IDE's output window but it does not. How can I show these messages and know which tests fail? -dh |
From: Gary A. <gar...@wi...> - 2005-02-23 15:04:53
|
Look in the patch section I have a submitted files that work with Visual Studio .NET |
From: <nic...@me...> - 2005-02-23 10:01:21
|
Les informo que mi nueva direccion de correo es nic...@is.... Por favor tome nota para nuevos envios. Muchas gracias. |
From: <Eri...@in...> - 2005-02-22 21:10:55
|
Guys: I'm trying to build CppUnit 1.10.2 under Microsoft Visual C++ .NET 55524-651-0000007-18664. Won't build properly. It all has to do with the add ins. The structure seems to have changed under .NET. 1) The headers included in 2) The IDSAddIn class referenced in DSAddInin .h has changed to AddIn. 3) The structure of add ins to .NET is substantially different than the code you provide. Do you have a version that will work with .NET? Eric Gufford Fixed Income Systems 212-497-3324 |
From: Paulo J. de O. C. de M. <po...@sa...> - 2005-02-20 01:14:22
|
Hi all, I'm using cppunit for the first time for checking a program I'm currently developing. The first test I've made is for the parser which receives a filename, opens the file and check for syntactic errors returning true if everything is ok, or false if it is not. The problem is that I build during setUp() a list of all the files I can find in a benchmarks directory and then ran in a for loop like this: for (std::list<string>::const_iterator i = paths.begin();i != paths.end(); i++) { cout << endl << "Parsing " << *i; p = new Parser(*i); CPPUNIT_ASSERT(p->parseFile(foo)); } Well, paths is a list<string> with the filenames to test. The problem is that as soon as 1 file fails calling CPPUNIT_ASSERT with false, no more files are tested. How can I check all the files and only after that I get the results with the files that failed and the ones that passed through? One problem I faced is that I cannot find docs for cppunit with examples, all I found was the wiki and doxygen docs which didn't seem to help me much with these issues. Cheers, -- Paulo Jorge Matos - pocm at sat inesc-id pt Computer and Software Engineering INESC-ID - SAT Group |
From: mdos <md...@lu...> - 2005-02-17 14:47:37
|
Hello: I was just perusing the CPPUnit project page for 1.10.2, very nice job by the way, and I was wondering what tool(s) you used to generate the online docs. Doxygen? Something else? Thanks. -Marc |
From: Toniu <to...@gm...> - 2005-02-09 14:47:42
|
<html> <body> <br> Hi men, <br><br> im working with cppUnit for a universituy work. Im following instructions on page:<br><br> <a href="http://cppunit.sourceforge.net/doc/lastest/money_example.html" eudora="autourl">http://cppunit.sourceforge.net/doc/lastest/money_example.html</a><br><br> <a name="sec_post_build"></a>I think i found an error, in the "<br> <h3><b>Setting up automated post-build testing (VC++)</b></h3>" section <br> <x-tab> </x-tab><br> <x-tab> </x-tab>On third point it tells... <ul> <li>In 'post-build command(s)', add a new line: $(TargetPath)$ </ul><br> <x-tab> </x-tab>But instead $(TargetPath)$ i think it will tell $(TargetPath) without last $.<br><br> Thanks for your work.<br> Regards.<br><br> Toniu </body> </html> |
From: Kettle, St J. <StJ...@dp...> - 2005-02-07 07:02:23
|
Dear folks at cppunit Thus far I have been using a simple test framework by Kevlin Henney. Today I have downloaded your framework and worked through the Money example= OK. Thanks for this effort. I will use it. By the way, a minor fix is needed for this example. The following is wrong.= The macro here CPPUNIT_ASSERT_EQUAL( expectedMoney =3D=3D money.getAmount() ); // +=3D wo= rks should be CPPUNIT_ASSERT. StJohn Kettle=20 Analyst/Programmer Queensland Fisheries Service=20 Department of Primary Industries=20 Telephone 07 3227 8745 Facsimile 07 3227 8788=20 Email: stj...@dp...=20 Website www.dpi.qld.gov.au=20 ********************************DISCLAIMER**************************** The information contained in the above e-mail message or messages=20 (which includes any attachments) is confidential and may be legally=20 privileged. It is intended only for the use of the person or entity=20 to which it is addressed. If you are not the addressee any form of=20 disclosure, copying, modification, distribution or any action taken=20 or omitted in reliance on the information is unauthorised. Opinions=20 contained in the message(s) do not necessarily reflect the opinions=20 of the Queensland Government and its authorities. If you received=20 this communication in error, please notify the sender immediately and=20 delete it from your computer system network.=20 |
From: Kevin C. <Kev...@At...> - 2005-02-04 22:22:39
|
Hi, I am using the XmlOutputter to write the results of my unit tests. I have looked in the documentation for some description of the XML schema, but I haven't found it. Please include some documentation of the schema in a future release. It would eliminate the guesswork in parsing the output. Thanks very much. =20 Kevin Coskey =20 |
From: Kevin C. <Kev...@At...> - 2005-02-03 01:51:33
|
Hi, We have started using CppUnit to test new code that we plan to add to our code base, all on Windows. There is a significant risk factor that might impair the integration of our unit testing with our existing code base. The difference is in the run-time libraries used. Consider the case of a release build. The problem is similar for the debug build. The run-time library is selected in the Code Generation category of the C/C++ tab of the project settings. The projects in our code base use the Multithreaded library (/MT option). However, CppUnit uses the Multithreaded DLL library (/MD option). Our unit tests are built with the Multithreaded DLL library, so that they build cleanly. Mixing these different settings in the code base when we start using the new classes will likely cause baffling linker errors. Have you heard of this problem before? Do you have suggestions on how we can get out of this problem? Thanks. =20 Kevin Coskey =20 |
From: <Sur...@al...> - 2005-01-27 05:43:22
|
From: Jim E. <jam...@ya...> - 2005-01-21 21:32:01
|
I wish to use but not build CppUnit. I see no binaries in the distribution. Are any available? Thank you. __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo |
From: Leonardo A. de P. e S. (E. Software) <leo...@el...> - 2005-01-05 18:12:01
|
Dear CppUnit developers, I have noted an odd behavior from cppUnit when using MfcTestRunner. I have compiled my project on my machine, a Windows XP, and then I have copied the binary to another machine also a Windows XP, with the required dlls. When I have pressed on "Browse" button, the application has quietly failed. The behavior maintains the same for any attempt to run it on Windows XP machines. On Windows 98 machines, runner´s run method is called, but the test names on "Browse" window didn´t appear. I have debugged the application and the problem occured inside MfcTestRunner´s run method. I´m using cppUnit 1.10.2, compiled on VS6, and linked with STLport. I appretiate your help and I´m avaible to give you any detail that you need to realize where is the problem. Thanks in advance. Best Regards, -- Leonardo Silva Elipse Software leo...@el... +55 51 3346 4699 |