diff options
author | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-02-19 22:30:22 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-02-19 22:30:22 +0000 |
commit | 38ca64dd5f8dd4a5ee1822d805f16911213f18fb (patch) | |
tree | b1d01ee93e3f13594d87292640af07719a954692 /test/gmock_link_test.cc | |
parent | 4a5330d3d6e582248dbcf602f70048dc72cc8182 (diff) | |
download | googletest-38ca64dd5f8dd4a5ee1822d805f16911213f18fb.tar.gz googletest-38ca64dd5f8dd4a5ee1822d805f16911213f18fb.tar.bz2 googletest-38ca64dd5f8dd4a5ee1822d805f16911213f18fb.zip |
Fixes link errors due to an MS VC bug. By Vlad Losev.
Diffstat (limited to 'test/gmock_link_test.cc')
-rw-r--r-- | test/gmock_link_test.cc | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/test/gmock_link_test.cc b/test/gmock_link_test.cc index 8a60e8bf..61e97d10 100644 --- a/test/gmock_link_test.cc +++ b/test/gmock_link_test.cc @@ -27,11 +27,14 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // -// Author: wan@google.com (Zhanyong Wan) +// Author: wan@google.com (Zhanyong Wan), vladl@google.com (Vlad Losev) -// This file is for verifying that a header file defining a mock class -// can be included in multiple translation units without causing a -// link error. It doesn't have to actually do anything - we are only -// checking that the test links correctly. +// Google Mock - a framework for writing C++ mock classes. +// +// This file is for verifying that various Google Mock constructs do not +// produce linker errors when instantiated in different translation units. +// Please see gmock_link_test.h for details. + +#define LinkTest LinkTest1 -#include "test/gmock-sample.h" +#include "test/gmock_link_test.h" |