Skip to content
Snippets Groups Projects
Commit 21da2f5e authored by Sydney Anne Erickson's avatar Sydney Anne Erickson :chipmunk:
Browse files

utils_test.go: implement stubs of missing functions

parent c1c3b5e4
No related branches found
No related tags found
3 merge requests!510Release,!226WIP: Api2.0,!207WIP: Client Restructure
......@@ -83,11 +83,11 @@ func (m mockPartner) Contact() contact.Contact {
}
}
func (m mockPartner) PopSendCypher() (*session.Cypher, error) {
func (m mockPartner) PopSendCypher() (session.Cypher, error) {
return nil, nil
}
func (m mockPartner) PopRekeyCypher() (*session.Cypher, error) {
func (m mockPartner) PopRekeyCypher() (session.Cypher, error) {
return nil, nil
}
......@@ -143,6 +143,22 @@ func newMockConnection(partnerId, myId *id.ID,
}
}
func (m mockConnection) FirstPartitionSize() uint {
return 0
}
func (m mockConnection) SecondPartitionSize() uint {
return 0
}
func (m mockConnection) PartitionSize(payloadIndex uint) uint {
return 0
}
func (m mockConnection) PayloadSize() uint {
return 0
}
func (m mockConnection) Close() error {
return nil
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment