angular/modules/angular2/test/core
vsavkin ed4826b08c feat(forms): Implement a way to manually set errors on a control
Example:

var login = new Control("someLogin");
c.setErrors({"notUnique": true});
expect(c.valid).toEqual(false);
expect(c.errors).toEqual({"notUnique": true});

c.updateValue("newLogin");
expect(c.valid).toEqual(true);

BREAKING CHANGE:

Before:

ControlGroup.errors and ControlArray.errors returned a reduced value of their children controls' errors.

After:

ControlGroup.errors and ControlArray.errors return the errors of the group and array.
And ControlGroup.controlsErrors and ControlArray.controlsErrors return the reduce value of their children controls' errors.

Closes #4917
2015-10-27 19:31:25 +00:00
..
change_detection feat(Parser): associate pipes right to left 2015-10-21 18:43:10 +00:00
compiler fix(style_url_resolver): include asset: urls into precompiled stylesheets. 2015-10-26 17:19:33 -07:00
debug fix(debug_element): don’t descend into merged embedded views on componentChildren. 2015-10-26 16:39:49 -07:00
di refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
directives fix(ng_class): support sets correctly 2015-10-26 13:37:33 -07:00
dom refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
facade feat: move NgZone to Stream/Observable-based callback API 2015-10-20 21:51:19 -07:00
forms feat(forms): Implement a way to manually set errors on a control 2015-10-27 19:31:25 +00:00
life_cycle refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
linker refactor(AppViewListener): prefix listener with on for consistency 2015-10-26 18:28:27 +00:00
metadata refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
pipes refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
profile refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
reflection refactor(dart): Format Dart code 2015-10-20 17:39:37 +00:00
render refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
services refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
testability refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
util refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
zone feat: move NgZone to Stream/Observable-based callback API 2015-10-20 21:51:19 -07:00
application_spec.ts refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
directive_lifecycle_integration_spec.ts refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
forward_ref_integration_spec.dart feat: allow for forward references in injection 2015-05-15 21:12:57 -07:00
forward_ref_integration_spec.ts refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
spies.dart refactor(dart): Format Dart code 2015-10-20 17:39:37 +00:00
spies.ts refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00