Movatterモバイル変換


[0]ホーム

URL:


chonktest

package
v1.92.2Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2025 License:BSD-3-ClauseImports:11Imported by:0

Details

Repository

github.com/tailscale/tailscale

Links

Documentation

Overview

Package chonktest contains a shared set of tests for the Chonkinterface used to store AUM messages in Tailnet Lock, which we canshare between different implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcRunChonkTests

func RunChonkTests(t *testing.T, newChonk func(*testing.T)tka.Chonk)

RunChonkTests is a set of tests for the behaviour of a Chonk.

Any implementation of Chonk should pass these tests, so we know allChonks behave in the same way. If you want to test behaviour that'sspecific to one implementation, write a separate test.

funcRunCompactableChonkTests

func RunCompactableChonkTests(t *testing.T, newChonk func(t *testing.T)tka.CompactableChonk)

RunCompactableChonkTests is a set of tests for the behaviour of aCompactableChonk.

Any implementation of CompactableChonk should pass these tests, so weknow all CompactableChonk behave in the same way. If you want to testbehaviour that's specific to one implementation, write a separate test.

Types

This section is empty.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp