(t *testing.T)
| 27 | } |
| 28 | |
| 29 | func TestGetVersion(t *testing.T) { |
| 30 | var version string |
| 31 | |
| 32 | rpcengine.GetVersion(1, &version) |
| 33 | if version == "" { |
| 34 | t.Error("Did not receive version") |
| 35 | } |
| 36 | if version != core.VerString { |
| 37 | t.Error("Version via RPC did not match version of Core package") |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | func TestGetManifests(t *testing.T) { |
| 42 | b := &ManifestResponse{} |
nothing calls this directly
no test coverage detected