65 Commits

Author SHA1 Message Date
Kara Erickson
d0b6622b9a test(ivy): turn on more passing Material tests ()
This commit removes more test from the Material blocklist so that
they will run on CI. After static query support was added, they
are no longer failing.

PR Close 
2019-02-20 16:49:00 -08:00
Kara Erickson
68da4658ff test(ivy): update material blocklist to turn on passing tests ()
We added the static flag to some dialog queries and new tests are passing.

PR Close 
2019-02-20 11:25:16 -08:00
Kara Erickson
669b4410f2 test(ivy): update material golden file to turn on passing tests ()
We marked some queries in MatTab as static, which made some
more Material tests pass in CI.

PR Close 
2019-02-19 22:27:29 -08:00
Kristiyan Kostadinov
63e5d2787b fix(ivy): rethrow event handler errors in tests ()
Currently errors thrown inside event handler in Ivy are caught and forwarded to the `ErrorHandler`, however this means that if they happen during a unit test, the test won't fail. These changes add a test-specific `ErrorHandler` that throws the error rather than logging it out.

PR Close 
2019-02-14 19:26:56 +00:00
Pawel Kozlowski
6fa4235543 test(ivy): enable passing Material tests ()
PR Close 
2019-02-13 12:12:45 -08:00
Andrew Kushnir
553f80ff46 fix(ivy): set proper implementation for module injector ()
Prior to this change we used current injector implementation for module injector, which was causing problems and produces circular dependencies in case the same token is referenced (with @SkipSelf flag) in the `deps` array. The origin of the problem was that once `directiveInject` implementation becomes active, it was used for module injector as well, thus searching deps in Component/Directive DI scope. This fix sets `injectInjectorOnly` implementation for module injector to resolve the problem.

PR Close 
2019-02-13 12:05:13 -08:00
crisbeto
1b82e11e69 test(ivy): update root causes for autocomplete tests ()
Updates the root cause notes for the Material autocomplete tests.

This PR resolves FW-1017.

PR Close 
2019-02-12 09:47:20 -08:00
Pawel Kozlowski
81329c85b3 test(ivy): enable passing material tests ()
PR Close 
2019-02-08 16:42:45 -08:00
Andrew Kushnir
90670252de test: update Material blocklist ()
This commit updates Material blocklist, which was changed as a result of a couple Material-related fixes merged into master.

PR Close 
2019-02-07 21:54:28 -08:00
Andrew Seguin
00e24b3000 test: update material ivy errors notes ()
PR Close 
2019-02-07 12:37:55 -08:00
Kara Erickson
1950e2d9ba fix(ivy): throw on bindings to unknown properties ()
This commit adds a devMode-only check which will throw if a user
attempts to bind a property that does not match a directive
input or a known HTML property.

Example:
```
<div [unknownProp]="someValue"></div>
```

The above will throw because "unknownProp" is not a known
property of HTMLDivElement.

This check is similar to the check executed in View Engine during
template parsing, but occurs at runtime instead of compile-time.

Note: This change uncovered an existing bug with host binding
inheritance, so some Material tests had to be turned off. They
will be fixed in an upcoming PR.

PR Close 
2019-02-07 12:37:32 -08:00
Kristiyan Kostadinov
ae8b7b1fdb test(ivy): root cause analysis for mat-selection-list ()
Updates the root cause for the `MatSelectionList` test failures.

This PR resolves FW-1018.

PR Close 
2019-02-06 00:49:16 -05:00
Andrew Seguin
63b744bb6a test: enter notes on ivy-related material test errors ()
PR Close 
2019-02-05 20:12:40 -05:00
Matias Niemelä
76a6eacb4e refactor(ivy): rename "blacklist" to "blocklist" ()
PR Close 
2019-02-05 14:06:15 -05:00
Jeremy Elbourn
1b33142595 build: run angular/material2 unit tests on ci ()
PR Close 
2019-02-01 12:15:35 -05:00