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

fix: fixing delete trained model to prevent deleting base trained mod… #255

Merged
merged 1 commit into from
Dec 23, 2024

fix: fixing delete trained model to prevent deleting base trained mod…

2253eb6
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

fix: fixing delete trained model to prevent deleting base trained mod… #255

fix: fixing delete trained model to prevent deleting base trained mod…
2253eb6
Select commit
Loading
Failed to load commit list.
GitHub Actions / Unit Tests succeeded Dec 20, 2024 in 1s

2391 passed, 0 failed and 0 skipped

Tests passed successfully

✅ Tests/TestResults/test-results.trx

2391 tests were completed in 32s with 2391 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Tests.DalTests.ApplicationStorage.SeedDatabase.DbInitializerTests 12✅ 115ms
Tests.DalTests.ApplicationStorage.SeedDatabase.ModuleConfigs.MMDetectionSetupServiceTests 16✅ 6s
Tests.DalTests.Helpers.AppSettingsAccessorTests 5✅ 18ms
Tests.DalTests.Repositories.ApplicationSettingsRepositoryTests 9✅ 14s
Tests.DalTests.Repositories.DatasetRepositories.DatasetsRepositoryTests 56✅ 778ms
Tests.DalTests.Repositories.DatasetRepositories.ImageAnnotationsRepositoryTests 4✅ 131ms
Tests.DalTests.Repositories.IntranetPortalUsersTokenDaTests 15✅ 497ms
Tests.DalTests.Repositories.MapConfigurationRepositories.MapConfigurationRepositoryTests 4✅ 106ms
Tests.DalTests.Repositories.UserManagementDaTests 68✅ 743ms
Tests.DTOsTests.Helpers.GeoJsonHelpersTests 26✅ 154ms
Tests.DTOsTests.Helpers.NewtonsoftJsonHelperTests 7✅ 1s
Tests.DTOsTests.Helpers.NumericJsonConverterTests 7✅ 7ms
Tests.DTOsTests.MainAppBL.AppSettingDTOTests 3✅ 4ms
Tests.DTOsTests.MainAppBL.AreaComparisonAvgConfidenceRateReportDTOTests 2✅ 13ms
Tests.DTOsTests.MainAppBL.ClaimDTOTests 3✅ 1ms
Tests.DTOsTests.MainAppBL.DatasetDTOsTests.CreateDatasetClassDTOTests 3✅ 1ms
Tests.DTOsTests.MainAppBL.DatasetDTOsTests.Dataset_DatasetClassDTOTests 3✅ 1ms
Tests.DTOsTests.MainAppBL.DatasetDTOsTests.DatasetClassDTOTests 3✅ 2ms
Tests.DTOsTests.MainAppBL.DatasetDTOsTests.DatasetDTOTests 3✅ 2ms
Tests.DTOsTests.MainAppBL.DatasetDTOsTests.DatasetFullIncludeDTOTests 5✅ 4ms
Tests.DTOsTests.MainAppBL.DatasetDTOsTests.DatasetImageDTOTests 3✅ 3ms
Tests.DTOsTests.MainAppBL.DatasetDTOsTests.EditDatasetClassDTOTests 3✅ 1ms
Tests.DTOsTests.MainAppBL.DatasetDTOsTests.EditDatasetImageDTOTests 3✅ 1ms
Tests.DTOsTests.MainAppBL.DatasetDTOsTests.ImageAnnotationDTOTests 3✅ 6ms
Tests.DTOsTests.MainAppBL.DetectionDTOsTests.DetectedDumpSiteDTOTests 3✅ 1ms
Tests.DTOsTests.MainAppBL.DetectionDTOsTests.DetectionIgnoreZoneDTOTests 2✅ 1ms
Tests.DTOsTests.MainAppBL.DetectionDTOsTests.DetectionInputImageDTOTests 3✅ 8ms
Tests.DTOsTests.MainAppBL.DetectionDTOsTests.DetectionRunDTOTests 3✅ 5ms
Tests.DTOsTests.MainAppBL.DetectionDTOsTests.DetectionRunJsonPayloadDTOTests 3✅ 2ms
Tests.DTOsTests.MainAppBL.DetectionDTOsTests.GroupedDumpSitesListHistoricDataDTOTests 8✅ 7ms
Tests.DTOsTests.MainAppBL.EditDatasetDTOTests 3✅ 6ms
Tests.DTOsTests.MainAppBL.LegalLandfillManagementDTOsTests.LegalLandfillDTOTests 3✅ 1ms
Tests.DTOsTests.MainAppBL.LegalLandfillManagementDTOsTests.LegalLandfillPointCloudFileDTOTests 2✅ 1ms
Tests.DTOsTests.MainAppBL.LegalLandfillManagementDTOsTests.LegalLandfillTruckDTOTests 4✅ 3ms
Tests.DTOsTests.MainAppBL.LegalLandfillManagementDTOsTests.LegalLandfillWasteImportDTOTests 2✅ 1ms
Tests.DTOsTests.MainAppBL.LegalLandfillManagementDTOsTests.LegalLandfillWasteTypeDTOTests 2✅ 2ms
Tests.DTOsTests.MainAppBL.LegalLandfillManagementDTOsTests.WasteVolumeComparisonDTOTests 7✅ 4ms
Tests.DTOsTests.MainAppBL.MapConfigurationDTOsTests.MapConfigurationDTOTests 3✅ 17ms
Tests.DTOsTests.MainAppBL.MapConfigurationDTOsTests.MapLayerConfigurationDTOTests 3✅ 13ms
Tests.DTOsTests.MainAppBL.MapConfigurationDTOsTests.MapLayerGroupConfigurationDTOTests 2✅ 2ms
Tests.DTOsTests.MainAppBL.RoleClaimDTOTests 4✅ 1ms
Tests.DTOsTests.MainAppBL.RoleDTOTests 4✅ 1ms
Tests.DTOsTests.MainAppBL.RoleManagementDTOTests 1✅ 0ms
Tests.DTOsTests.MainAppBL.SendMailModelDTOTests 4✅ 2ms
Tests.DTOsTests.MainAppBL.SmtpClientModelDTOTests 4✅ 1ms
Tests.DTOsTests.MainAppBL.StringBuilderResultDTOTests 2✅ 0ms
Tests.DTOsTests.MainAppBL.TraninigDTOsTests.TrainedModelDTOTests 3✅ 3ms
Tests.DTOsTests.MainAppBL.TraninigDTOsTests.TrainedModelStatisticsDTOTests 3✅ 8ms
Tests.DTOsTests.MainAppBL.TraninigDTOsTests.TrainingEpochMetricsDTOTests 2✅ 1ms
Tests.DTOsTests.MainAppBL.TraninigDTOsTests.TrainingEpochStepMetricsDTOTests 2✅ 3ms
Tests.DTOsTests.MainAppBL.TraninigDTOsTests.TrainingRunDTOTests 3✅ 2ms
Tests.DTOsTests.MainAppBL.TraninigDTOsTests.TrainingRunTrainParamsDTOTests 6✅ 1ms
Tests.DTOsTests.MainAppBL.UserClaimDTOTests 3✅ 1ms
Tests.DTOsTests.MainAppBL.UserDTOTests 2✅ 0ms
Tests.DTOsTests.MainAppBL.UserManagementDTOTests 2✅ 1ms
Tests.DTOsTests.MainAppBL.UserRoleDTOTests 3✅ 1ms
Tests.DTOsTests.ObjectDetectionApi.CocoFormatDTOs.CocoAnnotationDTOTests 6✅ 20ms
Tests.DTOsTests.ObjectDetectionApi.CocoFormatDTOs.SegmentationConverterTests 4✅ 16ms
Tests.EntitiesTests.ApplicationSettingsTests 4✅ 10ms
Tests.EntitiesTests.ApplicationUserTests 3✅ 0ms
Tests.EntitiesTests.AuditLogTests 3✅ 1ms
Tests.EntitiesTests.DatasetEntittes.DatasetTests 6✅ 11ms
Tests.EntitiesTests.DatasetEntittes.ImageAnnotationTests 9✅ 45ms
Tests.EntitiesTests.DetectionEntities.DetectedDumpSiteTests 7✅ 5ms
Tests.EntitiesTests.DetectionEntities.DetectionIgnoreZoneTests 9✅ 2ms
Tests.EntitiesTests.DetectionEntities.DetectionInputImageTests 12✅ 5ms
Tests.EntitiesTests.DetectionEntities.DetectionRunTests 7✅ 9ms
Tests.EntitiesTests.Helpers.GeoJsonHelpersTests 7✅ 6ms
Tests.EntitiesTests.IntranetPortalUsersTokenTests 3✅ 1ms
Tests.EntitiesTests.LegalLandfillManagementTests.LegalLandfillPointCloudFileTests 7✅ 5ms
Tests.EntitiesTests.LegalLandfillManagementTests.LegalLandfillTests 5✅ 1ms
Tests.EntitiesTests.LegalLandfillManagementTests.LegalLandfillTruckTests 8✅ 1ms
Tests.EntitiesTests.LegalLandfillManagementTests.LegalLandfillWasteImportTests 15✅ 5ms
Tests.EntitiesTests.LegalLandfillManagementTests.LegalLandfillWasteTypeTests 3✅ 1ms
Tests.EntitiesTests.MapConfigurationEntities.MapConfigurationTests 16✅ 7ms
Tests.EntitiesTests.MapConfigurationEntities.MapLayerConfigurationTests 16✅ 3ms
Tests.EntitiesTests.MapConfigurationEntities.MapLayerGroupConfigurationTests 16✅ 3ms
Tests.EntitiesTests.TrainingEntities.TrainedModelStatisticsTests 3✅ 4ms
Tests.EntitiesTests.TrainingEntities.TrainedModelTests 5✅ 1ms
Tests.EntitiesTests.TrainingEntities.TrainingRunTests 4✅ 8ms
Tests.MainAppBLTests.ForgotResetPasswordServiceTests 3✅ 17ms
Tests.MainAppBLTests.LayoutServiceTests 5✅ 3ms
Tests.MainAppBLTests.Mappers.ApplicationSettingsProfileBLTests 2✅ 211ms
Tests.MainAppBLTests.Mappers.DatasetProfileBLTests 5✅ 79ms
Tests.MainAppBLTests.Mappers.DetectionProfileBLTests 5✅ 64ms
Tests.MainAppBLTests.Mappers.LegalLandfillManagementProfileBLTests 6✅ 70ms
Tests.MainAppBLTests.Mappers.MapConfigurationProfileBLTests 4✅ 54ms
Tests.MainAppBLTests.Mappers.TrainingProfileBLTests 7✅ 73ms
Tests.MainAppBLTests.Mappers.UserManagementProfileBLTests 9✅ 72ms
Tests.MainAppBLTests.MMDetectionConfigurationServiceTests 25✅ 222ms
Tests.MainAppBLTests.Services.ApplicationSettingsServiceTests 27✅ 101ms
Tests.MainAppBLTests.Services.Dataset_DatasetClassServiceTests 3✅ 10ms
Tests.MainAppBLTests.Services.DatasetClassesServiceTests 38✅ 153ms
Tests.MainAppBLTests.Services.DatasetImagesServiceTests 32✅ 143ms
Tests.MainAppBLTests.Services.DatasetServices.CocoUtilsServiceTests 28✅ 469ms
Tests.MainAppBLTests.Services.DatasetServiceTests 100✅ 17s
Tests.MainAppBLTests.Services.DetectionIgnoreZoneServiceTests 21✅ 122ms
Tests.MainAppBLTests.Services.DetectionRunServiceTests 65✅ 314ms
Tests.MainAppBLTests.Services.ImageAnnotationsServiceTests 8✅ 37ms
Tests.MainAppBLTests.Services.LegalLandfillPointCloudFileServiceTests 59✅ 216ms
Tests.MainAppBLTests.Services.LegalLandfillServiceTests 15✅ 44ms
Tests.MainAppBLTests.Services.LegalLandfillTruckServiceTests 23✅ 117ms
Tests.MainAppBLTests.Services.LegalLandfillWasteImportServiceTests 15✅ 65ms
Tests.MainAppBLTests.Services.LegalLandfillWasteTypeServiceTests 15✅ 89ms
Tests.MainAppBLTests.Services.MapConfigurationServiceTests 19✅ 74ms
Tests.MainAppBLTests.Services.MapLayerConfigurationServiceTests 15✅ 89ms
Tests.MainAppBLTests.Services.MapLayerGroupsConfigurationServiceTests 18✅ 91ms
Tests.MainAppBLTests.Services.TrainingServices.TrainedModelServiceTests 32✅ 97ms
Tests.MainAppBLTests.Services.TrainingServices.TrainingConfigGeneratorTests 29✅ 49ms
Tests.MainAppBLTests.Services.TrainingServices.TrainingRunServiceTests 34✅ 150ms
Tests.MainAppBLTests.Services.TrainingServices.TrainingRunTrainParamsServiceTests 4✅ 21ms
Tests.MainAppBLTests.UserManagementServiceTests 85✅ 707ms
Tests.MainAppMVCTests.Areas.Common.ErrorControllerTests 13✅ 2ms
Tests.MainAppMVCTests.Areas.Common.HomeControllerTests 4✅ 8ms
Tests.MainAppMVCTests.Areas.IntranetPortal.Controllers.AccountControllerTests 30✅ 15s
Tests.MainAppMVCTests.Areas.IntranetPortal.Controllers.AnnotationsControllerTests 15✅ 90ms
Tests.MainAppMVCTests.Areas.IntranetPortal.Controllers.ApplicationSettingsControllerTests 20✅ 71ms
Tests.MainAppMVCTests.Areas.IntranetPortal.Controllers.AuditLogsControllerTests 8✅ 48ms
Tests.MainAppMVCTests.Areas.IntranetPortal.Controllers.DatasetClassesControllerTests 31✅ 142ms
Tests.MainAppMVCTests.Areas.IntranetPortal.Controllers.DatasetImagesControllerTests 29✅ 11s
Tests.MainAppMVCTests.Areas.IntranetPortal.Controllers.DatasetsControllerTests 78✅ 14s
Tests.MainAppMVCTests.Areas.IntranetPortal.Controllers.DetectionControllerTests 83✅ 15s
Tests.MainAppMVCTests.Areas.IntranetPortal.Controllers.DetectionIgnoreZonesControllerTests 14✅ 21ms
Tests.MainAppMVCTests.Areas.IntranetPortal.Controllers.LandingPageControllerTests 3✅ 51ms
Tests.MainAppMVCTests.Areas.IntranetPortal.Controllers.LegalLandfillsManagementControllerTests 72✅ 250ms
Tests.MainAppMVCTests.Areas.IntranetPortal.Controllers.LegalLandfillWasteManagementControllerTests 104✅ 309ms
Tests.MainAppMVCTests.Areas.IntranetPortal.Controllers.MapConfigurationControllerTests 72✅ 203ms
Tests.MainAppMVCTests.Areas.IntranetPortal.Controllers.MapControllerTests 5✅ 8ms
Tests.MainAppMVCTests.Areas.IntranetPortal.Controllers.ScheduleRunsControllerTests 5✅ 20ms
Tests.MainAppMVCTests.Areas.IntranetPortal.Controllers.SpecialActionsControllerTests 1✅ 6ms
Tests.MainAppMVCTests.Areas.IntranetPortal.Controllers.TrainedModelsControllerTests 29✅ 54ms
Tests.MainAppMVCTests.Areas.IntranetPortal.Controllers.TrainingRunsControllerTests 45✅ 238ms
Tests.MainAppMVCTests.Areas.IntranetPortal.Controllers.UserManagementControllerTests 30✅ 599ms
Tests.MainAppMVCTests.Filters.AuthClaimFilterTests 3✅ 1ms
Tests.MainAppMVCTests.Filters.TenantModuleFilterTests 3✅ 21ms
Tests.MainAppMVCTests.Helpers.DbResHtmlTests 10✅ 3ms
Tests.MainAppMVCTests.Helpers.GuidEncryptionHelperTests 4✅ 3ms
Tests.MainAppMVCTests.Helpers.LocalizationQueryProviderTests 10✅ 17ms
Tests.MainAppMVCTests.Helpers.ModulesAndAuthClaimsHelperTests 2✅ 1ms
Tests.MainAppMVCTests.Helpers.OpenLayersMapHelperTests 5✅ 133ms
Tests.MainAppMVCTests.Helpers.PasswordValidationHelperTests 6✅ 4ms
Tests.MainAppMVCTests.Mappers.DatasetProfileTests 6✅ 86ms
Tests.MainAppMVCTests.Mappers.DetectionProfileTests 7✅ 71ms
Tests.MainAppMVCTests.Mappers.LegalLandfillManagementProfileTests 4✅ 56ms
Tests.MainAppMVCTests.Mappers.MapConfigurationProfileTests 5✅ 133ms
Tests.MainAppMVCTests.Mappers.TrainingProfileTests 7✅ 34ms
Tests.MainAppMVCTests.Mappers.UserManagementProfileTests 4✅ 53ms
Tests.MainAppMVCTests.ViewComponents.Map.DetectionIgnoreZonesToolViewComponentTests 1✅ 4ms
Tests.MainAppMVCTests.ViewComponents.Map.DetectionInputImagesToolViewComponentTests 1✅ 4ms
Tests.MainAppMVCTests.ViewComponents.Map.GoToCoordinatesToolViewComponentTests 1✅ 3ms
Tests.MainAppMVCTests.ViewComponents.Map.HistoricDataViewComponentTests 1✅ 12ms
Tests.MainAppMVCTests.ViewComponents.Map.LastExtentToolViewComponentTests 1✅ 6ms
Tests.MainAppMVCTests.ViewComponents.Map.MapViewComponentTests 5✅ 52ms
Tests.MainAppMVCTests.ViewComponents.Map.MeasureAreaToolViewComponentTests 1✅ 2ms
Tests.MainAppMVCTests.ViewComponents.Map.MeasureLengthToolViewComponentTests 1✅ 3ms
Tests.MainAppMVCTests.ViewComponents.Map.ZoomToExtentToolViewComponentTests 1✅ 6ms
Tests.MainAppMVCTests.ViewModels.AccountTests.IntranetUsersForgotPasswordViewModelTests 1✅ 0ms
Tests.MainAppMVCTests.ViewModels.AccountTests.IntranetUsersResetPasswordViewModelTests 8✅ 7ms
Tests.MainAppMVCTests.ViewModels.AccountTests.LoginViewModelTests 3✅ 1ms
Tests.MainAppMVCTests.ViewModels.AccountTests.MyProfileViewModelTests 4✅ 1ms
Tests.MainAppMVCTests.ViewModels.ApplicationSettingsTests.ApplicationSettingsCreateViewModelTests 9✅ 6ms
Tests.MainAppMVCTests.ViewModels.ApplicationSettingsTests.ApplicationSettingsEditViewModelTests 8✅ 4ms
Tests.MainAppMVCTests.ViewModels.AuditLogTests.AuditLogListViewModelTests 7✅ 2ms
Tests.MainAppMVCTests.ViewModels.AuditLogTests.AuditLogUserViewModelTests 2✅ 0ms
Tests.MainAppMVCTests.ViewModels.AuditLogTests.AuditLogViewModelTests 2✅ 1ms
Tests.MainAppMVCTests.ViewModels.DatasetTests.DatasetClassViewModelTests 8✅ 2ms
Tests.MainAppMVCTests.ViewModels.DatasetTests.DatasetViewModelTests 15✅ 6ms
Tests.MainAppMVCTests.ViewModels.DetectionTests.DetectedDumpSiteViewModelTests 8✅ 3ms
Tests.MainAppMVCTests.ViewModels.DetectionTests.DetectionInputImageViewModelTests 12✅ 6ms
Tests.MainAppMVCTests.ViewModels.DetectionTests.DetectionRunViewModelTests 9✅ 9ms
Tests.MainAppMVCTests.ViewModels.ErrorTests.ErrorViewModelTests 3✅ 3ms
Tests.MainAppMVCTests.ViewModels.LegalLandfillManagementTests.LegalLandfillTruckViewModelTests 9✅ 15ms
Tests.MainAppMVCTests.ViewModels.LegalLandfillManagementTests.LegalLandfillViewModelTests 5✅ 2ms
Tests.MainAppMVCTests.ViewModels.LegalLandfillManagementTests.LegalLandfillWasteImportViewModelTests 17✅ 5ms
Tests.MainAppMVCTests.ViewModels.LegalLandfillManagementTests.LegalLandfillWasteTypeViewModelTests 4✅ 5ms
Tests.MainAppMVCTests.ViewModels.LegalLandfillManagementTests.PreviewViewModelTests 3✅ 1ms
Tests.MainAppMVCTests.ViewModels.MapConfigurationTests.MapConfigurationViewModelTests 11✅ 3ms
Tests.MainAppMVCTests.ViewModels.MapConfigurationTests.MapLayerConfigurationViewModelTests 10✅ 3ms
Tests.MainAppMVCTests.ViewModels.MapConfigurationTests.MapLayerGroupConfigurationViewModelTests 13✅ 5ms
Tests.MainAppMVCTests.ViewModels.UserManagementTests.UserManagementCreateRoleViewModelTests 6✅ 4ms
Tests.MainAppMVCTests.ViewModels.UserManagementTests.UserManagementCreateUserViewModelTests 12✅ 1ms
Tests.MainAppMVCTests.ViewModels.UserManagementTests.UserManagementEditRoleViewModelTests 4✅ 1ms
Tests.MainAppMVCTests.ViewModels.UserManagementTests.UserManagementEditUserViewModelTests 8✅ 3ms
Tests.MainAppMVCTests.ViewModels.UserManagementTests.UserManagementUserViewModelTests 8✅ 4ms
Tests.MainAppMVCTests.ViewModels.UserManagementTests.UserManagementViewModelTests 4✅ 3ms
Tests.SDTests.Classes.AuthClaimsTests 7✅ 5ms
Tests.SDTests.Classes.ModulesTests 8✅ 4ms
Tests.SDTests.Classes.ResultDTO_Tests 16✅ 11ms
Tests.SDTests.Helpers.ClaimsPrincipalExtensionsTests 11✅ 3ms
Tests.SDTests.Helpers.CommonHelperTests 55✅ 20ms