testutil

package module
v0.0.0-...-8021407 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArrayFromJSON

func ArrayFromJSON(t *testing.T, mem memory.Allocator, dt arrow.DataType, json string) arrow.Array

ArrayFromJSON is the same as array.FromJSON, but fails the test on error.

func CheckedClose

func CheckedClose(t *testing.T, obj io.Closer)

CheckedClose validates that a deferred Close call did not fail. See: https://github.com/stretchr/testify/issues/1067

func RecordFromJSON

func RecordFromJSON(t *testing.T, mem memory.Allocator, schema *arrow.Schema, json string) arrow.RecordBatch

RecordFromJSON is the same as array.RecordFromJSON, but fails the test on error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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