diff --git a/goofy-client/libs/postfach-message/src/lib/postfach-message-list-container/postfach-message-list/postfach-message-block/postfach-message-block.component.html b/goofy-client/libs/postfach-message/src/lib/postfach-message-list-container/postfach-message-list/postfach-message-block/postfach-message-block.component.html new file mode 100644 index 0000000000000000000000000000000000000000..3baf6a5bcae3b502181ca246a9a79c7e3bee8b79 --- /dev/null +++ b/goofy-client/libs/postfach-message/src/lib/postfach-message-list-container/postfach-message-list/postfach-message-block/postfach-message-block.component.html @@ -0,0 +1 @@ +<goofy-client-postfach-message *ngFor="let message of messageBlock"></goofy-client-postfach-message> diff --git a/goofy-client/libs/postfach-message/src/lib/postfach-message-list-container/postfach-message-list/postfach-message-block/postfach-message-block.component.scss b/goofy-client/libs/postfach-message/src/lib/postfach-message-list-container/postfach-message-list/postfach-message-block/postfach-message-block.component.scss new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/goofy-client/libs/postfach-message/src/lib/postfach-message-list-container/postfach-message-list/postfach-message-block/postfach-message-block.component.spec.ts b/goofy-client/libs/postfach-message/src/lib/postfach-message-list-container/postfach-message-list/postfach-message-block/postfach-message-block.component.spec.ts new file mode 100644 index 0000000000000000000000000000000000000000..ab1fb3a53dd62f191ddb811a4e69d8882818a48b --- /dev/null +++ b/goofy-client/libs/postfach-message/src/lib/postfach-message-list-container/postfach-message-list/postfach-message-block/postfach-message-block.component.spec.ts @@ -0,0 +1,30 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { PostfachMessageBlockComponent } from './postfach-message-block.component'; +import { MockComponent } from 'ng-mocks'; +import { PostfachMessageComponent } from './postfach-message/postfach-message.component'; + +describe('PostfachMessageBlockComponent', () => { + let component: PostfachMessageBlockComponent; + let fixture: ComponentFixture<PostfachMessageBlockComponent>; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ + PostfachMessageBlockComponent, + MockComponent(PostfachMessageComponent) + ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(PostfachMessageBlockComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/goofy-client/libs/postfach-message/src/lib/postfach-message-list-container/postfach-message-list/postfach-message-block/postfach-message-block.component.ts b/goofy-client/libs/postfach-message/src/lib/postfach-message-list-container/postfach-message-list/postfach-message-block/postfach-message-block.component.ts new file mode 100644 index 0000000000000000000000000000000000000000..7660130ce62817d2e0134e46bfb430a8b8fb66fe --- /dev/null +++ b/goofy-client/libs/postfach-message/src/lib/postfach-message-list-container/postfach-message-list/postfach-message-block/postfach-message-block.component.ts @@ -0,0 +1,11 @@ +import { Component, Input, OnInit } from '@angular/core'; + +@Component({ + selector: 'goofy-client-postfach-message-block', + templateUrl: './postfach-message-block.component.html', + styleUrls: ['./postfach-message-block.component.scss'] +}) +export class PostfachMessageBlockComponent { + + @Input() messageBlock: []; +}