-
greg-williams added ajwitte to the Unity project.
2009-10-27 20:50:42 UTC in Unity
-
greg-williams added ajwitte to the CMock project.
2009-10-27 20:38:28 UTC in CMock
-
Our projects have a lot of supporting folders that are not part of the project code. For instance, we have Perl and Ruby in our repo in order to not have to install them locally. It would be nice to be able to exclude certain subfolders and/or file types from the tag generation. Currently, it takes like 3-4 minutes to do a tag generation and then another 2-3 minutes to parse the tag file on the...
2009-10-21 13:42:03 UTC in OpenCTags
-
greg-williams committed revision 42 to the Unity SVN repository, changing 2 files.
2009-08-31 15:59:48 UTC in Unity
-
greg-williams committed revision 41 to the Unity SVN repository, changing 2 files.
2009-08-31 03:16:38 UTC in Unity
-
greg-williams committed revision 40 to the Unity SVN repository, changing 5 files.
2009-08-31 01:33:47 UTC in Unity
-
First of all, by the nature of C, it is basically impossible to create a mock for a static function, since it is in the same module. If you do not have the luxury of adding code, you will definitely need to resort to testing Get_Temp() via Process_Temp().
Static functions normally evolve because a single function is getting to large. Pushing a block of code targeted at a particular task into...
2009-08-20 16:44:34 UTC in CMock
-
Diego,
This is a good question, and we deal with it all the time.
If you want to test a static function, you can ONLY do so by testing it via the exposed interface to the module, by definition of static. Therefore, you should only test your static function by testing the exposed function or functions that use it.
You may find that your tests get too complex in order to cover all of the...
2009-08-20 14:50:39 UTC in CMock
-
greg-williams committed revision 36 to the Unity SVN repository, changing 1 files.
2009-07-05 18:42:39 UTC in Unity
-
greg-williams committed revision 32 to the Unity SVN repository, changing 1 files.
2009-06-08 16:32:39 UTC in Unity