feat: Add newProjectConfigureHttpApiModule for API configuration and localization
feat: Implement SampleAppServiceTests for application service testing feat: Create newProjectConfigureApplicationTests project for application layer tests feat: Establish newProjectConfigureDomainTests project for domain layer tests feat: Introduce Entity Framework Core tests for the newProjectConfigure application feat: Develop console test application for HTTP API client demonstration feat: Implement FakeCurrentPrincipalAccessor for testing purposes chore: Set up test base classes and data seed contributors for consistent testing environment
This commit is contained in:
1 parent
7909179fca
commit
b6f2213ccf
279 files changed
+39466
No files matched your search
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"$schema": "../../../node_modules/ng-packagr/ng-entrypoint.schema.json",
|
||||
"lib": {
|
||||
"entryFile": "src/public-api.ts"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
import {
|
||||
BaseThemeBasicModule,
|
||||
BASIC_THEME_NAV_ITEM_PROVIDERS,
|
||||
BASIC_THEME_STYLES_PROVIDERS,
|
||||
ValidationErrorComponent,
|
||||
} from '@abp/ng.theme.basic';
|
||||
import { ModuleWithProviders, NgModule } from '@angular/core';
|
||||
import {
|
||||
VALIDATION_ERROR_TEMPLATE,
|
||||
VALIDATION_INVALID_CLASSES,
|
||||
VALIDATION_TARGET_SELECTOR,
|
||||
} from '@ngx-validate/core';
|
||||
|
||||
@NgModule({
|
||||
exports: [BaseThemeBasicModule],
|
||||
imports: [BaseThemeBasicModule],
|
||||
})
|
||||
export class ThemeBasicTestingModule {
|
||||
static withConfig(): ModuleWithProviders<ThemeBasicTestingModule> {
|
||||
return {
|
||||
ngModule: ThemeBasicTestingModule,
|
||||
providers: [
|
||||
BASIC_THEME_NAV_ITEM_PROVIDERS,
|
||||
BASIC_THEME_STYLES_PROVIDERS,
|
||||
{
|
||||
provide: VALIDATION_ERROR_TEMPLATE,
|
||||
useValue: ValidationErrorComponent,
|
||||
},
|
||||
{
|
||||
provide: VALIDATION_TARGET_SELECTOR,
|
||||
useValue: '.form-group',
|
||||
},
|
||||
{
|
||||
provide: VALIDATION_INVALID_CLASSES,
|
||||
useValue: 'is-invalid',
|
||||
},
|
||||
],
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
export * from './lib/theme-basic-testing.module';
|
||||
Reference in new issue
Block a user