dbtesting

package
v0.0.0-...-32a7359 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestLogFilePath = "../../../test/data/log.txt"

Functions

func CleanupTestDB

func CleanupTestDB(sqlb *db.SQLiteBackend)

func CompareCommitArrays

func CompareCommitArrays(t *testing.T, expectedCommitArray []*common.Commit, testingCommitArray []*common.Commit)

func IngestTestCommits

func IngestTestCommits(sqlb *db.SQLiteBackend, t *testing.T) []*common.Commit

func InitTestDB

func InitTestDB(t *testing.T) *db.SQLiteBackend

func ParsedTestCommitLog

func ParsedTestCommitLog(t *testing.T) []*common.Commit

func ReadTestLogFile

func ReadTestLogFile(t *testing.T) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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