[mockitopp] r152 committed - Increase default for max virtual functions and method arguments suppor...

0 views
Skip to first unread message

mock...@googlecode.com

unread,
Apr 24, 2013, 2:16:01 PM4/24/13
to mockit...@googlegroups.com
Revision: 152
Author: plazt...@gmail.com
Date: Wed Apr 24 11:15:41 2013
Log: Increase default for max virtual functions and method arguments
supported. Developers using mockitopp on legacy code projects who were
writing unit tests kept running into bizarre crashes, which was not giving
them the best impression of the framework. This should help mitigate that
problem.
http://code.google.com/p/mockitopp/source/detail?r=152

Modified:
/trunk/SConstruct

=======================================
--- /trunk/SConstruct Sat Sep 29 00:40:54 2012
+++ /trunk/SConstruct Wed Apr 24 11:15:41 2013
@@ -7,9 +7,9 @@
env.AppendUnique(M4FLAGS = [
'-I' + os.path.abspath(sys.path[0]) + '/include',
# maximum supported virtual functions, increase for classes with
large vtables
- '-DMOCKITOPP_MAX_VIRTUAL_FUNCTIONS=50',
+ '-DMOCKITOPP_MAX_VIRTUAL_FUNCTIONS=100',
# maximum supported arity, increase for function signatures with
more arguments
- '-DMOCKITOPP_MAX_VIRTUAL_FUNCTION_ARITY=10',
+ '-DMOCKITOPP_MAX_VIRTUAL_FUNCTION_ARITY=20',
])
Alias('m4', [
env.M4('include/mockitopp/detail/stubbing/dynamic_object.hpp.m4'),
Reply all
Reply to author
Forward
0 new messages