Skip to content

Check that all exceptions are tested #22308

New issue

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

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

Already on GitHub? # to your account

Open
ajcvickers opened this issue Aug 28, 2020 · 0 comments
Open

Check that all exceptions are tested #22308

ajcvickers opened this issue Aug 28, 2020 · 0 comments

Comments

@ajcvickers
Copy link
Contributor

ajcvickers commented Aug 28, 2020

The following resource strings aren't used in tests:

Core

  • ArgumentPropertyNull
  • CannotConvertQueryableToEnumerableMethod
  • CannotMaterializeAbstractType
  • ComparerPropertyMismatch
  • ContextDisposed
  • ExpressionParameterizationException
  • IdentityConflictOwned
  • IdentityConflictOwnedSensitive
  • InvalidEnumValue
  • InvalidSwitch
  • InvalidTypeConversationWithInclude
  • MultipleEntries
  • MultipleProvidersConfigured
  • NoClrType
  • NoProviderConfiguredFailedToResolveService
  • NotAnEFService
  • NotQueryingEnumerable
  • OptionsExtensionNotFound
  • PoolingContextCtorError
  • PropertyConceptualNull
  • QueryContextAlreadyInitializedStateManager
  • QueryEntityMaterializationConditionWrongShape
  • QueryFailed
  • QueryUnableToTranslateEFProperty
  • RuntimeParameterMissingParameter
  • StoreGenValue
  • TransactionsNotSupported
  • UnableToDiscriminate
  • UnhandledExpressionNode
  • UnhandledMemberBinding
  • UnhandledNavigationBase
  • UnknownEntity
  • VisitIsNotAllowed

Proxies

  • FieldProperty

InMemory

  • DefaultIfEmptyAppliedAfterProjection
  • InvalidDerivedTypeInEntityProjection
  • UnableToBindMemberToEntityProjection

Cosmos

  • CosmosNotInUse
  • InvalidDerivedTypeInEntityProjection
  • NavigationPropertyIsNotAnEmbeddedEntity
  • NoReadItemQueryString
  • NullTypeMappingInSqlTree
  • NonEmbeddedIncludeNotSupported
  • NullTypeMappingInSqlTree
  • OrphanedNestedDocument
  • PartitionKeyMismatch
  • PartitionKeyMissing
  • ResourceIdMissing
  • ReverseAfterSkipTakeNotSupported
  • UnableToBindMemberToEntityProjection
  • UnsupportedOperatorForSqlExpression
  • VisitChildrenMustBeOverridden
  • CanConnectNotSupported

Relational

  • EitherOfTwoValuesMustBeNull
  • ErrorMaterializingProperty
  • ErrorMaterializingValue
  • InvalidDerivedTypeInEntityProjection
  • InvalidKeySelectorForGroupBy
  • InvalidMappedSqlQueryDerivedType
  • NoDbCommand
  • NoneRelationalTypeMappingOnARelationalTypeMappingSource
  • NullTypeMappingInSqlTree
  • ProjectionMappingCountMismatch
  • SelectExpressionNonTPHWithCustomTable
  • SetOperationsNotAllowedAfterClientEvaluation
  • SetOperationsOnDifferentStoreTypes
  • TooFewReaderFields
  • UnableToBindMemberToEntityProjection
  • UnhandledExpressionInVisitor
  • UnknownOperation
  • UnsupportedOperatorForSqlExpression
  • UnsupportedStoreType
  • VisitChildrenMustBeOverridden

SqlServer

  • AlterMemoryOptimizedTable
  • CannotProduceUnterminatedSQLWithComments
  • InvalidColumnNameForFreeText
  • InvalidTableToIncludeInScaffolding

Data.Sqlite

  • ParameterNotFound

Design

  • BadSequenceType
  • CannotFindDesignTimeProviderAssemblyAttribute
  • CannotFindRuntimeProviderAssembly
  • ConflictingContextAndMigrationName
  • DatabaseDropped
  • DestructiveOperation
  • Done
  • DroppingDatabase
  • DuplicateMigrationName
  • ErrorConnecting
  • FindingDesignTimeServices
  • FindingProviderServices
  • FindingReferencedServices
  • ForceRemoveMigration
  • ForeignKeyScaffoldErrorPrincipalTableNotFound
  • ForeignKeyScaffoldErrorPrincipalTableScaffoldingError
  • ForeignKeyScaffoldErrorPropertyNotFound
  • ForeignMigrations
  • MalformedCreateHostBuilder
  • ManuallyDeleted
  • MigrationsAssemblyMismatch
  • MultipleContexts
  • MultipleContextsWithName
  • MultipleContextsWithQualifiedName
  • NoContext
  • NoContextWithName
  • NoDesignTimeServices
  • NoMigrationFile
  • NoMigrationMetadataFile
  • NonRelationalProvider
  • NoParameterlessConstructor
  • NoReferencedServices
  • NoSnapshot
  • NoSnapshotFile
  • NotExistDatabase
  • PrimaryKeyErrorPropertyNotFound
  • ProviderReturnedNullModel
  • RemovingMigration
  • RemovingSnapshot
  • ReusingSnapshotName
  • RevertingSnapshot
  • RevertMigration
  • SequencesRequireName
  • UnableToGenerateEntityType
  • UnableToScaffoldIndexMissingProperty
  • UnhandledEnumValue
  • UnknownOperation
  • UnreferencedAssembly
  • UsingDesignTimeServices
  • UsingProviderServices
  • UsingReferencedServices
  • VersionMismatch
  • WritingMigration
  • WritingSnapshot
  • MigrationSqlGenerationMissing

