12 Commits

Author SHA1 Message Date
Joey Perrott
d1ea1f4c7f build: update license headers to reference Google LLC ()
Update the license headers throughout the repository to reference Google LLC
rather than Google Inc, for the required license headers.

PR Close 
2020-05-26 14:26:58 -04:00
Joey Perrott
698b0288be build: reformat repo to new clang@1.4.0 ()
PR Close 
2020-04-14 12:08:36 -07:00
Sonu Kapoor
7fb66eca25 docs: changes AoT to AOT for consistency ()
PR Close 
2020-02-04 10:43:33 -08:00
Carlos Ortiz García
9166baf709 refactor(core): Migrate TestBed.get to TestBed.inject ()
This is cleanup/followup for PR 

PR Close 
2019-09-09 19:10:54 -04:00
Pete Bacon Darwin
3fb78aaacc feat(upgrade): provide unit test helpers for wiring up injectors ()
Adds two new helper functions that can be used when unit testing Angular services
that depend upon upgraded AngularJS services, or vice versa.
The functions return a module (AngularJS or NgModule) that is configured to wire up
the Angular and AngularJS injectors without the need to actually bootstrap a full
hybrid application.

This makes it simpler and faster to unit test services.

PR Close 
2019-06-20 17:04:01 -07:00
Marc Laval
94b8aaeba8 fix(ivy): ngOnChanges should be inherited from super class ()
PR Close 
2019-02-11 16:22:31 -08:00
Paul Gschwendtner
29513296fb test: disable failing ivy example e2e tests ()
PR Close 
2019-01-28 19:21:09 -08:00
Paul Gschwendtner
98e5af1480 build: switch example e2e tests to bazel ()
* 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 
2019-01-28 19:21:09 -08:00
George Kalpakas
00c110b055 build: upgrade jasmine (and related typings) to latest version ()
With these changes, the types are a little stricter now and also not
compatible with Protractor's jasmine-like syntax. So, we have to also
use `@types/jasminewd2` for e2e tests (but not for non-e2e tests).

I also had to "augment" `@types/jasminewd2`, because the latest
typings from [DefinitelyTyped][1] do not reflect the fact that the
`jasminewd2` version (v2.1.0) currently used by Protractor supports
passing a `done` callback to a spec.

[1]: 566e039485/types/jasminewd2/index.d.ts (L9-L15)

Fixes 
Closes 

PR Close 
2018-07-06 13:48:02 -07:00
George Kalpakas
abed2cd52c refactor(upgrade): fix examples for strictPropertyInitialization and remove internal comments () ()
PR Close 

PR Close 
2018-06-27 15:01:47 -07:00
Peter Bacon Darwin
bb6b59128f docs(upgrade): use a class for upgraded service () ()
This makes the resulting use in Angular more ideomatic, since we can just
use the class type as the injection indicator.

PR Close 

PR Close 
2018-06-27 15:01:47 -07:00
Georgios Kalpakas
2ac2ab7ff6 docs(upgrade): add API docs for downgradeModule() () ()
PR Close 

PR Close 
2018-06-27 15:01:47 -07:00