ssl_transfer

package
v1.67.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: Apache-2.0, BSD-3-Clause, ISC, + 2 more Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EMPTY struct{}

Functions

This section is empty.

Types

type TestHelper

type TestHelper struct {
	// contains filtered or unexported fields
}

libssl runner has thousands tests. These tests can be converted to test SSL transfer(encode and decode SSL) by enabling |bssl_shim| flag |-ssl-transfer|. However, not all tests are eligible for the conversion due to the support scope of SSL transfer. Besides, libssl runner needs to know all tests(including the converted) so it can process these tests concurrently. Otherwise, it has to execute the tests in two sequential sync.WaitGroup.

TestHelper is created to 1. collect the name of the tests that can be converted to test SSL transfer.

func NewTestHelper

func NewTestHelper(test_file_path string, num_of_tests int) *TestHelper

func (*TestHelper) AddNewCase

func (helper *TestHelper) AddNewCase(test_case_name string)

AddNewCase collects new test case that should be converted to test SSL transfer.

func (*TestHelper) CanBeTransfer

func (helper *TestHelper) CanBeTransfer(test_case_name string) bool

CanBeTransfer tells if |test_case_name| can be converted to test SSL transfer.

func (*TestHelper) RefreshTestFileContent

func (helper *TestHelper) RefreshTestFileContent()

Refresh the content of |abs_test_file| when 1. the new test case should be converted to test SSL transfer. 2. some test cases are deleted or renamed.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL