Adds any metadata attached to a parameter to the "parameters" value passed in to `registerType`. For example: `MyComponent(@Inject(Foo) foo)` generates `"parameters": const [const [const Inject(Foo)]]` Also reorganizes the testing code. Closes #7
16 lines
513 B
Dart
16 lines
513 B
Dart
library angular2.test.transform;
|
|
|
|
import 'package:unittest/unittest.dart';
|
|
import 'package:unittest/vm_config.dart';
|
|
|
|
import 'directive_processor/all_tests.dart' as directiveProcessor;
|
|
import 'integration/all_tests.dart' as integration;
|
|
import 'reflection_remover/all_tests.dart' as reflectionRemover;
|
|
|
|
main() {
|
|
useVMConfiguration();
|
|
group('Directive Processor', directiveProcessor.allTests);
|
|
group('Reflection Remover', reflectionRemover.allTests);
|
|
group('Transformer Pipeline', integration.allTests);
|
|
}
|