testutil

package
v0.0.0-rc9 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCanonizedDebeziumEvent

func CheckCanonizedDebeziumEvent(t *testing.T, changeItem *abstract.ChangeItem, databaseServerName, database, sourceType string, isSnapshot bool, canonEvents []debeziumcommon.KeyValue)

func CheckCanonizedDebeziumEvent2

func CheckCanonizedDebeziumEvent2(t *testing.T, key string, value *string, canonEvent debeziumcommon.KeyValue)

func Compare

func Compare(t *testing.T, expected, actual string)

func CompareYTTypesOriginalAndRecovered

func CompareYTTypesOriginalAndRecovered(t *testing.T, l, r *abstract.ChangeItem)

func FixTestSuite

func FixTestSuite(t *testing.T, testSuite []debeziumcommon.ChangeItemCanon, databaseServerName, database, sourceType string) []debeziumcommon.ChangeItemCanon

Types

type Message

type Message struct {
	Payload map[string]interface{} `json:"payload"`
	Schema  map[string]interface{} `json:"schema"`
}

Jump to

Keyboard shortcuts

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