Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 // This file was GENERATED by a script. DO NOT EDIT BY HAND!!! | 1 // This file was GENERATED by a script. DO NOT EDIT BY HAND!!! |
2 | 2 |
3 // Copyright 2008, Google Inc. | 3 // Copyright 2008, Google Inc. |
4 // All rights reserved. | 4 // All rights reserved. |
5 // | 5 // |
6 // Redistribution and use in source and binary forms, with or without | 6 // Redistribution and use in source and binary forms, with or without |
7 // modification, are permitted provided that the following conditions are | 7 // modification, are permitted provided that the following conditions are |
8 // met: | 8 // met: |
9 // | 9 // |
10 // * Redistributions of source code must retain the above copyright | 10 // * Redistributions of source code must retain the above copyright |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
302 typedef GMOCK_REMOVE_CONST_(GMOCK_REMOVE_REFERENCE_(Container)) | 302 typedef GMOCK_REMOVE_CONST_(GMOCK_REMOVE_REFERENCE_(Container)) |
303 RawContainer; | 303 RawContainer; |
304 typedef typename internal::StlContainerView<RawContainer>::type::value_type | 304 typedef typename internal::StlContainerView<RawContainer>::type::value_type |
305 Element; | 305 Element; |
306 | 306 |
307 // Nokia's Symbian Compiler has a nasty bug where the object put in | 307 // Nokia's Symbian Compiler has a nasty bug where the object put in |
308 // the local array is not destructed when the array goes out of scope. | 308 // the local array is not destructed when the array goes out of scope. |
309 // This leads to obvious badness as we've added the linked_ptr in it | 309 // This leads to obvious badness as we've added the linked_ptr in it |
310 // to our other linked_ptrs list. | 310 // to our other linked_ptrs list. |
311 // The extra scope makes the compiler behave. | 311 // The extra scope makes the compiler behave. |
312 Matcher<Container> m; | 312 Matcher<Container> m; |
Zhanyong Wan
2009/09/15 21:32:50
My understanding is that the same change needs to
mika.raento
2009/09/16 14:21:29
On 2009/09/15 21:32:50, Zhanyong Wan wrote:
Hm, n
| |
313 { | 313 { |
314 const Matcher<const Element&> matchers[1] = { | 314 const Matcher<const Element&> matchers[1] = { |
315 MatcherCast<const Element&>(e1_), | 315 MatcherCast<const Element&>(e1_), |
316 }; | 316 }; |
317 m = MakeMatcher(new ElementsAreMatcherImpl<Container>(matchers, 1)); | 317 m = MakeMatcher(new ElementsAreMatcherImpl<Container>(matchers, 1)); |
318 } | 318 } |
319 return m;· | 319 return m;· |
320 } | 320 } |
321 | 321 |
322 private: | 322 private: |
(...skipping 1372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1695 template <typename p0##_type, typename p1##_type, typename p2##_type, \ | 1695 template <typename p0##_type, typename p1##_type, typename p2##_type, \ |
1696 typename p3##_type, typename p4##_type, typename p5##_type, \ | 1696 typename p3##_type, typename p4##_type, typename p5##_type, \ |
1697 typename p6##_type, typename p7##_type, typename p8##_type, \ | 1697 typename p6##_type, typename p7##_type, typename p8##_type, \ |
1698 typename p9##_type>\ | 1698 typename p9##_type>\ |
1699 template <typename arg_type>\ | 1699 template <typename arg_type>\ |
1700 bool name##MatcherP10<p0##_type, p1##_type, p2##_type, p3##_type, \ | 1700 bool name##MatcherP10<p0##_type, p1##_type, p2##_type, p3##_type, \ |
1701 p4##_type, p5##_type, p6##_type, p7##_type, p8##_type, p9##_type>::\ | 1701 p4##_type, p5##_type, p6##_type, p7##_type, p8##_type, p9##_type>::\ |
1702 gmock_Impl<arg_type>::Matches(arg_type arg) const | 1702 gmock_Impl<arg_type>::Matches(arg_type arg) const |
1703 | 1703 |
1704 #endif // GMOCK_INCLUDE_GMOCK_GMOCK_GENERATED_MATCHERS_H_ | 1704 #endif // GMOCK_INCLUDE_GMOCK_GMOCK_GENERATED_MATCHERS_H_ |
LEFT | RIGHT |