Files
go-i2p/lib/common/keys_and_cert_test.go
Hayden Parker fc9974c33f test stubs
2016-04-01 21:36:20 -07:00

65 lines
1.3 KiB
Go

package common
import (
//"github.com/stretchr/testify/assert"
"testing"
)
func keysAndCertWithoutCertificate() {
}
func keysAndCertWithKeyCertificate() {
}
func TestCertificateWithMissingData(t *testing.T) {
}
func TestCertificateWithValidData(t *testing.T) {
}
func TestPublicKeyWithBadCertificate(t *testing.T) {
}
func TestPublicKeyWithZeroLengthCertificate(t *testing.T) {
}
func TestPublicKeyWithKeyCertificate(t *testing.T) {
}
func TestPublicKeyWithOtherCertType(t *testing.T) {
}
func TestSigningPublicKeyWithBadCertificate(t *testing.T) {
}
func TestSigningPublicKeyWithZeroLengthCertificate(t *testing.T) {
}
func TestSigningPublicKeyWithKeyCertificate(t *testing.T) {
}
func TestSigningPublicKeyWithOtherCertType(t *testing.T) {
}
func TestReadKeysAndCertWithMissingData(t *testing.T) {
}
func TestReadKeysAndCertWithMissingCertData(t *testing.T) {
}
func TestReadKeysAndCertWithValidDataWithCertificate(t *testing.T) {
}
func TestReadKeysAndCertWithValidDataWithoutCertificate(t *testing.T) {
}
func TestReadKeysAndCertWithValidDataWithCertificateAndRemainder(t *testing.T) {
}
func TestReadKeysAndCertWithValidDataWithoutCertificateAndRemainder(t *testing.T) {
}
//if assert.NotNil(err) {
// assert.Equal(err.Error(), "", "correct error message should be returned")
//}