OLD | NEW |
1 // Copyright 2008, Google Inc. | 1 // Copyright 2008, Google Inc. |
2 // All rights reserved. | 2 // All rights reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
(...skipping 17 matching lines...) Expand all Loading... |
28 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 // | 29 // |
30 // Author: wan@google.com (Zhanyong Wan) | 30 // Author: wan@google.com (Zhanyong Wan) |
31 // | 31 // |
32 // Google C++ Mocking Framework (Google Mock) | 32 // Google C++ Mocking Framework (Google Mock) |
33 // | 33 // |
34 // This file #includes all Google Mock implementation .cc files. The | 34 // This file #includes all Google Mock implementation .cc files. The |
35 // purpose is to allow a user to build Google Mock by compiling this | 35 // purpose is to allow a user to build Google Mock by compiling this |
36 // file alone. | 36 // file alone. |
37 | 37 |
| 38 // This line ensures that gmock.h can be compiled on its own, even |
| 39 // when it's fused. |
| 40 #include <gmock/gmock.h> |
| 41 |
| 42 // The following lines pull in the real gmock *.cc files. |
38 #include "src/gmock-cardinalities.cc" | 43 #include "src/gmock-cardinalities.cc" |
39 #include "src/gmock-internal-utils.cc" | 44 #include "src/gmock-internal-utils.cc" |
40 #include "src/gmock-matchers.cc" | 45 #include "src/gmock-matchers.cc" |
41 #include "src/gmock-printers.cc" | 46 #include "src/gmock-printers.cc" |
42 #include "src/gmock-spec-builders.cc" | 47 #include "src/gmock-spec-builders.cc" |
43 #include "src/gmock.cc" | 48 #include "src/gmock.cc" |
OLD | NEW |