Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Explain header-only

  • Loading branch information...
commit aa9a9edd90707392492c9c0671204997fccbf254 1 parent e034598
@meekrosoft authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 README.md
View
6 README.md
@@ -32,7 +32,11 @@ Here's how you would define a fake function for this in your test suite:
ASSERT_EQ(1, DISPLAY_init_call_count);
}
-So what has happened here? The magic is in the <tt>FAKE_VOID_FUNC0</tt>. This
+So what has happened here? The first thing to note is that the framework is
+header only, all you need to do to use it is download <tt>fff.h</tt> and include
+it in your test suite.
+
+The magic is in the <tt>FAKE_VOID_FUNC0</tt>. This
expands a macro that defines a function returning <tt>void</tt>
which has zero arguments. It also defines a variable
<tt>"function_name"_call_count</tt> which is incremented every time the faked
Please sign in to comment.
Something went wrong with that request. Please try again.