(b *testing.B)
| 185 | } |
| 186 | |
| 187 | func BenchmarkCheckExistsField(b *testing.B) { |
| 188 | Register(&testStruct{}) |
| 189 | elem := testValue.Elem() |
| 190 | fieldName := "Name" |
| 191 | for i := 0; i < b.N; i++ { |
| 192 | CheckExistsField(elem, fieldName) |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | func Test_Mapper(t *testing.T) { |
| 197 | SetEnabledTypeChecking(true) |
nothing calls this directly
no test coverage detected
searching dependent graphs…