testosa

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: GPL-3.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package testosa provides tests for OSA implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertOrgOS

func AssertOrgOS(t *testing.T, osa osaPkg.I)

AssertOrgOS tests OSA implementations that utilize the original OS package.

func AssertOsa

func AssertOsa(
	t *testing.T,
	osa osaPkg.I,
	mkTempDir func() string,
	assertExit func(t *testing.T),
	getStdio func() (in io.Writer, out, err io.Reader, reset func()),
)

AssertOsa tests various internal OSA operations.

func AssertStdio

func AssertStdio(
	t *testing.T,
	osa osaPkg.I,
	wIn io.Writer,
	rOut io.Reader,
	rErr io.Reader,
) bool

AssertStdio tests Stdin, Stdout, and Stderr of an OS abstraction.

Types

This section is empty.

Jump to

Keyboard shortcuts

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