From 44a90fd00244c2e06c9fca885153d6393e730cc9 Mon Sep 17 00:00:00 2001
From: Hagen <hagen.dressler@mni.thm.de>
Date: Tue, 6 Mar 2018 10:51:55 +0100
Subject: [PATCH] Add component Comment

---
 src/app/app.module.ts                     |  4 +++-
 src/app/comment/comment.component.html    |  0
 src/app/comment/comment.component.scss    |  0
 src/app/comment/comment.component.spec.ts | 25 +++++++++++++++++++++++
 src/app/comment/comment.component.ts      | 15 ++++++++++++++
 5 files changed, 43 insertions(+), 1 deletion(-)
 create mode 100644 src/app/comment/comment.component.html
 create mode 100644 src/app/comment/comment.component.scss
 create mode 100644 src/app/comment/comment.component.spec.ts
 create mode 100644 src/app/comment/comment.component.ts

diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index d1156587e..3e5072769 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -8,6 +8,7 @@ import { JoinRoomComponent } from './join-room/join-room.component';
 import { LoginComponent } from './login/login.component';
 import { RegisterComponent } from './register/register.component';
 import { PasswordResetComponent } from './password-reset/password-reset.component';
+import { CommentComponent } from './comment/comment.component';
 
 import { AppRoutingModule } from './app-routing.module';
 import { FormsModule, ReactiveFormsModule } from '@angular/forms';
@@ -75,7 +76,8 @@ import { CreateCommentComponent } from './create-comment/create-comment.componen
     RoomCreationComponent,
     RoomListComponent,
     CreatorHomeScreenComponent,
-    CreateCommentComponent
+    CreateCommentComponent,
+    CommentComponent
   ],
   entryComponents: [
     RegisterComponent,
diff --git a/src/app/comment/comment.component.html b/src/app/comment/comment.component.html
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/app/comment/comment.component.scss b/src/app/comment/comment.component.scss
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/app/comment/comment.component.spec.ts b/src/app/comment/comment.component.spec.ts
new file mode 100644
index 000000000..bcac3f25f
--- /dev/null
+++ b/src/app/comment/comment.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { CommentComponent } from './comment.component';
+
+describe('CommentComponent', () => {
+  let component: CommentComponent;
+  let fixture: ComponentFixture<CommentComponent>;
+
+  beforeEach(async(() => {
+    TestBed.configureTestingModule({
+      declarations: [ CommentComponent ]
+    })
+    .compileComponents();
+  }));
+
+  beforeEach(() => {
+    fixture = TestBed.createComponent(CommentComponent);
+    component = fixture.componentInstance;
+    fixture.detectChanges();
+  });
+
+  it('should create', () => {
+    expect(component).toBeTruthy();
+  });
+});
diff --git a/src/app/comment/comment.component.ts b/src/app/comment/comment.component.ts
new file mode 100644
index 000000000..0d47e825d
--- /dev/null
+++ b/src/app/comment/comment.component.ts
@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+  selector: 'app-comment',
+  templateUrl: './comment.component.html',
+  styleUrls: ['./comment.component.scss']
+})
+export class CommentComponent implements OnInit {
+
+  constructor() { }
+
+  ngOnInit() {
+  }
+
+}
-- 
GitLab