From e6483404ae7c30df0dc418239cbf5a2db14e4456 Mon Sep 17 00:00:00 2001 From: Hagen <hagen.dressler@mni.thm.de> Date: Tue, 13 Mar 2018 14:12:50 +0100 Subject: [PATCH] Add components answer-statistics --- .../answer-statistics.component.html | 3 +++ .../answer-statistics.component.scss | 0 .../answer-statistics.component.spec.ts | 25 +++++++++++++++++++ .../answer-statistics.component.ts | 15 +++++++++++ 4 files changed, 43 insertions(+) create mode 100644 src/app/answer-statistics/answer-statistics.component.html create mode 100644 src/app/answer-statistics/answer-statistics.component.scss create mode 100644 src/app/answer-statistics/answer-statistics.component.spec.ts create mode 100644 src/app/answer-statistics/answer-statistics.component.ts diff --git a/src/app/answer-statistics/answer-statistics.component.html b/src/app/answer-statistics/answer-statistics.component.html new file mode 100644 index 000000000..c9d975219 --- /dev/null +++ b/src/app/answer-statistics/answer-statistics.component.html @@ -0,0 +1,3 @@ +<p> + answer-statistics works! +</p> diff --git a/src/app/answer-statistics/answer-statistics.component.scss b/src/app/answer-statistics/answer-statistics.component.scss new file mode 100644 index 000000000..e69de29bb diff --git a/src/app/answer-statistics/answer-statistics.component.spec.ts b/src/app/answer-statistics/answer-statistics.component.spec.ts new file mode 100644 index 000000000..44567afe6 --- /dev/null +++ b/src/app/answer-statistics/answer-statistics.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { AnswerStatisticsComponent } from './answer-statistics.component'; + +describe('AnswerStatisticsComponent', () => { + let component: AnswerStatisticsComponent; + let fixture: ComponentFixture<AnswerStatisticsComponent>; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ AnswerStatisticsComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(AnswerStatisticsComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/answer-statistics/answer-statistics.component.ts b/src/app/answer-statistics/answer-statistics.component.ts new file mode 100644 index 000000000..4673b5ee2 --- /dev/null +++ b/src/app/answer-statistics/answer-statistics.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-answer-statistics', + templateUrl: './answer-statistics.component.html', + styleUrls: ['./answer-statistics.component.scss'] +}) +export class AnswerStatisticsComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} -- GitLab