dotnet-ef

  • BuildFailed
  • BuildStarted
  • BuildSucceeded
  • DotnetEfFullName
  • GetMetadataFailed
  • InvalidTemplatePattern
  • LastArgumentHasMultipleValues
  • MultipleProjects
  • MultipleProjectsInDirectory
  • MultipleStartupProjects
  • NETCoreApp1StartupProject
  • NETStandardStartupProject
  • NoProject
  • NoProjectInDirectory
  • ResponseFileMissing
  • UnexpectedArgument
  • UnexpectedOptionValue
  • UnsupportedFramework
  • UsingProject
  • UsingStartupProject
  • WritingFile

ef

  • AssemblyDescription
  • ConnectionDescription
  • ContextDescription
  • ContextDirDescription
  • ContextNameDescription
  • ContextNamespaceDescription
  • DataAnnotationsDescription
  • DatabaseDescription
  • DatabaseDropDescription
  • DatabaseDropDryRun
  • DatabaseDropDryRunDescription
  • DatabaseDropForceDescription
  • DatabaseDropPrompt
  • DatabaseName
  • DatabaseUpdateDescription
  • DataDirDescription
  • DataSource
  • DbContextConnectionDescription
  • DbContextDescription
  • DbContextInfoDescription
  • DbContextListDescription
  • DbContextScriptDescription
  • DbContextScaffoldDescription
  • DbContextScaffoldForceDescription
  • DesignNotFound
  • EFFullName
  • IdempotentDescription
  • InvalidTemplatePattern
  • JsonDescription
  • LanguageDescription
  • LastArgumentHasMultipleValues
  • MigrationDescription
  • MigrationFromDescription
  • MigrationNameDescription
  • MigrationsAddCompleted
  • MigrationsAddDescription
  • MigrationsDescription
  • MigrationsListDescription
  • MigrationsNamespaceDescription
  • MigrationsOutputDirDescription
  • MigrationsRemoveDescription
  • MigrationsRemoveForceDescription
  • MigrationsScriptDescription
  • MigrationToDescription
  • MissingArgument
  • MissingOption
  • NamespaceDescription
  • NoColorDescription
  • NoConnectDescription
  • NoDbContext
  • NoMigrations
  • NoPluralizeDescription
  • NoTransactionsDescription
  • Options
  • OutputDescription
  • OutputDirDescription
  • Pending
  • PrefixDescription
  • ProjectDirDescription
  • ProviderDescription
  • ProviderName
  • RemainingArguments
  • ResponseFileMissing
  • RootNamespaceDescription
  • SchemasDescription
  • StartupAssemblyDescription
  • SuppressOnConfiguringDescription
  • TablesDescription
  • UnexpectedArgument
  • UnexpectedOptionValue
  • UseDatabaseNamesDescription
  • UsingApplicationBase
  • UsingAssembly
  • UsingConfigurationFile
  • UsingDataDir
  • UsingProjectDir
  • UsingRootNamespace
  • UsingStartupAssembly
  • UsingWorkingDirectory
  • VerboseDescription
  • WorkingDirDescription
  • WritingFile
@smitpatel smitpatel modified the milestones: 5.0.0, MQ Aug 31, 2020
@AndriySvyryd AndriySvyryd removed this from the MQ milestone Oct 29, 2020
@AndriySvyryd AndriySvyryd removed their assignment Oct 29, 2020
@ajcvickers ajcvickers added this to the MQ milestone Oct 30, 2020
AndriySvyryd added a commit that referenced this issue Oct 30, 2020
ghost pushed a commit that referenced this issue Nov 2, 2020
ajcvickers added a commit that referenced this issue Nov 25, 2020
ajcvickers added a commit that referenced this issue Nov 25, 2020
@smitpatel smitpatel removed their assignment Nov 10, 2022
@bricelam bricelam removed their assignment Jul 8, 2023
@ajcvickers ajcvickers removed their assignment Aug 31, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

6 participants