gmock-port.h revision 13481
12623SN/A// Copyright 2015, Google Inc.
210596Sgabeblack@google.com// All rights reserved.
311147Smitch.hayenga@arm.com//
48926Sandreas.hansson@arm.com// Redistribution and use in source and binary forms, with or without
58926Sandreas.hansson@arm.com// modification, are permitted provided that the following conditions are
68926Sandreas.hansson@arm.com// met:
78926Sandreas.hansson@arm.com//
88926Sandreas.hansson@arm.com//     * Redistributions of source code must retain the above copyright
98926Sandreas.hansson@arm.com// notice, this list of conditions and the following disclaimer.
108926Sandreas.hansson@arm.com//     * Redistributions in binary form must reproduce the above
118926Sandreas.hansson@arm.com// copyright notice, this list of conditions and the following disclaimer
128926Sandreas.hansson@arm.com// in the documentation and/or other materials provided with the
138926Sandreas.hansson@arm.com// distribution.
148926Sandreas.hansson@arm.com//     * Neither the name of Google Inc. nor the names of its
152623SN/A// contributors may be used to endorse or promote products derived from
162623SN/A// this software without specific prior written permission.
172623SN/A//
182623SN/A// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
192623SN/A// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
202623SN/A// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
212623SN/A// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
222623SN/A// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
232623SN/A// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
242623SN/A// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
252623SN/A// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
262623SN/A// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
272623SN/A// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
282623SN/A// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
292623SN/A//
302623SN/A// Injection point for custom user configurations.
312623SN/A// The following macros can be defined:
322623SN/A//
332623SN/A//   Flag related macros:
342623SN/A//     GMOCK_DECLARE_bool_(name)
352623SN/A//     GMOCK_DECLARE_int32_(name)
362623SN/A//     GMOCK_DECLARE_string_(name)
372623SN/A//     GMOCK_DEFINE_bool_(name, default_val, doc)
382623SN/A//     GMOCK_DEFINE_int32_(name, default_val, doc)
392623SN/A//     GMOCK_DEFINE_string_(name, default_val, doc)
402665Ssaidi@eecs.umich.edu//
412665Ssaidi@eecs.umich.edu// ** Custom implementation starts here **
422623SN/A
432623SN/A#ifndef GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_GMOCK_PORT_H_
443170Sstever@eecs.umich.edu#define GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_GMOCK_PORT_H_
458105Sgblack@eecs.umich.edu
462623SN/A#endif  // GMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_GMOCK_PORT_H_
474040Ssaidi@eecs.umich.edu