(t *testing.T)
| 97 | } |
| 98 | |
| 99 | func TestUpdatePeer(t *testing.T) { |
| 100 | p := initTestPeer() |
| 101 | p.UpdateInfo(time.Now(), 3, 3, 30334, 0x7533345, 0, 7322222, "1.5.2") |
| 102 | p.SetState(3) |
| 103 | p.SetHttpInfoState(true) |
| 104 | p.Link.SetAddr("127.0.0.1:20338") |
| 105 | p.DumpInfo() |
| 106 | |
| 107 | } |
nothing calls this directly
no test coverage detected