2016-02-05 02:23:11 -08:00
|
|
|
package common
|
2016-04-01 21:36:20 -07:00
|
|
|
|
|
|
|
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")
|
|
|
|
//}
|