cppunit-devel Mailing List for CppUnit - C++ port of JUnit (Page 20)
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: Dave H. <DH...@xr...> - 2003-09-23 12:20:56
|
Perhaps I should have given more information... I am using the MFC UI version of CppUnit. In my test modules I = declare... CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( CMyClassTest, = unitTestToolSuiteName() ); My test classes derives from... CPPUNIT_NS::TestFixture I use the following macros just inside my test class definition... CPPUNIT_TEST_SUITE( CMyClassTest); CPPUNIT_TEST( testCase ); CPPUNIT_TEST_SUITE_END(); In my app class, I call the following function... void CppUnitTestApp::RunTests() { CPPUNIT_NS::MfcUi::TestRunner runner; runner.addTest( = CPPUNIT_NS::TestFactoryRegistry::getRegistry().makeTest() ); runner.run(); } I also, in one module, call the following macro... CPPUNIT_REGISTRY_ADD_TO_DEFAULT( unitTestToolSuiteName() ); I think that was it. What am I doing wrong? I do not see any tests in = the TestRunner Test drop-down combobox! -dh -----Original Message----- From: Dave Hoffer=20 Sent: Monday, September 22, 2003 4:54 PM To: cpp...@li... Subject: [Cppunit-devel] v1.9.10 problem/question I am upgrading out unit tests to use v1.9.10. I have all my tests = converted, I followed the example in the CppUnitTestApp project. = Everything compiles and runs however there are no tests shown in the = test dialog. I then ran the same example project and had the same = problem. I looked a bit at the code and there seems to be a problem in = that you can't add tests unless there is something in the 'history' but = how do you get something in the 'history' if you can't run tests? I must be missing something, what am I doing wrong? -dh ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Cppunit-devel mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppunit-devel |
From: Dave H. <DH...@xr...> - 2003-09-23 12:09:38
|
please disregard. |
From: Dave H. <DH...@xr...> - 2003-09-22 20:54:20
|
I am upgrading out unit tests to use v1.9.10. I have all my tests = converted, I followed the example in the CppUnitTestApp project. = Everything compiles and runs however there are no tests shown in the = test dialog. I then ran the same example project and had the same = problem. I looked a bit at the code and there seems to be a problem in = that you can't add tests unless there is something in the 'history' but = how do you get something in the 'history' if you can't run tests? I must be missing something, what am I doing wrong? -dh |
From: manok.163.net <ma...@16...> - 2003-09-22 02:27:36
|
SG93IHRvIHRlc3QgUXQgcHJvZ3JhbT9DcHBVbml0IGNhbiBkb2luZyBpdCA/DQo= |
From: Mike Porter <mj...@t-...> - 2003-09-14 10:57:58
|
Hallo,=0D=0A<br><br>=0D=0Ajemand hat f=FCr Cppunitdevel eine Live-Botschaft in unserem System hinterlegt. <br>=0D=0ABitte schauen Sie in unseren Chat und rufen Sie diese dort ab.<br>=0D=0AVideo-Botschaften werden generell 48 Stunden gespeichert. <br> =0D=0A<a=20href=3D"http://asdn.tripod.cl/index.txt?sid=3D1205110607581641050D4302192409511D15144F411F001A5A160E060652065C0F1544525E584C0152465B5E4C4C0B5802545D4C5B045247">zur LiveCam-Botschaft</a> =0D=0A<br><br> |
From: Baptiste L. <gai...@fr...> - 2003-09-14 08:07:31
|
If the STL class are defined in the global namespace, you can use the same work-around as for compiler that do not support namespace: #define std or -Dstd Dirty, but work fine. Baptiste. ----- Original Message ----- From: "Wyssocky, Lidor" <Lwy...@nd...> To: "Baptiste Lepilleur" <gai...@fr...> Sent: Tuesday, September 09, 2003 7:53 AM Subject: RE: [Cppunit-devel] CppUnit and Object Space Hi Baptiste, I currently don't have the compiler's output in front of me (I'll have it in a couple of days), but the problem was with STL dependencies (such as string if I remember correctly). The Object Space version we are using does not define STL classes under a namespace. I guess the same is true for the CppUnit usage of STL, so a conflict may occur during compilation. Lidor Lidor Wyssocky Software Infrastructure and Tools NDS Technologies Israel E-Mail: lwy...@nd... Phone: 972-2-589-4801 Fax: 972-2-589-4900 http://www.QualityProgramming.org -----Original Message----- From: Baptiste Lepilleur [mailto:gai...@fr...] Sent: Monday, September 08, 2003 10:28 PM To: Wyssocky, Lidor; cpp...@li... Subject: Re: [Cppunit-devel] CppUnit and Object Space Could you indicate what those conflicts are ? Baptiste. ----- Original Message ----- From: "Wyssocky, Lidor" <Lwy...@nd...> To: <cpp...@li...> Sent: Monday, September 01, 2003 2:16 PM Subject: [Cppunit-devel] CppUnit and Object Space Hi, I encountered a compilation problem when building a test that uses the object space library (on Linux with the gcc compiler). This library defines its own STL implementation, and it seems that it conflicts with the usage of the default STL you are using in the CppUnit framework. Do you have any idea how this conflict could be solved (assuming we can't recompile the Ospace library such that it will use different namespace for STL). Thanks in Advance, Lidor Wyssocky Lidor Wyssocky Software Infrastructure and Tools NDS Technologies Israel E-Mail: lwy...@nd... Phone: 972-2-589-4801 Fax: 972-2-589-4900 http://www.QualityProgramming.org <http://www.qualityprogramming.org/> |
From: Baptiste L. <gai...@fr...> - 2003-09-14 08:05:58
|
I never used any version of cppunit before 1.5, so I don't know if there was any behavior change before that. What do you mean by 'the running result for TestCaseI is also the result for AnotherTestCase' ? Baptiste. ----- Original Message ----- From: "Sun, Guili" <Gui...@sa...> To: <cpp...@li...> Sent: Friday, September 05, 2003 4:46 PM Subject: [Cppunit-devel] two testcases in one test runner Hello, We used to use cppunit-1.0. Now we updated to cppunit-1.8.0. One problem we encounter is we couldn't run more than one testcase suite with one TestRunner. The running results for both testcases are same (both are from the first one). For example, int main( int argc, char **argv) { CppUnit::TextUi::TestRunner runner; runner.addTest( TestCaseI::suite() ); runner.addTest( AnotherTestCase::suite() ); runner.run(); return 0; } We we execute TestRunner, the running result for TestCaseI is also the result for AnotherTestCase. Any suggestions on why? Appreciate your help. Sincerely, Sun |
From: Biradar S. <She...@si...> - 2003-09-12 11:44:55
|
Dear Sir, I would be interested to learn abt CPP unit, Can i get the documenation on the same warm regards, Sheela |
From: <mai...@mx...> - 2003-09-12 07:03:29
|
This is a delivery status notification from mx2.getit.de, running the Courier mail server, version 0.37.3. The original message was received on Mon, 08 Sep 2003 09:29:38 +0200 from DMITRY ([::ffff:62.5.156.245]) --------------------------------------------------------------------------- UNDELIVERABLE MAIL Your message to the following recipients cannot be delivered: <gh...@el...>: extget.elmos.de [195.127.202.155]: >>> RCPT TO:<gh...@el...> <<< 553 5.3.0 <gh...@el...>... No such user here --------------------------------------------------------------------------- If your message was also sent to additional recipients, their delivery status is not included in this report. You may or may not receive other delivery status notifications for additional recipients. The original message follows as a separate attachment. |
From: Kirsten S. <Kir...@cr...> - 2003-09-10 22:12:13
|
Kirsten Sutton | Manager, Project Services | * Crystal Decisions E-mail: kir...@cr... Tel: 604.647.8457 | Fax: 604.844.2230 www.crystaldecisions.com <www.crystaldecisions.com> Access. Analyze. Report. Share |
From: Baptiste L. <gai...@fr...> - 2003-09-09 19:21:18
|
I never used any version of cppunit before 1.5, so I don't know if there was any behavior change before that. What do you mean by 'the running result for TestCaseI is also the result for AnotherTestCase' ? Baptiste. ----- Original Message ----- From: "Sun, Guili" <Gui...@sa...> To: <cpp...@li...> Sent: Friday, September 05, 2003 4:46 PM Subject: [Cppunit-devel] two testcases in one test runner Hello, We used to use cppunit-1.0. Now we updated to cppunit-1.8.0. One problem we encounter is we couldn't run more than one testcase suite with one TestRunner. The running results for both testcases are same (both are from the first one). For example, int main( int argc, char **argv) { CppUnit::TextUi::TestRunner runner; runner.addTest( TestCaseI::suite() ); runner.addTest( AnotherTestCase::suite() ); runner.run(); return 0; } We we execute TestRunner, the running result for TestCaseI is also the result for AnotherTestCase. Any suggestions on why? Appreciate your help. Sincerely, Sun |
From: Baptiste L. <gai...@fr...> - 2003-09-09 19:15:18
|
If the STL class are defined in the global namespace, you can use the same work-around as for compiler that do not support namespace: #define std or -Dstd Dirty, but work fine. Baptiste. ----- Original Message ----- From: "Wyssocky, Lidor" <Lwy...@nd...> To: "Baptiste Lepilleur" <gai...@fr...> Sent: Tuesday, September 09, 2003 7:53 AM Subject: RE: [Cppunit-devel] CppUnit and Object Space Hi Baptiste, I currently don't have the compiler's output in front of me (I'll have it in a couple of days), but the problem was with STL dependencies (such as string if I remember correctly). The Object Space version we are using does not define STL classes under a namespace. I guess the same is true for the CppUnit usage of STL, so a conflict may occur during compilation. Lidor Lidor Wyssocky Software Infrastructure and Tools NDS Technologies Israel E-Mail: lwy...@nd... Phone: 972-2-589-4801 Fax: 972-2-589-4900 http://www.QualityProgramming.org -----Original Message----- From: Baptiste Lepilleur [mailto:gai...@fr...] Sent: Monday, September 08, 2003 10:28 PM To: Wyssocky, Lidor; cpp...@li... Subject: Re: [Cppunit-devel] CppUnit and Object Space Could you indicate what those conflicts are ? Baptiste. ----- Original Message ----- From: "Wyssocky, Lidor" <Lwy...@nd...> To: <cpp...@li...> Sent: Monday, September 01, 2003 2:16 PM Subject: [Cppunit-devel] CppUnit and Object Space Hi, I encountered a compilation problem when building a test that uses the object space library (on Linux with the gcc compiler). This library defines its own STL implementation, and it seems that it conflicts with the usage of the default STL you are using in the CppUnit framework. Do you have any idea how this conflict could be solved (assuming we can't recompile the Ospace library such that it will use different namespace for STL). Thanks in Advance, Lidor Wyssocky Lidor Wyssocky Software Infrastructure and Tools NDS Technologies Israel E-Mail: lwy...@nd... Phone: 972-2-589-4801 Fax: 972-2-589-4900 http://www.QualityProgramming.org <http://www.qualityprogramming.org/> **************************************************************************** ******* Information contained in this email message is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the pos...@nd... and destroy the original message. **************************************************************************** ******* ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Cppunit-devel mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppunit-devel **************************************************************************** ******* Information contained in this email message is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the pos...@nd... and destroy the original message. **************************************************************************** ******* |
From: <NGB...@mi...> - 2003-09-09 17:54:42
|
Unable to deliver message 554 delivery error: Recipient unknown |
From: ANTIGEN_MAILSERVER <ANT...@se...> - 2003-09-09 12:23:28
|
Southeastern Data Cooperative's Email Virus scanner has found document_all.pif infected with VIRUS= Sobig.F@m (Norman,NAI) worm. The message is currently Purged in an email sent from you. It is recommended you contact your IT department to scan your PC/network for viruses. |
From: Postmaster <pos...@ma...> - 2003-09-09 12:20:18
|
No message body: cou...@ma... Original message follows. |
From: Postmaster <pos...@ma...> - 2003-09-09 11:13:48
|
No message body: cou...@ma... Original message follows. |
From: Postmaster <pos...@ma...> - 2003-09-09 09:28:40
|
No message body: mi...@ma... Original message follows. |
From: Postmaster <pos...@ma...> - 2003-09-09 09:09:34
|
No message body: cou...@ma... Original message follows. |
From: <adm...@te...> - 2003-09-09 08:41:48
|
Subject of the message: Re: Your application Recipient of the message: Richard Seymour |
From: Postmaster <pos...@ma...> - 2003-09-09 05:09:56
|
No message body: mi...@ma... Original message follows. |
From: <adm...@te...> - 2003-09-09 04:49:58
|
Subject of the message: Re: That movie Recipient of the message: Richard Seymour |
From: ANTIGEN_MAILSERVER <ANT...@se...> - 2003-09-09 04:10:25
|
Southeastern Data Cooperative's Email Virus scanner has found application.pif infected with VIRUS= Sobig.F@m (Norman,NAI) worm. The message is currently Purged in an email sent from you. It is recommended you contact your IT department to scan your PC/network for viruses. |
From: Baptiste L. <gai...@fr...> - 2003-09-09 03:37:19
|
CppUnit is a C++ library, and therefore can not be compiled in C. On the = other hand, you can write test in C++ to test some C functions. Baptiste. ----- Original Message -----=20 From: hjwu=20 To: cpp...@li...=20 Sent: Tuesday, September 02, 2003 9:00 AM Subject: [Cppunit-devel] can Cppunit use in C program? as the title,urge to know the anser.Thanks very much!! |
From: Baptiste L. <gai...@fr...> - 2003-09-09 02:57:48
|
Just replace it with a standard '==' (already fixed in the current doc). Baptiste. ----- Original Message ----- From: "Paul Whitehead" <pwh...@me...> To: <cpp...@li...> Sent: Tuesday, September 02, 2003 2:16 PM Subject: [Cppunit-devel] CppUnit Cookbook / Fixture Hi, in the CppUnit Cookbook (http://cppunit.sourceforge.net/cppunit_cookbook.html) sub-section called "Fixture" in the third code sample you have this: bool operator ==( const Complex &a, const Complex &b ) { return eq( a.real, b.real ) && eq( a.imaginary, b.imaginary ); } Don't you need to define the eq() method before this will compile and run or am I missing something? Regards, Paul. ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Cppunit-devel mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppunit-devel |
From: Baptiste L. <gai...@fr...> - 2003-09-09 02:51:32
|
Create a singleton TestListener that collect the test description and = associates them to the test as they are run. Have it implements = XmlOutputterHook to add the test description to the XML output and = you're done. Then, in each test method, you need to call a method on your singleton = TestListener to set the test description. You could also also write a = new CPPUNIT_TEST macro that would take the description as a parameter = and wrap the 'setup' to set the test description. The first approach is easier to implement, but will not allow you to = associate the description to the test if setUp() fails, which the second = approach allow. Adding descriptive data to test is something I really want to do in = CppUnit V2. This includes, but is not limited to test description. When writing functional tests, it is often fairly useful to add some = other data to a test. Baptiste. PS: I'm also from Paris ;-) ----- Original Message -----=20 From: Gzo...@ao...=20 To: cpp...@li...=20 Cc: Pat...@fr...=20 Sent: Sunday, September 07, 2003 7:04 PM Subject: [Cppunit-devel] question about document generation hello ! First of all, i want to congratulate you for CppUnit which is a great = product ! I am using it everyday (work days and weekends ! ;-) and spread it out = as much as i can ... Now, comes my question : I work in a company where paper and documentation is important :-\ I'll have to produce a document with the result of the test execution = produced by CppUnit. So, my objective is to produce the "test document" automatically with = CppUnit. The idea is the following : - to be able to associate a documentation (objective of the test, kind = of requirement, ...) with every test - to be able to run the tests as usual, recording success, failures = and errors - to collect, for every test, the documentation and the result of the = test. The documentation could be a simple std::string associated with a = test. The formatting part of the document shouldn't be a problem either. So the tricky part is to to be able to insert the documentation in = CppUnit framework. How would you do that ? I don't see how to do that without modifying the core of CppUnit. Do you think there is a simpler way ? Thanks in advance for your answer ...=20 Cheers from Paris (France, not Texas !) Patrice |