Versions in this module Expand all Collapse all v0 v0.4.0 Nov 14, 2019 Changes in this version + var Info1 = []IfInfo + var Info2 = []IfInfo + var Info3 = []IfInfo + func AllocBeacon(t *testing.T, ctrl *gomock.Controller, ases []IfInfo, inIfId common.IFIDType, ...) (beacon.Beacon, common.RawBytes) + func CheckEmpty(t *testing.T, name string, results <-chan beacon.BeaconOrErr, err error) + func CheckEmptyRevs(t *testing.T, results <-chan beacon.RevocationOrErr, err error) + func CheckResult(t *testing.T, results <-chan beacon.BeaconOrErr, expected beacon.Beacon) + func CheckResults(t *testing.T, results <-chan beacon.BeaconOrErr, ...) + func CheckRevs(t *testing.T, results <-chan beacon.RevocationOrErr, ...) + func InsertBeacon(t *testing.T, ctrl *gomock.Controller, db beacon.DBReadWrite, ases []IfInfo, ...) beacon.Beacon + func InsertRevocation(t *testing.T, db beacon.DBReadWrite, sRev *path_mgmt.SignedRevInfo) + func Test(t *testing.T, db Testable) + type IfInfo struct + Egress common.IFIDType + IA addr.IA + Ingress common.IFIDType + Peers []PeerEntry + type PeerEntry struct + IA addr.IA + Ingress common.IFIDType + type Testable interface + Prepare func(t *testing.T, ctx context.Context)