tests

package
v4.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteDeployment

func DeleteDeployment(s db.Interface, t *testing.T) func(t *testing.T)

func DeleteEvent

func DeleteEvent(s db.Interface, t *testing.T) func(t *testing.T)

func DeleteNoRangeThingWithCompositeAttributes

func DeleteNoRangeThingWithCompositeAttributes(s db.Interface, t *testing.T) func(t *testing.T)

func DeleteSimpleThing

func DeleteSimpleThing(s db.Interface, t *testing.T) func(t *testing.T)

func DeleteTeacherSharingRule added in v1.12.0

func DeleteTeacherSharingRule(s db.Interface, t *testing.T) func(t *testing.T)

func DeleteThing

func DeleteThing(s db.Interface, t *testing.T) func(t *testing.T)

func DeleteThingWithCompositeAttributes added in v1.12.0

func DeleteThingWithCompositeAttributes(s db.Interface, t *testing.T) func(t *testing.T)

func DeleteThingWithCompositeEnumAttributes added in v1.14.0

func DeleteThingWithCompositeEnumAttributes(s db.Interface, t *testing.T) func(t *testing.T)

func DeleteThingWithDateRange

func DeleteThingWithDateRange(s db.Interface, t *testing.T) func(t *testing.T)

func DeleteThingWithDateTimeComposite added in v1.14.1

func DeleteThingWithDateTimeComposite(s db.Interface, t *testing.T) func(t *testing.T)

func DeleteThingWithEnumHashKey

func DeleteThingWithEnumHashKey(s db.Interface, t *testing.T) func(t *testing.T)

func DeleteThingWithMatchingKeys

func DeleteThingWithMatchingKeys(s db.Interface, t *testing.T) func(t *testing.T)

func DeleteThingWithRequiredCompositePropertiesAndKeysOnly

func DeleteThingWithRequiredCompositePropertiesAndKeysOnly(s db.Interface, t *testing.T) func(t *testing.T)

func DeleteThingWithRequiredFields added in v1.13.0

func DeleteThingWithRequiredFields(s db.Interface, t *testing.T) func(t *testing.T)

func DeleteThingWithRequiredFields2

func DeleteThingWithRequiredFields2(s db.Interface, t *testing.T) func(t *testing.T)

func DeleteThingWithUnderscores added in v1.7.1

func DeleteThingWithUnderscores(s db.Interface, t *testing.T) func(t *testing.T)

func GetDeployment

func GetDeployment(s db.Interface, t *testing.T) func(t *testing.T)

func GetDeploymentByVersion

func GetDeploymentByVersion(s db.Interface, t *testing.T) func(t *testing.T)

func GetDeploymentsByEnvAppAndDate

func GetDeploymentsByEnvAppAndDate(d db.Interface, t *testing.T) func(t *testing.T)

func GetDeploymentsByEnvAppAndVersion

func GetDeploymentsByEnvAppAndVersion(d db.Interface, t *testing.T) func(t *testing.T)

func GetDeploymentsByEnvironmentAndDate

func GetDeploymentsByEnvironmentAndDate(d db.Interface, t *testing.T) func(t *testing.T)

func GetEvent

func GetEvent(s db.Interface, t *testing.T) func(t *testing.T)

func GetEventsByPkAndSk

func GetEventsByPkAndSk(d db.Interface, t *testing.T) func(t *testing.T)

func GetEventsBySkAndData

func GetEventsBySkAndData(d db.Interface, t *testing.T) func(t *testing.T)

func GetNoRangeThingWithCompositeAttributes

func GetNoRangeThingWithCompositeAttributes(s db.Interface, t *testing.T) func(t *testing.T)

func GetNoRangeThingWithCompositeAttributessByNameVersionAndDate

func GetNoRangeThingWithCompositeAttributessByNameVersionAndDate(d db.Interface, t *testing.T) func(t *testing.T)

func GetSimpleThing

func GetSimpleThing(s db.Interface, t *testing.T) func(t *testing.T)

func GetTeacherSharingRule added in v1.12.0

func GetTeacherSharingRule(s db.Interface, t *testing.T) func(t *testing.T)

func GetTeacherSharingRulesByDistrictAndSchoolTeacherApp added in v1.12.0

