angular-cn/modules/angular2/test
Julie Ralph e1bf3d33f8 feat(debug): replace DebugElement with new Debug DOM
Now, using `ng.probe(element)` in the browser console returns
a DebugElement when in dev mode.

`ComponentFixture#debugElement` also returns a new DebugElement.

Breaking Change:

This is a breaking change for unit tests. The API for the DebugElement
has changed. Now, there is a DebugElement or DebugNode for every node
in the DOM, not only nodes with an ElementRef. `componentViewChildren` is
removed, and `childNodes` is a list of ElementNodes corresponding to every
child in the DOM. `query` no longer takes a scope parameter, since
the entire rendered DOM is included in the `childNodes`.

Before:

```
componentFixture.debugElement.componentViewChildren[0];
```

After
```
// Depending on the DOM structure of your component, the
// index may have changed or the first component child
// may be a sub-child.
componentFixture.debugElement.children[0];
```

Before:

```
debugElement.query(By.css('div'), Scope.all());
```

After:

```
debugElement.query(By.css('div'));
```

Before:

```
componentFixture.debugElement.elementRef;
```

After:

```
componentFixture.elementRef;
```
2016-01-29 11:28:10 -08:00
..
animate Revert "fix(animate): ensure transition properties are removed once the animation is over" 2015-12-11 13:13:11 -08:00
common feat(debug): replace DebugElement with new Debug DOM 2016-01-29 11:28:10 -08:00
compiler chore(core): deactivate the tests that use Dart isolates 2016-01-25 17:20:06 -08:00
core feat(debug): replace DebugElement with new Debug DOM 2016-01-29 11:28:10 -08:00
facade docs: fix some typos in comments and strings 2015-12-17 22:57:43 +00:00
http refactor(http): rename enums to be singular 2015-12-04 19:16:00 +00:00
mock docs: fix some typos in comments and strings 2015-12-17 22:57:43 +00:00
platform feat(debug): replace DebugElement with new Debug DOM 2016-01-29 11:28:10 -08:00
router feat(debug): replace DebugElement with new Debug DOM 2016-01-29 11:28:10 -08:00
symbol_inspector fix(public_spec): check exports of barrels instead of angular2/angular2 2015-12-11 13:05:52 -08:00
testing chore(ci): deflake test and turn on saucelabs_required 2016-01-28 03:18:08 +00:00
upgrade feat(test): allow tests to specify the platform and application providers used 2016-01-13 02:11:06 +00:00
web_workers feat(debug): replace DebugElement with new Debug DOM 2016-01-29 11:28:10 -08:00
dev_mode_spec.ts test: add a test verifying that the tests are run in the checked mode 2015-12-02 11:29:11 -08:00
public_api_spec.ts feat(debug): replace DebugElement with new Debug DOM 2016-01-29 11:28:10 -08:00