mirror of
https://github.com/go-i2p/go-i2p.git
synced 2025-07-04 21:55:18 -04:00
adding logging, headers, godoc to common data structures
This commit is contained in:
@ -4,20 +4,35 @@ import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestRouterIdentityReadsRouterIdentity(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestRouterIdentityWithZeroLenSlice(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestRouterIdentityWithInvalidData(t *testing.T) {
|
||||
func buildFullRouterInfo() RouterInfo {
|
||||
// starts with a keys_and_cert
|
||||
router_address_bytes := []byte{0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
|
||||
str, _ := ToI2PString("foo")
|
||||
mapping, _ := GoMapToMapping(map[string]string{"host": "127.0.0.1", "port": "4567"})
|
||||
router_address_bytes = append(router_address_bytes, []byte(str)...)
|
||||
router_address_bytes = append(router_address_bytes, mapping...)
|
||||
//RouterAddress(router_address_bytes)
|
||||
return nil
|
||||
}
|
||||
|
||||
func TestPublishedReturnsCorrectDate(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestPublishedWithZeroLenSlice(t *testing.T) {
|
||||
func TestRouterAddressCountReturnsCorrectCount(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestPublishedWithInvalidData(t *testing.T) {
|
||||
func TestRouterAdrressesReturnsAddresses(t *testing.T) {
|
||||
|
||||
}
|
||||
|
||||
func TestRouterAdrressesReturnsPartialListWithMissing(t *testing.T) {
|
||||
|
||||
}
|
||||
|
||||
func TestPeerSizeIsZero(t *testing.T) {
|
||||
|
||||
}
|
||||
|
||||
func TestSignatureIsCorrectSize(t *testing.T) {
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user