MCPcopy Create free account
hub / github.com/cloudflare/cfssl / TestDefaultConfig

Function TestDefaultConfig

config/config_test.go:355–363  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

353}
354
355func TestDefaultConfig(t *testing.T) {
356 if !DefaultConfig().validProfile(false) {
357 t.Fatal("global default signing profile should be a valid profile.")
358 }
359
360 if !DefaultConfig().validProfile(true) {
361 t.Fatal("global default signing profile should be a valid default profile")
362 }
363}
364
365func TestParse(t *testing.T) {
366 var validProfiles = []*SigningProfile{

Callers

nothing calls this directly

Calls 2

DefaultConfigFunction · 0.85
validProfileMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…