test(change detect): Port change detect tests for mode

More the change detect tests that exercise various detection modes to
use the Dart pre-generated change detectors in addition to the `dynamic`
and `JIT` change detectors.

See #502
This commit is contained in:
Tim Blasi
2015-06-08 18:07:06 -07:00
parent 2cc2196140
commit ddd5a235c3
3 changed files with 235 additions and 238 deletions

View File

@ -208,7 +208,7 @@ class _CodegenState {
var detectorFieldNames = _genGetDetectorFieldNames();
for (var i = 0; i < detectorFieldNames.length; ++i) {
buf.writeln('${detectorFieldNames[i]} = directives.getDetectorFor('
'$_DIRECTIVES_ACCESSOR[$i].directiveIndex)');
'$_DIRECTIVES_ACCESSOR[$i].directiveIndex);');
}
return '$buf';
}