diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2018-08-14 14:55:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-14 14:55:28 (GMT) |
commit | 15ef6ec064d8f4c3c674ea0135caa9d1d5b1c61c (patch) | |
tree | 3ae20e2cb9b99fdc127ef55530cdfc4ce316606f /googlemock/include | |
parent | 8bc11c040a1dcbe50c340b21d78175d152dd3837 (diff) | |
parent | caeaef302d7638e9512596698c043f2832e02d20 (diff) | |
download | googletest-15ef6ec064d8f4c3c674ea0135caa9d1d5b1c61c.zip googletest-15ef6ec064d8f4c3c674ea0135caa9d1d5b1c61c.tar.gz googletest-15ef6ec064d8f4c3c674ea0135caa9d1d5b1c61c.tar.bz2 |
Merge pull request #1733 from gennadiycivil/master
Move instructions into custom/README files
Diffstat (limited to 'googlemock/include')
-rw-r--r-- | googlemock/include/gmock/internal/custom/README.md | 16 | ||||
-rw-r--r-- | googlemock/include/gmock/internal/custom/gmock-matchers.h | 4 | ||||
-rw-r--r-- | googlemock/include/gmock/internal/custom/gmock-port.h | 11 |
3 files changed, 18 insertions, 13 deletions
diff --git a/googlemock/include/gmock/internal/custom/README.md b/googlemock/include/gmock/internal/custom/README.md new file mode 100644 index 0000000..f6c93f6 --- /dev/null +++ b/googlemock/include/gmock/internal/custom/README.md @@ -0,0 +1,16 @@ +# Customization Points + +The custom directory is an injection point for custom user configurations. + +## Header `gmock-port.h` + +The following macros can be defined: + +### Flag related macros: + +* `GMOCK_DECLARE_bool_(name)` +* `GMOCK_DECLARE_int32_(name)` +* `GMOCK_DECLARE_string_(name)` +* `GMOCK_DEFINE_bool_(name, default_val, doc)` +* `GMOCK_DEFINE_int32_(name, default_val, doc)` +* `GMOCK_DEFINE_string_(name, default_val, doc)` diff --git a/googlemock/include/gmock/internal/custom/gmock-matchers.h b/googlemock/include/gmock/internal/custom/gmock-matchers.h index 227d91f..14aafaa 100644 --- a/googlemock/include/gmock/internal/custom/gmock-matchers.h +++ b/googlemock/include/gmock/internal/custom/gmock-matchers.h @@ -27,9 +27,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // -// ============================================================ -// An installation-specific extension point for gmock-matchers.h. -// ============================================================ +// Injection point for custom user configurations. See README for details // // GOOGLETEST_CM0002 DO NOT DELETE diff --git a/googlemock/include/gmock/internal/custom/gmock-port.h b/googlemock/include/gmock/internal/custom/gmock-port.h index ad9ae36..0030fe9 100644 --- a/googlemock/include/gmock/internal/custom/gmock-port.h +++ b/googlemock/include/gmock/internal/custom/gmock-port.h @@ -27,16 +27,7 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // -// Injection point for custom user configurations. -// The following macros can be defined: -// -// Flag related macros: -// GMOCK_DECLARE_bool_(name) -// GMOCK_DECLARE_int32_(name) -// GMOCK_DECLARE_string_(name) -// GMOCK_DEFINE_bool_(name, default_val, doc) -// GMOCK_DEFINE_int32_(name, default_val, doc) -// GMOCK_DEFINE_string_(name, default_val, doc) +// Injection point for custom user configurations. See README for details // // ** Custom implementation starts here ** |