Warenkorb 81 | ---------------------- 82 | {{ selectedFlug | json }} 83 |-------------------------------------------------------------------------------- /app/flug/flug-suchen/flug-suchen.component.ts: -------------------------------------------------------------------------------- 1 | import {Component, AfterViewInit, ViewChild} from '@angular/core'; 2 | import {FlugService} from "../services/flug.service"; 3 | import {Flug} from "../../entities/flug"; 4 | 5 | 6 | @Component({ 7 | selector: 'flug-suchen', 8 | templateUrl: './flug-suchen.component.html', 9 | styleUrls: ['./flug-suchen.component.css'], 10 | }) 11 | export class FlugSuchenComponent { 12 | 13 | public von: string = "Graz"; 14 | public nach: string = "Hamburg"; 15 | public selectedFlug: Flug; 16 | public fluege: Array
Browser: Chrome 52.0.2743 (Windows 10 0.0.0) | 14 |||
Timestamp: 2016-07-29 23:48:22 | 17 |||
20 | 4 tests / 21 | 0 errors / 22 | 0 failures / 23 | 0 skipped / 24 | runtime: 0.015s 25 | | 26 |||
Status | 29 |Spec | 30 |Suite / Results | 31 |
Passed in 0.006s | 34 |should have no selected flight initially | 35 |FlugSuchen | 36 |
Passed in 0.009s | 39 |should load flights | 40 |FlugSuchen | 41 |
Passed in 0s | 44 |true is true | 45 |1st tests | 46 |
Passed in 0s | 49 |null is not the same thing as undefined | 50 |1st tests | 51 |