Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » ArgcArgv – use argc and argv under Ultimate++!
Re: ArgcArgv Euse argc and argv under Ultimate++! [message #10543 is a reply to message #10542] |
Sun, 15 July 2007 11:33   |
Zardos
Messages: 62 Registered: April 2007
|
Member |
|
|
Quote: | I've been having problems getting a Unit Test to work with U++ - tried cppUnit and UnitTest++, which were both giving me link headaches and strange Microsoft C++ exceptions at strange memory locations.
|
Thats strange. I have had no serious problems with UnitTest++ and using it a lot.
No compile problems. No link problems with MSVC.
I have uploaded my Upp UnitTest++ package. Just add it to the package dependencies and include UnitTest.h:
#include <UnitTest/UnitTest.h>
After this somthing like:
TEST (MyFirstTest) {
CHECK(true);
}
should work without problems.
- Ralf
Updated: Small mistake in the code example.
-
Attachment: UnitTest.zip
(Size: 90.25KB, Downloaded 551 times)
[Updated on: Sun, 15 July 2007 19:01] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Wed Jul 30 18:35:55 CEST 2025
Total time taken to generate the page: 0.07199 seconds
|