style(dart/transform): Rename .ngDeps.dart => .ng_deps.dart

Update to conform with file naming conventions.

Closes #975
This commit is contained in:
Tim Blasi
2015-03-16 13:32:29 -07:00
committed by Misko Hevery
parent 91398c3425
commit d10df7de44
26 changed files with 32 additions and 30 deletions

View File

@ -47,10 +47,10 @@ void allTests() {
'a|web/bar.dart': 'simple_annotation_files/bar.dart'
},
outputs: {
'a|web/bar.ngDeps.dart':
'simple_annotation_files/expected/bar.ngDeps.dart',
'a|web/index.ngDeps.dart':
'simple_annotation_files/expected/index.ngDeps.dart'
'a|web/bar.ng_deps.dart':
'simple_annotation_files/expected/bar.ng_deps.dart',
'a|web/index.ng_deps.dart':
'simple_annotation_files/expected/index.ng_deps.dart'
}),
new IntegrationTestConfig(
'should generate proper code for a Component using a selector defined '
@ -61,7 +61,7 @@ void allTests() {
'a|web/bar.dart': 'two_deps_files/bar.dart'
},
outputs: {
'a|web/bar.ngDeps.dart': 'two_deps_files/expected/bar.ngDeps.dart'
'a|web/bar.ng_deps.dart': 'two_deps_files/expected/bar.ng_deps.dart'
}),
new IntegrationTestConfig(
'should generate proper code for a Component declaring a '
@ -72,7 +72,7 @@ void allTests() {
'a|web/bar.dart': 'list_of_types_files/bar.dart'
},
outputs: {
'a|web/bar.ngDeps.dart': 'list_of_types_files/expected/bar.ngDeps.dart'
'a|web/bar.ng_deps.dart': 'list_of_types_files/expected/bar.ng_deps.dart'
}),
new IntegrationTestConfig(
'should generate a factory for a class with no declared ctor.',
@ -81,7 +81,7 @@ void allTests() {
'a|web/bar.dart': 'synthetic_ctor_files/bar.dart'
},
outputs: {
'a|web/bar.ngDeps.dart': 'synthetic_ctor_files/expected/bar.ngDeps.dart'
'a|web/bar.ng_deps.dart': 'synthetic_ctor_files/expected/bar.ng_deps.dart'
}),
new IntegrationTestConfig('should preserve multiple annotations.',
inputs: {
@ -91,7 +91,8 @@ void allTests() {
'../../../lib/src/core/annotations/template.dart'
},
outputs: {
'a|web/bar.ngDeps.dart': 'two_annotations_files/expected/bar.ngDeps.dart'
'a|web/bar.ng_deps.dart':
'two_annotations_files/expected/bar.ng_deps.dart'
}),
new IntegrationTestConfig(
'should ensure that dependencies are property chained.',
@ -101,8 +102,8 @@ void allTests() {
'a|web/bar.dart': 'chained_deps_files/bar.dart'
},
outputs: {
'a|web/bar.ngDeps.dart': 'chained_deps_files/expected/bar.ngDeps.dart',
'a|web/foo.ngDeps.dart': 'chained_deps_files/expected/foo.ngDeps.dart'
'a|web/bar.ng_deps.dart': 'chained_deps_files/expected/bar.ng_deps.dart',
'a|web/foo.ng_deps.dart': 'chained_deps_files/expected/foo.ng_deps.dart'
})
];