func GetTeacherSharingRulesByDistrictAndSchoolTeacherApp(d db.Interface, t *testing.T) func(t *testing.T)

func GetTeacherSharingRulesByTeacherAndSchoolApp added in v1.12.0

func GetTeacherSharingRulesByTeacherAndSchoolApp(d db.Interface, t *testing.T) func(t *testing.T)

func GetThing

func GetThing(s db.Interface, t *testing.T) func(t *testing.T)

func GetThingByID added in v1.8.0

func GetThingByID(s db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithCompositeAttributes added in v1.12.0

func GetThingWithCompositeAttributes(s db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithCompositeAttributessByNameBranchAndDate added in v1.12.0

func GetThingWithCompositeAttributessByNameBranchAndDate(d db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithCompositeAttributessByNameVersionAndDate added in v1.12.0

func GetThingWithCompositeAttributessByNameVersionAndDate(d db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithCompositeEnumAttributes added in v1.14.0

func GetThingWithCompositeEnumAttributes(s db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithCompositeEnumAttributessByNameBranchAndDate added in v1.14.0

func GetThingWithCompositeEnumAttributessByNameBranchAndDate(d db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithDateRange

func GetThingWithDateRange(s db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithDateRangesByNameAndDate added in v1.8.0

func GetThingWithDateRangesByNameAndDate(d db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithDateTimeComposite added in v1.14.1

func GetThingWithDateTimeComposite(s db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithDateTimeCompositesByTypeIDAndCreatedResource added in v1.14.1

func GetThingWithDateTimeCompositesByTypeIDAndCreatedResource(d db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithEnumHashKey

func GetThingWithEnumHashKey(s db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithEnumHashKeysByBranchAndDate

func GetThingWithEnumHashKeysByBranchAndDate(d db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithEnumHashKeysByBranchAndDate2

func GetThingWithEnumHashKeysByBranchAndDate2(d db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithMatchingKeys

func GetThingWithMatchingKeys(s db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithMatchingKeyssByAssocTypeIDAndCreatedBear

func GetThingWithMatchingKeyssByAssocTypeIDAndCreatedBear(d db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithMatchingKeyssByBearAndAssocTypeID

func GetThingWithMatchingKeyssByBearAndAssocTypeID(d db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithRequiredCompositePropertiesAndKeysOnly

func GetThingWithRequiredCompositePropertiesAndKeysOnly(s db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithRequiredCompositePropertiesAndKeysOnlysByPropertyOneAndTwoAndPropertyThree

func GetThingWithRequiredCompositePropertiesAndKeysOnlysByPropertyOneAndTwoAndPropertyThree(d db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithRequiredFields added in v1.13.0

func GetThingWithRequiredFields(s db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithRequiredFields2

func GetThingWithRequiredFields2(s db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithRequiredFields2sByNameAndID

func GetThingWithRequiredFields2sByNameAndID(d db.Interface, t *testing.T) func(t *testing.T)

func GetThingWithUnderscores added in v1.7.1

func GetThingWithUnderscores(s db.Interface, t *testing.T) func(t *testing.T)

func GetThingsByNameAndCreatedAt added in v1.8.0

func GetThingsByNameAndCreatedAt(d db.Interface, t *testing.T) func(t *testing.T)

func GetThingsByNameAndVersion added in v1.8.0

func GetThingsByNameAndVersion(d db.Interface, t *testing.T) func(t *testing.T)

func RunDBTests

func RunDBTests(t *testing.T, dbFactory func() db.Interface)

func SaveDeployment

func SaveDeployment(s db.Interface, t *testing.T) func(t *testing.T)

func SaveEvent

func SaveEvent(s db.Interface, t *testing.T) func(t *testing.T)

func SaveNoRangeThingWithCompositeAttributes

func SaveNoRangeThingWithCompositeAttributes(s db.Interface, t *testing.T) func(t *testing.T)

func SaveSimpleThing

func SaveSimpleThing(s db.Interface, t *testing.T) func(t *testing.T)

func SaveTeacherSharingRule added in v1.12.0

func SaveTeacherSharingRule(s db.Interface, t *testing.T) func(t *testing.T)

func SaveThing

func SaveThing(s db.Interface, t *testing.T) func(t *testing.T)

func SaveThingWithCompositeAttributes added in v1.12.0

func SaveThingWithCompositeAttributes(s db.Interface, t *testing.T) func(t *testing.T)

func SaveThingWithCompositeEnumAttributes added in v1.14.0

func SaveThingWithCompositeEnumAttributes(s db.Interface, t *testing.T) func(t *testing.T)

func SaveThingWithDateRange

func SaveThingWithDateRange(s db.Interface, t *testing.T) func(t *testing.T)

func SaveThingWithDateTimeComposite added in v1.14.1

func SaveThingWithDateTimeComposite(s db.Interface, t *testing.T) func(t *testing.T)

func SaveThingWithEnumHashKey

func SaveThingWithEnumHashKey(s db.Interface, t *testing.T) func(t *testing.T)

func SaveThingWithMatchingKeys

func SaveThingWithMatchingKeys(s db.Interface, t *testing.T) func(t *testing.T)

func SaveThingWithRequiredCompositePropertiesAndKeysOnly

func SaveThingWithRequiredCompositePropertiesAndKeysOnly(s db.Interface, t *testing.T) func(t *testing.T)

func SaveThingWithRequiredFields added in v1.13.0

func SaveThingWithRequiredFields(s db.Interface, t *testing.T) func(t *testing.T)

func SaveThingWithRequiredFields2

func SaveThingWithRequiredFields2(s db.Interface, t *testing.T) func(t *testing.T)

func SaveThingWithUnderscores added in v1.7.1

func SaveThingWithUnderscores(s db.Interface, t *testing.T) func(t *testing.T)

func ScanDeployments

func ScanDeployments(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanDeploymentsByEnvAppAndDate

func ScanDeploymentsByEnvAppAndDate(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanDeploymentsByVersion

func ScanDeploymentsByVersion(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanEvents

func ScanEvents(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanEventsBySkAndData

func ScanEventsBySkAndData(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanNoRangeThingWithCompositeAttributess

func ScanNoRangeThingWithCompositeAttributess(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanNoRangeThingWithCompositeAttributessByNameVersionAndDate

func ScanNoRangeThingWithCompositeAttributessByNameVersionAndDate(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanSimpleThings

func ScanSimpleThings(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanTeacherSharingRules

func ScanTeacherSharingRules(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanTeacherSharingRulesByDistrictAndSchoolTeacherApp

func ScanTeacherSharingRulesByDistrictAndSchoolTeacherApp(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanThingWithCompositeAttributess

func ScanThingWithCompositeAttributess(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanThingWithCompositeAttributessByNameVersionAndDate

func ScanThingWithCompositeAttributessByNameVersionAndDate(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanThingWithCompositeEnumAttributess

func ScanThingWithCompositeEnumAttributess(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanThingWithDateRanges

func ScanThingWithDateRanges(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanThingWithDateTimeComposites

func ScanThingWithDateTimeComposites(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanThingWithEnumHashKeys

func ScanThingWithEnumHashKeys(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanThingWithEnumHashKeysByBranchAndDate2

func ScanThingWithEnumHashKeysByBranchAndDate2(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanThingWithMatchingKeyss

func ScanThingWithMatchingKeyss(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanThingWithMatchingKeyssByAssocTypeIDAndCreatedBear

func ScanThingWithMatchingKeyssByAssocTypeIDAndCreatedBear(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanThingWithRequiredCompositePropertiesAndKeysOnlys

func ScanThingWithRequiredCompositePropertiesAndKeysOnlys(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanThingWithRequiredCompositePropertiesAndKeysOnlysByPropertyOneAndTwoAndPropertyThree

func ScanThingWithRequiredCompositePropertiesAndKeysOnlysByPropertyOneAndTwoAndPropertyThree(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanThingWithRequiredFields2s

func ScanThingWithRequiredFields2s(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanThingWithRequiredFieldss

func ScanThingWithRequiredFieldss(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanThings added in v1.13.1

func ScanThings(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanThingsByID

func ScanThingsByID(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

func ScanThingsByNameAndCreatedAt

func ScanThingsByNameAndCreatedAt(d db.Interface, t *testing.T) func(t *testing.T)

The scan tests are structured differently compared to other tests in because items returned by scans are not returned in any particular order, so we can't simply declare what the expected arrays of items are.

Types

This section is empty.

Jump to

Keyboard shortcuts

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