Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operators #63

Open
wants to merge 59 commits into
base: main
Choose a base branch
from

create mocks for new types

9107f17
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Operators #63

create mocks for new types
9107f17
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Integration Tests Report succeeded Aug 23, 2023 in 1s

Integration Tests Report ✅

Tests passed successfully

✅ integration-tests.xml

86 tests were completed in 14s with 86 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
github.com/ditrit/badaas/testintegration 86✅ 7s

✅ github.com/ditrit/badaas/testintegration

✅ TestBaDaaSORM/TestGetByIDReturnsEntityIfIDMatch
✅ TestBaDaaSORM/TestGetByIDReturnsErrorIfIDDontMatch
✅ TestBaDaaSORM/TestQueryOneReturnsEntityIfConditionsMatch
✅ TestBaDaaSORM/TestQueryOneReturnsErrorIfConditionsDontMatch
✅ TestBaDaaSORM/TestQueryOneReturnsErrorIfMoreThanOneMatchConditions
✅ TestBaDaaSORM/TestConditionOfBoolType
✅ TestBaDaaSORM/TestConditionOfByteArrayEmpty
✅ TestBaDaaSORM/TestConditionOfByteArrayWithContent
✅ TestBaDaaSORM/TestConditionOfCreatedAt
✅ TestBaDaaSORM/TestConditionOfCustomType
✅ TestBaDaaSORM/TestConditionOfDeletedAt
✅ TestBaDaaSORM/TestConditionOfEmbedded
✅ TestBaDaaSORM/TestConditionOfFloatType
✅ TestBaDaaSORM/TestConditionOfGormEmbedded
✅ TestBaDaaSORM/TestConditionOfID
✅ TestBaDaaSORM/TestConditionOfIntType
✅ TestBaDaaSORM/TestConditionOfPointerTypeWithValue
✅ TestBaDaaSORM/TestConditionOfRelationType
✅ TestBaDaaSORM/TestConditionOfRelationTypeOptionalByNil
✅ TestBaDaaSORM/TestConditionOfRelationTypeOptionalWithValue
✅ TestBaDaaSORM/TestConditionsOnUIntModel
✅ TestBaDaaSORM/TestConditionsReturnsEmptyIfNotEntitiesCreated
✅ TestBaDaaSORM/TestConditionsReturnsEmptyIfNothingMatch
✅ TestBaDaaSORM/TestConditionsReturnsMultipleIfMultipleMatch
✅ TestBaDaaSORM/TestConditionsReturnsOneIfOnlyOneMatch
✅ TestBaDaaSORM/TestDeletedAtConditionIsAddedAutomatically
✅ TestBaDaaSORM/TestEmptyConnectionConditionMakesNothing
✅ TestBaDaaSORM/TestEmptyContainerConditionReturnsError
✅ TestBaDaaSORM/TestGetByIDReturnsErrorIfNotEntityCreated
✅ TestBaDaaSORM/TestGetByIDReturnsErrorIfNotEntityMatch
✅ TestBaDaaSORM/TestGetByIDReturnsTheEntityIfItIsCreate
✅ TestBaDaaSORM/TestJoinWithEmptyConnectionConditionMakesNothing
✅ TestBaDaaSORM/TestJoinWithEmptyContainerConditionReturnsError
✅ TestBaDaaSORM/TestJoinWithUnsafeCondition
✅ TestBaDaaSORM/TestMultipleConditionsAreConnectedByAnd
✅ TestBaDaaSORM/TestMultipleConditionsDifferentOperators
✅ TestBaDaaSORM/TestMultipleConditionsOfDifferentTypesWorks
✅ TestBaDaaSORM/TestNot
✅ TestBaDaaSORM/TestNotOr
✅ TestBaDaaSORM/TestNotWithMultipleConditionsAreConnectedByAnd
✅ TestBaDaaSORM/TestOr
✅ TestBaDaaSORM/TestQueryReturnsEmptyIfNotEntitiesCreated
✅ TestBaDaaSORM/TestQueryReturnsTheListWhenMultipleCreated
✅ TestBaDaaSORM/TestQueryReturnsTheOnlyOneIfOneEntityCreated
✅ TestBaDaaSORM/TestUnsafeCondition
✅ TestBaDaaSORM/TestConditionThatJoinsAddsDeletedAtAutomatically
✅ TestBaDaaSORM/TestConditionThatJoinsAndFiltersByNil
✅ TestBaDaaSORM/TestConditionThatJoinsAndFiltersTheMainEntity
✅ TestBaDaaSORM/TestConditionThatJoinsBelongsTo
✅ TestBaDaaSORM/TestConditionThatJoinsDifferentEntities
✅ TestBaDaaSORM/TestConditionThatJoinsHasOneOptional
✅ TestBaDaaSORM/TestConditionThatJoinsHasOneSelfReferential
✅ TestBaDaaSORM/TestConditionThatJoinsMultipleTimes
✅ TestBaDaaSORM/TestConditionThatJoinsOnDeletedAt
✅ TestBaDaaSORM/TestConditionThatJoinsOnDifferentAttributes
✅ TestBaDaaSORM/TestConditionThatJoinsOnHasMany
✅ TestBaDaaSORM/TestConditionThatJoinsOneToOne
✅ TestBaDaaSORM/TestConditionThatJoinsOneToOneReversed
✅ TestBaDaaSORM/TestConditionThatJoinsUintBelongsTo
✅ TestBaDaaSORM/TestConditionThatJoinsWithEntityThatDefinesTableName
✅ TestBaDaaSORM/TestArrayIn
✅ TestBaDaaSORM/TestArrayNotIn
✅ TestBaDaaSORM/TestBetween
✅ TestBaDaaSORM/TestEqNullableType
✅ TestBaDaaSORM/TestEqPointers
✅ TestBaDaaSORM/TestGt
✅ TestBaDaaSORM/TestGtOrEq
✅ TestBaDaaSORM/TestIsDistinct
✅ TestBaDaaSORM/TestIsFalse
✅ TestBaDaaSORM/TestIsNotDistinct
✅ TestBaDaaSORM/TestIsNotFalse
✅ TestBaDaaSORM/TestIsNotNullNullableTypes
✅ TestBaDaaSORM/TestIsNotNullPointers
✅ TestBaDaaSORM/TestIsNotTrue
✅ TestBaDaaSORM/TestIsNotUnknown
✅ TestBaDaaSORM/TestIsNullNullableTypes
✅ TestBaDaaSORM/TestIsNullPointers
✅ TestBaDaaSORM/TestIsTrue
✅ TestBaDaaSORM/TestIsUnknown
✅ TestBaDaaSORM/TestLike
✅ TestBaDaaSORM/TestLikeEscape
✅ TestBaDaaSORM/TestLt
✅ TestBaDaaSORM/TestLtOrEq
✅ TestBaDaaSORM/TestNotBetween
✅ TestBaDaaSORM/TestNotEq
✅ TestBaDaaSORM