(t *testing.T)
| 67 | } |
| 68 | |
| 69 | func TestNew(t *testing.T) { |
| 70 | kms.Unittest = true |
| 71 | utils.RemoveAll(testStorePath + "*") |
| 72 | |
| 73 | x, _ := InitConsistent(testStorePath, new(KMSStorage), false) |
| 74 | defer utils.RemoveAll(testStorePath + "*") |
| 75 | if x == nil { |
| 76 | t.Error("expected obj") |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | func TestAdd(t *testing.T) { |
| 81 | kms.Unittest = true |
nothing calls this directly
no test coverage detected