1
- library angular2.test.transform ;
1
+ library angular2.test;
2
2
3
3
import 'dart:io' ;
4
4
import 'package:barback/barback.dart' ;
@@ -8,8 +8,6 @@ import 'package:dart_style/dart_style.dart';
8
8
import 'package:unittest/unittest.dart' ;
9
9
import 'package:unittest/vm_config.dart' ;
10
10
11
- import 'common.dart' ;
12
-
13
11
main () {
14
12
useVMConfiguration ();
15
13
@@ -41,7 +39,8 @@ void _runTests() {
41
39
inputs: {
42
40
'a|web/index.html' : 'common.html' ,
43
41
'a|web/index.dart' : 'html_entry_point_files/index.dart' ,
44
- 'angular2|lib/src/core/annotations/annotations.dart' : 'common.dart'
42
+ 'angular2|lib/src/core/annotations/annotations.dart' :
43
+ '../../lib/src/core/annotations/annotations.dart'
45
44
},
46
45
outputs: {
47
46
'a|web/index.html' : 'html_entry_point_files/expected/index.html'
@@ -51,7 +50,8 @@ void _runTests() {
51
50
'a|web/index.html' : 'common.html' ,
52
51
'a|web/index.dart' : 'simple_annotation_files/index.dart' ,
53
52
'a|web/bar.dart' : 'simple_annotation_files/bar.dart' ,
54
- 'angular2|lib/src/core/annotations/annotations.dart' : 'common.dart'
53
+ 'angular2|lib/src/core/annotations/annotations.dart' :
54
+ '../../lib/src/core/annotations/annotations.dart'
55
55
},
56
56
outputs: {
57
57
'a|web/index.bootstrap.dart' :
@@ -63,7 +63,8 @@ void _runTests() {
63
63
'a|web/index.dart' : 'two_deps_files/index.dart' ,
64
64
'a|web/foo.dart' : 'two_deps_files/foo.dart' ,
65
65
'a|web/bar.dart' : 'two_deps_files/bar.dart' ,
66
- 'angular2|lib/src/core/annotations/annotations.dart' : 'common.dart'
66
+ 'angular2|lib/src/core/annotations/annotations.dart' :
67
+ '../../lib/src/core/annotations/annotations.dart'
67
68
},
68
69
outputs: {
69
70
'a|web/index.bootstrap.dart' :
@@ -75,29 +76,20 @@ void _runTests() {
75
76
'a|web/index.dart' : 'list_of_types_files/index.dart' ,
76
77
'a|web/foo.dart' : 'list_of_types_files/foo.dart' ,
77
78
'a|web/bar.dart' : 'list_of_types_files/bar.dart' ,
78
- 'angular2|lib/src/core/annotations/annotations.dart' : 'common.dart'
79
+ 'angular2|lib/src/core/annotations/annotations.dart' :
80
+ '../../lib/src/core/annotations/annotations.dart'
79
81
},
80
82
outputs: {
81
83
'a|web/index.bootstrap.dart' :
82
84
'list_of_types_files/expected/index.bootstrap.dart'
83
85
}),
84
- new TestConfig ('Component ctor with default value' ,
85
- inputs: {
86
- 'a|web/index.html' : 'common.html' ,
87
- 'a|web/index.dart' : 'ctor_with_default_value_files/index.dart' ,
88
- 'a|web/bar.dart' : 'ctor_with_default_value_files/bar.dart' ,
89
- 'angular2|lib/src/core/annotations/annotations.dart' : 'common.dart'
90
- },
91
- outputs: {
92
- 'a|web/index.bootstrap.dart' :
93
- 'ctor_with_default_value_files/expected/index.bootstrap.dart'
94
- }),
95
86
new TestConfig ('Component with synthetic Constructor' ,
96
87
inputs: {
97
88
'a|web/index.html' : 'common.html' ,
98
89
'a|web/index.dart' : 'synthetic_ctor_files/index.dart' ,
99
90
'a|web/bar.dart' : 'synthetic_ctor_files/bar.dart' ,
100
- 'angular2|lib/src/core/annotations/annotations.dart' : 'common.dart'
91
+ 'angular2|lib/src/core/annotations/annotations.dart' :
92
+ '../../lib/src/core/annotations/annotations.dart'
101
93
},
102
94
outputs: {
103
95
'a|web/index.bootstrap.dart' :
0 commit comments