* No longer builds the example e2e tests using "tsc". The examples are now built with Bazel and can therefore be built with Ivy by using the `--define=compile=aot` switch. * No longer runs the example e2e tests using the protractor CLI. example e2e tests are executed with the Bazel protractor rule and can therefore run incrementally. NOTE: Unit tests found within the examples are still running within the legacy jobs. PR Close #28402
		
			
				
	
	
		
			59 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			59 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
/**
 | 
						|
 * @license
 | 
						|
 * Copyright Google Inc. All Rights Reserved.
 | 
						|
 *
 | 
						|
 * Use of this source code is governed by an MIT-style license that can be
 | 
						|
 * found in the LICENSE file at https://angular.io/license
 | 
						|
 */
 | 
						|
 | 
						|
import {Component, NgModule} from '@angular/core';
 | 
						|
import {RouterModule} from '@angular/router';
 | 
						|
 | 
						|
import * as formBuilderExample from './ts/formBuilder/module';
 | 
						|
import * as nestedFormArrayExample from './ts/nestedFormArray/module';
 | 
						|
import * as nestedFormGroupExample from './ts/nestedFormGroup/module';
 | 
						|
import * as ngModelGroupExample from './ts/ngModelGroup/module';
 | 
						|
import * as radioButtonsExample from './ts/radioButtons/module';
 | 
						|
import * as reactiveRadioButtonsExample from './ts/reactiveRadioButtons/module';
 | 
						|
import * as reactiveSelectControlExample from './ts/reactiveSelectControl/module';
 | 
						|
import * as selectControlExample from './ts/selectControl/module';
 | 
						|
import * as simpleFormExample from './ts/simpleForm/module';
 | 
						|
import * as simpleFormControlExample from './ts/simpleFormControl/module';
 | 
						|
import * as simpleFormGroupExample from './ts/simpleFormGroup/module';
 | 
						|
import * as simpleNgModelExample from './ts/simpleNgModel/module';
 | 
						|
 | 
						|
@Component({selector: 'example-app', template: '<router-outlet></router-outlet>'})
 | 
						|
export class TestsAppComponent {
 | 
						|
}
 | 
						|
 | 
						|
@NgModule({
 | 
						|
  imports: [
 | 
						|
    formBuilderExample.AppModule, nestedFormArrayExample.AppModule,
 | 
						|
    nestedFormGroupExample.AppModule, ngModelGroupExample.AppModule, radioButtonsExample.AppModule,
 | 
						|
    reactiveRadioButtonsExample.AppModule, reactiveSelectControlExample.AppModule,
 | 
						|
    selectControlExample.AppModule, simpleFormExample.AppModule, simpleFormControlExample.AppModule,
 | 
						|
    simpleFormGroupExample.AppModule, simpleNgModelExample.AppModule,
 | 
						|
 | 
						|
    // Router configuration so that the individual e2e tests can load their
 | 
						|
    // app components.
 | 
						|
    RouterModule.forRoot([
 | 
						|
      {path: 'formBuilder', component: formBuilderExample.AppComponent},
 | 
						|
      {path: 'nestedFormArray', component: nestedFormArrayExample.AppComponent},
 | 
						|
      {path: 'nestedFormGroup', component: nestedFormGroupExample.AppComponent},
 | 
						|
      {path: 'ngModelGroup', component: ngModelGroupExample.AppComponent},
 | 
						|
      {path: 'radioButtons', component: radioButtonsExample.AppComponent},
 | 
						|
      {path: 'reactiveRadioButtons', component: reactiveRadioButtonsExample.AppComponent},
 | 
						|
      {path: 'reactiveSelectControl', component: reactiveSelectControlExample.AppComponent},
 | 
						|
      {path: 'selectControl', component: selectControlExample.AppComponent},
 | 
						|
      {path: 'simpleForm', component: simpleFormExample.AppComponent},
 | 
						|
      {path: 'simpleFormControl', component: simpleFormControlExample.AppComponent},
 | 
						|
      {path: 'simpleFormGroup', component: simpleFormGroupExample.AppComponent},
 | 
						|
      {path: 'simpleNgModel', component: simpleNgModelExample.AppComponent}
 | 
						|
    ])
 | 
						|
  ],
 | 
						|
  declarations: [TestsAppComponent],
 | 
						|
  bootstrap: [TestsAppComponent]
 | 
						|
})
 | 
						|
export class TestsAppModule {
 | 
						|
}
 |