Googletest export
Introduce a new `Address` matcher to gmock. PiperOrigin-RevId: 346344591
This commit is contained in:
		@@ -420,6 +420,7 @@ messages, you can use:
 | 
			
		||||
<!-- mdformat off(no multiline tables) -->
 | 
			
		||||
| Matcher                   | Description                                     |
 | 
			
		||||
| :------------------------ | :---------------------------------------------- |
 | 
			
		||||
| `Address(m)`              | the result of `std::addressof(argument)` matches `m`. |
 | 
			
		||||
| `Pointee(m)`              | `argument` (either a smart pointer or a raw pointer) points to a value that matches matcher `m`. |
 | 
			
		||||
| `Pointer(m)`              | `argument` (either a smart pointer or a raw pointer) contains a pointer that matches `m`. `m` will match against the raw pointer regardless of the type of `argument`. |
 | 
			
		||||
| `WhenDynamicCastTo<T>(m)` | when `argument` is passed through `dynamic_cast<T>()`, it matches matcher `m`. |
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user