(t *testing.T)
| 141 | } |
| 142 | |
| 143 | func TestNewMasterKeys_AllNilRetrievers(t *testing.T) { |
| 144 | // All slots nil — macOS/Linux with no retriever wiring, or Windows with neither tier set up. |
| 145 | keys, err := NewMasterKeys(Retrievers{}, Hints{KeychainLabel: "chrome", LocalStatePath: "/tmp/Local State"}) |
| 146 | require.NoError(t, err) |
| 147 | assert.Nil(t, keys.V10) |
| 148 | assert.Nil(t, keys.V11) |
| 149 | assert.Nil(t, keys.V20) |
| 150 | } |
| 151 | |
| 152 | func TestNewMasterKeys_PartialNil(t *testing.T) { |
| 153 | // Only V10 wired — typical macOS shape. V11/V20 left nil. |
nothing calls this directly
no test coverage detected