2015-02-27 17:42:21 -05:00
|
|
|
library angular2.test.transform;
|
2015-02-17 11:38:54 -05:00
|
|
|
|
2015-03-20 18:25:29 -04:00
|
|
|
import 'package:guinness/guinness.dart';
|
|
|
|
import 'package:unittest/unittest.dart' hide expect;
|
2015-02-17 11:38:54 -05:00
|
|
|
import 'package:unittest/vm_config.dart';
|
|
|
|
|
2015-05-08 20:29:21 -04:00
|
|
|
import 'common/async_string_writer_tests.dart' as asyncStringWriter;
|
2015-07-17 16:21:37 -04:00
|
|
|
import 'common/ng_meta_test.dart' as ngMetaTest;
|
2015-03-12 17:10:26 -04:00
|
|
|
import 'bind_generator/all_tests.dart' as bindGenerator;
|
2015-07-17 05:45:27 -04:00
|
|
|
import 'deferred_rewriter/all_tests.dart' as deferredRewriter;
|
2015-03-18 14:17:13 -04:00
|
|
|
import 'directive_linker/all_tests.dart' as directiveLinker;
|
2015-05-01 16:57:44 -04:00
|
|
|
import 'directive_metadata_extractor/all_tests.dart' as directiveMeta;
|
2015-03-06 14:10:14 -05:00
|
|
|
import 'directive_processor/all_tests.dart' as directiveProcessor;
|
|
|
|
import 'integration/all_tests.dart' as integration;
|
|
|
|
import 'reflection_remover/all_tests.dart' as reflectionRemover;
|
2015-03-13 16:55:49 -04:00
|
|
|
import 'template_compiler/all_tests.dart' as templateCompiler;
|
2015-02-27 17:42:21 -05:00
|
|
|
|
2015-02-17 11:38:54 -05:00
|
|
|
main() {
|
|
|
|
useVMConfiguration();
|
2015-05-08 20:29:21 -04:00
|
|
|
describe('AsyncStringWriter', asyncStringWriter.allTests);
|
2015-07-17 16:21:37 -04:00
|
|
|
describe('NgMeta', ngMetaTest.allTests);
|
2015-03-20 18:25:29 -04:00
|
|
|
describe('Bind Generator', bindGenerator.allTests);
|
|
|
|
describe('Directive Linker', directiveLinker.allTests);
|
2015-05-01 16:57:44 -04:00
|
|
|
describe('Directive Metadata Extractor', directiveMeta.allTests);
|
2015-03-20 18:25:29 -04:00
|
|
|
describe('Directive Processor', directiveProcessor.allTests);
|
|
|
|
describe('Reflection Remover', reflectionRemover.allTests);
|
|
|
|
describe('Template Compiler', templateCompiler.allTests);
|
2015-07-17 05:45:27 -04:00
|
|
|
describe('Deferred Rewriter', deferredRewriter.allTests);
|
2015-03-20 18:25:29 -04:00
|
|
|
// NOTE(kegluneq): These use `code_transformers#testPhases`, which is not
|
|
|
|
// designed to work with `guinness`.
|
2015-03-06 14:10:14 -05:00
|
|
|
group('Transformer Pipeline', integration.allTests);
|
2015-02-23 20:38:34 -05:00
|
|
|
}
|