tailscale/tka
Alex Chan d6ffc0d986 tka,ipn: reduce boilerplate in Tailnet Lock tests
The `CreateStateForTest` helper reduces boilerplate in cases where the test
only cares about the trusted keys and not the disablement values (and makes
it more obvious where the disablement values are meaningful).

The `setupChonkStorage` helper reduces the boilerplate when creating on-disk
TKA storage in tests.

The `fakeLocalBackend` helper reduces the boilerplate when setting up a
`LocalBackend` instance in the IPN tests.

Updates #cleanup

Change-Id: Iacfba1be5f7fab208eec11e4369d63c7d7519da5
Signed-off-by: Alex Chan <alexc@tailscale.com>
2026-05-07 21:49:27 +01:00
..
aum_test.go tka: refer consistently to "DisablementValues" 2026-04-01 19:09:22 +01:00
aum.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
builder_test.go tka,ipn: reduce boilerplate in Tailnet Lock tests 2026-05-07 21:49:27 +01:00
builder.go ipn,tka: improve Tailnet Lock logs 2026-04-01 17:08:12 +01:00
chaintest_test.go tka,ipn: reduce boilerplate in Tailnet Lock tests 2026-05-07 21:49:27 +01:00
deeplink_test.go tka: reduce boilerplate code in the tests 2026-04-28 16:42:48 +02:00
deeplink.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
disabled_stub.go tka: keep the CompactionDefaults alongside the other limits 2026-04-10 16:06:23 +01:00
key_test.go tka,ipn: reduce boilerplate in Tailnet Lock tests 2026-05-07 21:49:27 +01:00
key.go tka: consolidate all the limits into a single file 2026-04-01 08:50:24 +01:00
limits.go tka: clarify that this limit is on disablement *values* not *secrets* 2026-05-01 18:25:39 +01:00
scenario_test.go tka: reduce boilerplate code in the tests 2026-04-28 16:42:48 +02:00
sig_test.go tka: reduce boilerplate code in the tests 2026-04-28 16:42:48 +02:00
sig.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
state_test.go tka: refer consistently to "DisablementValues" 2026-04-01 19:09:22 +01:00
state.go tka,ipn: reduce boilerplate in Tailnet Lock tests 2026-05-07 21:49:27 +01:00
sync_test.go tka: reduce boilerplate code in the tests 2026-04-28 16:42:48 +02:00
sync.go tka: consolidate all the limits into a single file 2026-04-01 08:50:24 +01:00
tailchonk_test.go tka,ipn: reduce boilerplate in Tailnet Lock tests 2026-05-07 21:49:27 +01:00
tailchonk.go tka: Revert "improve logging for Compact and Commit operations" 2026-04-10 17:13:23 +01:00
tka_clone.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
tka_test.go tka,ipn: reduce boilerplate in Tailnet Lock tests 2026-05-07 21:49:27 +01:00
tka.go tka: Revert "improve logging for Compact and Commit operations" 2026-04-10 17:13:23 +01:00
verify_disabled.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
verify.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00