Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
Zardos is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: examples\HomeBudget
Next Topic: How to write a dll using Ultimate++?
Goto Forum:
  


Current Time: Wed Jul 30 18:35:55 CEST 2025

Total time taken to generate the page: 0.07199 seconds