Commit 3e6c794
Update tests that were manually asserting that objects were not equals() to an object of an unrelated class to use EqualsTester instead, which exhaustively checks equals() and hashCode().
This CL is in service of enabling a new compile-time error: go/bugpattern/EqualsIncompatibleType
This change is part of an go/LSC process. See more about this change: https://docs.google.com/document/d/1iUC8Xpss0Y558wuipOVHvdQAMRMgR_oWHCeSdLV22xw/edit
Tested:
TAP --sample for global presubmit queue
http://test/OCL:149062924:BASE:149043627:1488501672029:8ae9f150
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=1497812971 parent 1c6049a commit 3e6c794
File tree
3 files changed
+16
-6
lines changed- google-http-client
- src/test/java/com/google/api/client/http
3 files changed
+16
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
121 | 126 | | |
122 | 127 | | |
123 | 128 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
171 | 176 | | |
172 | 177 | | |
173 | 178 | | |
| |||
0 commit comments