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'),