Commit Graph

  • 899f5617a0 Some small tidying Mike Long 2012-06-26 20:35:33 +08:00
  • 480c88e1af Added helper macro to generate fake reset function Mike Long 2012-05-29 08:33:23 +08:00
  • 7aee4ece7b Cleanup generator Mike Long 2012-05-29 07:57:11 +08:00
  • 3d6cfd218b Moved global variables into struct so they don't pollute the global namespace Mike Long 2012-05-29 07:46:21 +08:00
  • fef801e995 Cleanup generator to remove deleted code Mike Long 2012-05-28 07:19:57 +08:00
  • 3345f90d12 Unified cpp and c fake definitions Mike Long 2012-05-25 17:44:41 +08:00
  • 6f07a118d7 Generated file Mike Long 2012-05-25 08:06:12 +08:00
  • 039f3d93a1 Clean up indentation Mike Long 2012-05-25 08:05:49 +08:00
  • 72ec46f852 Common test cases for Fake Function Framework Mike Long 2012-05-24 17:52:00 +08:00
  • f8af106f31 Test suite for global fakes from a cpp context Mike Long 2012-05-24 17:51:20 +08:00
  • 8ee3ba7261 A simple test framework for C code with googletest compatibility Mike Long 2012-05-24 17:49:35 +08:00
  • 2e0bb77ac7 Add fakes for common test cases Mike Long 2012-05-24 17:47:13 +08:00
  • 54fae16407 Add fakes for common test cases Mike Long 2012-05-24 17:45:40 +08:00
  • 09a747232c Add common test cases Mike Long 2012-05-24 17:43:45 +08:00
  • 5f914c5af7 Factor out common test cases into a common include file Mike Long 2012-05-24 17:41:50 +08:00
  • 8a1ccaf25c Factor out common test cases into a common include file Mike Long 2012-05-24 17:41:18 +08:00
  • b89df060ac Build global cpp test suite Mike Long 2012-05-24 17:39:21 +08:00
  • e98ee5036b Generated file Mike Long 2012-05-24 17:37:02 +08:00
  • f145ecd3ad Add global definition macro and remove cpp static initializer Mike Long 2012-05-24 17:36:49 +08:00
  • 5d89d72d16 Add global definitions and full reset calls Mike Long 2012-05-24 15:07:32 +08:00
  • 4438bf2b71 Add fff global definitions Mike Long 2012-05-24 14:58:07 +08:00
  • 952b251a9c Run global cpp tests Mike Long 2012-05-24 08:08:23 +08:00
  • 33d4b0c8d1 Initial tests for global fakes Mike Long 2012-05-22 15:48:18 +08:00
  • c8fcb22b06 Separate declaration and definition of fakes to enable global fakes Mike Long 2012-05-22 15:47:46 +08:00
  • 1f2b89ba12 Add custom fake tests Mike Long 2012-05-22 15:46:59 +08:00
  • fbcd099ec9 Generated file Mike Long 2012-05-22 15:45:24 +08:00
  • 0476f0237b Build global fakes tests Mike Long 2012-05-22 15:44:49 +08:00
  • 65da4e650c Run global fakes tests Mike Long 2012-05-22 15:44:05 +08:00
  • e256f6f776 Added custom fakes Mike Long 2012-04-27 13:47:41 +01:00
  • 8e9a4c07f9 Create xml test report during run and also run examples Mike Long 2012-04-26 18:01:01 +01:00
  • c10aca2b6b Update the cpp example to use the new fff header Mike Long 2012-04-26 17:36:04 +01:00
  • 1fe87ba155 Update the examples to use the new fff header Mike Long 2012-04-26 16:54:56 +01:00
  • 887be4dc5a Change reset function to memset Mike Long 2012-04-26 11:01:50 +01:00
  • 1bcf41ff8a Moved fake variables into struct to avoid polluting global namespace Mike Long 2012-04-25 18:02:48 +01:00
  • 0a15a67527 Cleanup in code generator Mike Long 2012-04-24 09:04:02 +01:00
  • 3ade1768a7 Added INCREMENT_CALL_COUNT and RESET_FAKE_RESULT helpers Mike Long 2012-04-23 19:07:02 +01:00
  • 3df78df67e Add more helpers Mike Long 2012-04-23 17:14:01 +01:00
  • 9187775817 Add more helpers Mike Long 2012-04-21 10:50:59 +01:00
  • c505d084ea Create helper functions Mike Long 2012-04-21 09:48:11 +01:00
  • 3c8beeaa58 Add googletest library and update makefiles Mike Long 2012-04-21 07:45:37 +01:00
  • 329b83f15a Fix typo in readme Mike Long 2011-04-26 20:06:29 +01:00
  • b98825d20a Update documentation with new declaration style Mike Long 2011-04-26 17:38:00 +01:00
  • e34f577a4f New feature: no longer need to specify argument count in the declaration Mike Long 2011-04-26 17:20:48 +01:00
  • 01aebe40e0 Add overrides for argument and call histories Mike Long 2011-03-23 09:49:00 +01:00
  • 7f0890916a Fix typo Mike Long 2011-03-22 21:51:32 +01:00
  • f02e387a40 Adding documentation for return value sequences Mike Long 2011-03-22 21:50:10 +01:00
  • c44f725fb7 Adding return value sequences Mike Long 2011-03-22 21:42:04 +01:00
  • 0631d2efc8 Make cpp reset function static Mike Long 2011-03-22 20:16:22 +01:00
  • c1d80c74a5 memset return values in reset function Mike Long 2011-03-10 12:30:39 +01:00
  • 19f0c41e00 Cleaned up example Mike Long 2011-02-21 20:43:18 +01:00
  • f732f951c7 Merge branch 'docs' Mike Long 2011-02-19 21:36:39 +01:00
  • 49281bd779 Add details for the other method of checking dropped histories Mike Long 2011-02-19 21:36:25 +01:00
  • 637ddd5eae Merge branch 'argument_history' Mike Long 2011-02-19 21:33:35 +01:00
  • 567971a703 Added another method for checking dropped histories Mike Long 2011-02-19 21:33:16 +01:00
  • e8475e8e47 Fixed tabs for spaces Mike Long 2011-02-19 21:23:28 +01:00
  • a6eeacdaf0 Added initial documentation for argument histories Mike Long 2011-02-19 21:05:29 +01:00
  • 6cbdb1c676 Clear argument history when RESET_FAKE called Mike Long 2011-02-19 20:47:31 +01:00
  • f12810c3f9 Added basic argument history of fixed size Mike Long 2011-02-14 21:57:59 +01:00
  • 2043a11291 Added tests from C context Mike Long 2011-01-15 21:35:17 +01:00
  • d43e9c9243 Fix typo Mike Long 2011-01-03 20:05:08 +01:00
  • 023f09edf2 Fix typo Mike Long 2011-01-03 20:04:20 +01:00
  • e75a8cdfba Add cheat sheet Mike Long 2011-01-03 19:55:36 +01:00
  • aa9a9edd90 Explain header-only Mike Long 2011-01-03 12:24:51 +01:00
  • e034598562 Fixed typo in example Mike Long 2011-01-03 12:13:05 +01:00
  • 7b0a149cfc Better examples with better code Mike Long 2011-01-01 21:27:48 +01:00
  • f923a5ad62 Register function call when fake is called Mike Long 2011-01-01 21:03:20 +01:00
  • 71c66bfa3a Removed src base directory Mike Long 2011-01-01 20:13:33 +01:00
  • 64c57b015d Changed readme to markdown and added more details Mike Long 2011-01-01 15:32:26 +01:00
  • b22903e498 Unit tests for the framework Mike Long 2010-12-21 23:26:48 +01:00
  • 96e7a77bc1 Moved examples out of test directory Mike Long 2010-12-21 23:07:30 +01:00
  • e4ffef00fc Renamed to fff and added function call history Mike Long 2010-12-21 22:35:16 +01:00
  • 98cde86ef8 Fixed bug for multi-argument functions Mike Long 2010-12-18 11:24:57 +01:00
  • 7c1ce9c19a Added a basic C test suite template Mike Long 2010-12-17 18:21:13 +01:00
  • 205c702fa9 Update README Mike Long 2010-12-14 16:20:19 +01:00
  • 014c49bef2 Improved Makefile and generate a C and C++ compatible header Mike Long 2010-12-14 15:10:21 +01:00
  • ba00fb0399 Improve build to output binaries to build/ Mike Long 2010-12-13 15:54:49 +01:00
  • 732e5beff7 Initial build script Mike Long 2010-12-12 20:57:30 +01:00
  • 4fbd1e40fe Moved out test code to seperate directory Mike Long 2010-12-12 20:17:48 +01:00
  • 5def7f1fd3 Initial commit Mike Long 2010-12-12 20:11:35 +01:00