-
That's just it. It would be good to have operator
2008-11-12 01:24:24 UTC in Mock Objects for C++
-
Yes, this works the problem around. As I only have to replace return type in one place, namely the .h file this doesn't hurt production code much.
2008-10-28 00:27:07 UTC in Mock Objects for C++
-
In ChainingMockObjectSupport.h documentation for shortcut parameter of logic_and and logic_or is completely the same while for logic_and it must be changed
1c1
< * @param shortcut @li true: don't evaluate \c right if \c left is \c true (c++ standard behaviour)
---
> * @param shortcut @li true: don't evaluate \c right if \c left is \c false (c++ standard behaviour)
The change...
2008-10-27 14:44:07 UTC in Mock Objects for C++
-
For classes like the following one
class A
{
public:
class A_internal{};
A_internal* method();
}
xml2mockpp will generate the following definition of method() in A_mock.cpp
A_internal* A::method();
which doesn't compile, because of unrecognized A_internal. File have to be manually tweaked to contain
A::A_internal* A::method();
In practice this means that in our...
2008-10-27 14:33:40 UTC in Mock Objects for C++
-
There's a section in mockpp handbook pdf, page 33 (or 38 by Adobe page counter)
The following line creates the C++ files MockppIdlTestMock.h and MockppIdlTestMock.cpp from
the XML file header-data.xml.
But actually xml2mockpp generates MockppIdlTest_mock.h and MockppIdlTest_mock.cpp, while class name actually is MockppIdlTestMock. It would be much more consistent if class names and file.
2008-10-23 00:55:59 UTC in Mock Objects for C++
-
I've created the class below to check const char* arguments. I've initiated a discussion of this predicament of mine at
http://sourceforge.net/forum/forum.php?thread_id=2370174&forum_id=235238
#ifndef MOCKPP_CUSTOM_CSTRING_CONTAINS
#define MOCKPP_CUSTOM_CSTRING_CONTAINS
#include
#include
MOCKPP_NS_START
// mimics StringContains for...
2008-10-18 23:55:22 UTC in Mock Objects for C++
-
Hi,
At present one can only monitor entire forums. As a result on monitoring page
https://sourceforge.net/my/monitor.php
One can't see activity on particular topics of interest (and even in forums in general). I really could use ability to see activity on all of the selected items, including enough details to find out if anything new happened there. To reiterate, I would like to...
2008-10-14 17:35:20 UTC in SourceForge.net
-
mockpp2xml can't parse the following construct
public mockpp_methods:
virtual void dummy(int priority, string& message)
{
class no_action
{
};
throw no_action();
}
with an error
In line 100 : syntax error, unexpected T_THROW, expecting T_TILDE.
2008-10-14 16:42:04 UTC in Mock Objects for C++