diff --git a/core/support/.gitignore b/core/support/.gitignore index 3cceda55..4f4c40c6 100644 --- a/core/support/.gitignore +++ b/core/support/.gitignore @@ -5,3 +5,5 @@ # Avoid committing pubspec.lock for library packages; see # https://dart.dev/guides/libraries/private-files#pubspeclock. pubspec.lock + +*.mocks.dart diff --git a/core/support/test/service_provider_test.mocks.dart b/core/support/test/service_provider_test.mocks.dart deleted file mode 100644 index bc6fab2a..00000000 --- a/core/support/test/service_provider_test.mocks.dart +++ /dev/null @@ -1,1569 +0,0 @@ -// Mocks generated by Mockito 5.4.4 from annotations -// in angel3_support/test/service_provider_test.dart. -// Do not manually edit this file. - -// ignore_for_file: no_leading_underscores_for_library_prefixes -import 'dart:async' as _i5; -import 'dart:convert' as _i17; - -import 'package:angel3_container/angel3_container.dart' as _i4; -import 'package:angel3_container/src/reflector.dart' as _i3; -import 'package:angel3_framework/src/core/controller.dart' as _i22; -import 'package:angel3_framework/src/core/env.dart' as _i7; -import 'package:angel3_framework/src/core/hooked_service.dart' as _i11; -import 'package:angel3_framework/src/core/request_context.dart' as _i20; -import 'package:angel3_framework/src/core/response_context.dart' as _i21; -import 'package:angel3_framework/src/core/routable.dart' as _i18; -import 'package:angel3_framework/src/core/server.dart' as _i14; -import 'package:angel3_framework/src/core/service.dart' as _i10; -import 'package:angel3_http_exception/angel3_http_exception.dart' as _i19; -import 'package:angel3_route/angel3_route.dart' as _i8; -import 'package:belatuk_combinator/belatuk_combinator.dart' as _i16; -import 'package:logging/logging.dart' as _i9; -import 'package:logging/src/level.dart' as _i2; -import 'package:logging/src/log_record.dart' as _i13; -import 'package:mime/mime.dart' as _i6; -import 'package:mockito/mockito.dart' as _i1; -import 'package:mockito/src/dummies.dart' as _i12; -import 'package:tuple/tuple.dart' as _i15; - -// ignore_for_file: type=lint -// ignore_for_file: avoid_redundant_argument_values -// ignore_for_file: avoid_setters_without_getters -// ignore_for_file: comment_references -// ignore_for_file: deprecated_member_use -// ignore_for_file: deprecated_member_use_from_same_package -// ignore_for_file: implementation_imports -// ignore_for_file: invalid_use_of_visible_for_testing_member -// ignore_for_file: prefer_const_constructors -// ignore_for_file: unnecessary_parenthesis -// ignore_for_file: camel_case_types -// ignore_for_file: subtype_of_sealed_class - -class _FakeLevel_0 extends _i1.SmartFake implements _i2.Level { - _FakeLevel_0( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); -} - -class _FakeReflector_1 extends _i1.SmartFake implements _i3.Reflector { - _FakeReflector_1( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); -} - -class _FakeContainer_2 extends _i1.SmartFake implements _i4.Container { - _FakeContainer_2( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); -} - -class _FakeFuture_3 extends _i1.SmartFake implements _i5.Future { - _FakeFuture_3( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); -} - -class _FakeMimeTypeResolver_4 extends _i1.SmartFake - implements _i6.MimeTypeResolver { - _FakeMimeTypeResolver_4( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); -} - -class _FakeAngelEnvironment_5 extends _i1.SmartFake - implements _i7.AngelEnvironment { - _FakeAngelEnvironment_5( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); -} - -class _FakeRouter_6 extends _i1.SmartFake implements _i8.Router { - _FakeRouter_6( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); -} - -class _FakeLogger_7 extends _i1.SmartFake implements _i9.Logger { - _FakeLogger_7( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); -} - -class _FakeRoute_8 extends _i1.SmartFake implements _i8.Route { - _FakeRoute_8( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); -} - -class _FakeSymlinkRoute_9 extends _i1.SmartFake - implements _i8.SymlinkRoute { - _FakeSymlinkRoute_9( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); -} - -class _FakeHookedService_10> - extends _i1.SmartFake implements _i11.HookedService { - _FakeHookedService_10( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); -} - -class _FakeChainedRouter_11 extends _i1.SmartFake - implements _i8.ChainedRouter { - _FakeChainedRouter_11( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); -} - -/// A class which mocks [Logger]. -/// -/// See the documentation for Mockito's code generation for more information. -class MockLogger extends _i1.Mock implements _i9.Logger { - MockLogger() { - _i1.throwOnMissingStub(this); - } - - @override - String get name => (super.noSuchMethod( - Invocation.getter(#name), - returnValue: _i12.dummyValue( - this, - Invocation.getter(#name), - ), - ) as String); - - @override - Map get children => (super.noSuchMethod( - Invocation.getter(#children), - returnValue: {}, - ) as Map); - - @override - String get fullName => (super.noSuchMethod( - Invocation.getter(#fullName), - returnValue: _i12.dummyValue( - this, - Invocation.getter(#fullName), - ), - ) as String); - - @override - _i2.Level get level => (super.noSuchMethod( - Invocation.getter(#level), - returnValue: _FakeLevel_0( - this, - Invocation.getter(#level), - ), - ) as _i2.Level); - - @override - set level(_i2.Level? value) => super.noSuchMethod( - Invocation.setter( - #level, - value, - ), - returnValueForMissingStub: null, - ); - - @override - _i5.Stream<_i2.Level?> get onLevelChanged => (super.noSuchMethod( - Invocation.getter(#onLevelChanged), - returnValue: _i5.Stream<_i2.Level?>.empty(), - ) as _i5.Stream<_i2.Level?>); - - @override - _i5.Stream<_i13.LogRecord> get onRecord => (super.noSuchMethod( - Invocation.getter(#onRecord), - returnValue: _i5.Stream<_i13.LogRecord>.empty(), - ) as _i5.Stream<_i13.LogRecord>); - - @override - void clearListeners() => super.noSuchMethod( - Invocation.method( - #clearListeners, - [], - ), - returnValueForMissingStub: null, - ); - - @override - bool isLoggable(_i2.Level? value) => (super.noSuchMethod( - Invocation.method( - #isLoggable, - [value], - ), - returnValue: false, - ) as bool); - - @override - void log( - _i2.Level? logLevel, - Object? message, [ - Object? error, - StackTrace? stackTrace, - _i5.Zone? zone, - ]) => - super.noSuchMethod( - Invocation.method( - #log, - [ - logLevel, - message, - error, - stackTrace, - zone, - ], - ), - returnValueForMissingStub: null, - ); - - @override - void finest( - Object? message, [ - Object? error, - StackTrace? stackTrace, - ]) => - super.noSuchMethod( - Invocation.method( - #finest, - [ - message, - error, - stackTrace, - ], - ), - returnValueForMissingStub: null, - ); - - @override - void finer( - Object? message, [ - Object? error, - StackTrace? stackTrace, - ]) => - super.noSuchMethod( - Invocation.method( - #finer, - [ - message, - error, - stackTrace, - ], - ), - returnValueForMissingStub: null, - ); - - @override - void fine( - Object? message, [ - Object? error, - StackTrace? stackTrace, - ]) => - super.noSuchMethod( - Invocation.method( - #fine, - [ - message, - error, - stackTrace, - ], - ), - returnValueForMissingStub: null, - ); - - @override - void config( - Object? message, [ - Object? error, - StackTrace? stackTrace, - ]) => - super.noSuchMethod( - Invocation.method( - #config, - [ - message, - error, - stackTrace, - ], - ), - returnValueForMissingStub: null, - ); - - @override - void info( - Object? message, [ - Object? error, - StackTrace? stackTrace, - ]) => - super.noSuchMethod( - Invocation.method( - #info, - [ - message, - error, - stackTrace, - ], - ), - returnValueForMissingStub: null, - ); - - @override - void warning( - Object? message, [ - Object? error, - StackTrace? stackTrace, - ]) => - super.noSuchMethod( - Invocation.method( - #warning, - [ - message, - error, - stackTrace, - ], - ), - returnValueForMissingStub: null, - ); - - @override - void severe( - Object? message, [ - Object? error, - StackTrace? stackTrace, - ]) => - super.noSuchMethod( - Invocation.method( - #severe, - [ - message, - error, - stackTrace, - ], - ), - returnValueForMissingStub: null, - ); - - @override - void shout( - Object? message, [ - Object? error, - StackTrace? stackTrace, - ]) => - super.noSuchMethod( - Invocation.method( - #shout, - [ - message, - error, - stackTrace, - ], - ), - returnValueForMissingStub: null, - ); -} - -/// A class which mocks [Container]. -/// -/// See the documentation for Mockito's code generation for more information. -class MockContainer extends _i1.Mock implements _i4.Container { - MockContainer() { - _i1.throwOnMissingStub(this); - } - - @override - _i3.Reflector get reflector => (super.noSuchMethod( - Invocation.getter(#reflector), - returnValue: _FakeReflector_1( - this, - Invocation.getter(#reflector), - ), - ) as _i3.Reflector); - - @override - bool get isRoot => (super.noSuchMethod( - Invocation.getter(#isRoot), - returnValue: false, - ) as bool); - - @override - _i4.Container createChild() => (super.noSuchMethod( - Invocation.method( - #createChild, - [], - ), - returnValue: _FakeContainer_2( - this, - Invocation.method( - #createChild, - [], - ), - ), - ) as _i4.Container); - - @override - bool has([Type? t]) => (super.noSuchMethod( - Invocation.method( - #has, - [t], - ), - returnValue: false, - ) as bool); - - @override - bool hasNamed(String? name) => (super.noSuchMethod( - Invocation.method( - #hasNamed, - [name], - ), - returnValue: false, - ) as bool); - - @override - _i5.Future makeAsync([Type? type]) => (super.noSuchMethod( - Invocation.method( - #makeAsync, - [type], - ), - returnValue: _i12.ifNotNull( - _i12.dummyValueOrNull( - this, - Invocation.method( - #makeAsync, - [type], - ), - ), - (T v) => _i5.Future.value(v), - ) ?? - _FakeFuture_3( - this, - Invocation.method( - #makeAsync, - [type], - ), - ), - ) as _i5.Future); - - @override - T make([Type? type]) => (super.noSuchMethod( - Invocation.method( - #make, - [type], - ), - returnValue: _i12.dummyValue( - this, - Invocation.method( - #make, - [type], - ), - ), - ) as T); - - @override - T Function(_i4.Container) registerLazySingleton( - T Function(_i4.Container)? f, { - Type? as, - }) => - (super.noSuchMethod( - Invocation.method( - #registerLazySingleton, - [f], - {#as: as}, - ), - returnValue: (_i4.Container __p0) => _i12.dummyValue( - this, - Invocation.method( - #registerLazySingleton, - [f], - {#as: as}, - ), - ), - ) as T Function(_i4.Container)); - - @override - T Function(_i4.Container) registerFactory( - T Function(_i4.Container)? f, { - Type? as, - }) => - (super.noSuchMethod( - Invocation.method( - #registerFactory, - [f], - {#as: as}, - ), - returnValue: (_i4.Container __p0) => _i12.dummyValue( - this, - Invocation.method( - #registerFactory, - [f], - {#as: as}, - ), - ), - ) as T Function(_i4.Container)); - - @override - T registerSingleton( - T? object, { - Type? as, - }) => - (super.noSuchMethod( - Invocation.method( - #registerSingleton, - [object], - {#as: as}, - ), - returnValue: _i12.dummyValue( - this, - Invocation.method( - #registerSingleton, - [object], - {#as: as}, - ), - ), - ) as T); - - @override - T findByName(String? name) => (super.noSuchMethod( - Invocation.method( - #findByName, - [name], - ), - returnValue: _i12.dummyValue( - this, - Invocation.method( - #findByName, - [name], - ), - ), - ) as T); - - @override - T registerNamedSingleton( - String? name, - T? object, - ) => - (super.noSuchMethod( - Invocation.method( - #registerNamedSingleton, - [ - name, - object, - ], - ), - returnValue: _i12.dummyValue( - this, - Invocation.method( - #registerNamedSingleton, - [ - name, - object, - ], - ), - ), - ) as T); - - @override - void registerScoped(T Function(_i4.Container)? factory) => - super.noSuchMethod( - Invocation.method( - #registerScoped, - [factory], - ), - returnValueForMissingStub: null, - ); - - @override - void registerTransient(T Function(_i4.Container)? factory) => - super.noSuchMethod( - Invocation.method( - #registerTransient, - [factory], - ), - returnValueForMissingStub: null, - ); - - @override - void registerConstant(T? value) => super.noSuchMethod( - Invocation.method( - #registerConstant, - [value], - ), - returnValueForMissingStub: null, - ); -} - -/// A class which mocks [Angel]. -/// -/// See the documentation for Mockito's code generation for more information. -class MockAngel extends _i1.Mock implements _i14.Angel { - MockAngel() { - _i1.throwOnMissingStub(this); - } - - @override - Map< - String, - _i15.Tuple4< - List, - Map, - _i16.ParseResult<_i8.RouteResult>, - _i8.MiddlewarePipeline>> get handlerCache => - (super.noSuchMethod( - Invocation.getter(#handlerCache), - returnValue: , - Map, - _i16.ParseResult<_i8.RouteResult>, - _i8.MiddlewarePipeline>>{}, - ) as Map< - String, - _i15.Tuple4< - List, - Map, - _i16.ParseResult<_i8.RouteResult>, - _i8.MiddlewarePipeline>>); - - @override - Map, List>> get encoders => - (super.noSuchMethod( - Invocation.getter(#encoders), - returnValue: , List>>{}, - ) as Map, List>>); - - @override - _i6.MimeTypeResolver get mimeTypeResolver => (super.noSuchMethod( - Invocation.getter(#mimeTypeResolver), - returnValue: _FakeMimeTypeResolver_4( - this, - Invocation.getter(#mimeTypeResolver), - ), - ) as _i6.MimeTypeResolver); - - @override - set serializer(_i5.FutureOr Function(dynamic)? _serializer) => - super.noSuchMethod( - Invocation.setter( - #serializer, - _serializer, - ), - returnValueForMissingStub: null, - ); - - @override - bool get allowMethodOverrides => (super.noSuchMethod( - Invocation.getter(#allowMethodOverrides), - returnValue: false, - ) as bool); - - @override - set allowMethodOverrides(bool? _allowMethodOverrides) => super.noSuchMethod( - Invocation.setter( - #allowMethodOverrides, - _allowMethodOverrides, - ), - returnValueForMissingStub: null, - ); - - @override - _i7.AngelEnvironment get environment => (super.noSuchMethod( - Invocation.getter(#environment), - returnValue: _FakeAngelEnvironment_5( - this, - Invocation.getter(#environment), - ), - ) as _i7.AngelEnvironment); - - @override - List<_i14.AngelConfigurer> get startupHooks => (super.noSuchMethod( - Invocation.getter(#startupHooks), - returnValue: <_i14.AngelConfigurer>[], - ) as List<_i14.AngelConfigurer>); - - @override - List<_i14.AngelConfigurer> get shutdownHooks => (super.noSuchMethod( - Invocation.getter(#shutdownHooks), - returnValue: <_i14.AngelConfigurer>[], - ) as List<_i14.AngelConfigurer>); - - @override - List<_i18.RequestHandler> get responseFinalizers => (super.noSuchMethod( - Invocation.getter(#responseFinalizers), - returnValue: <_i18.RequestHandler>[], - ) as List<_i18.RequestHandler>); - - @override - set viewGenerator(_i14.ViewGenerator? _viewGenerator) => super.noSuchMethod( - Invocation.setter( - #viewGenerator, - _viewGenerator, - ), - returnValueForMissingStub: null, - ); - - @override - _i14.AngelErrorHandler get errorHandler => (super.noSuchMethod( - Invocation.getter(#errorHandler), - returnValue: ( - _i19.AngelHttpException e, - _i20.RequestContext req, - _i21.ResponseContext res, - ) => - null, - ) as _i14.AngelErrorHandler); - - @override - set errorHandler(_i14.AngelErrorHandler? _errorHandler) => super.noSuchMethod( - Invocation.setter( - #errorHandler, - _errorHandler, - ), - returnValueForMissingStub: null, - ); - - @override - Map get preContained => (super.noSuchMethod( - Invocation.getter(#preContained), - returnValue: {}, - ) as Map); - - @override - _i8.Router<_i18.RequestHandler> get optimizedRouter => (super.noSuchMethod( - Invocation.getter(#optimizedRouter), - returnValue: _FakeRouter_6<_i18.RequestHandler>( - this, - Invocation.getter(#optimizedRouter), - ), - ) as _i8.Router<_i18.RequestHandler>); - - @override - List<_i14.Angel> get children => (super.noSuchMethod( - Invocation.getter(#children), - returnValue: <_i14.Angel>[], - ) as List<_i14.Angel>); - - @override - Map get controllers => (super.noSuchMethod( - Invocation.getter(#controllers), - returnValue: {}, - ) as Map); - - @override - _i9.Logger get logger => (super.noSuchMethod( - Invocation.getter(#logger), - returnValue: _FakeLogger_7( - this, - Invocation.getter(#logger), - ), - ) as _i9.Logger); - - @override - set logger(_i9.Logger? log) => super.noSuchMethod( - Invocation.setter( - #logger, - log, - ), - returnValueForMissingStub: null, - ); - - @override - Map get configuration => (super.noSuchMethod( - Invocation.getter(#configuration), - returnValue: {}, - ) as Map); - - @override - _i4.Container get container => (super.noSuchMethod( - Invocation.getter(#container), - returnValue: _FakeContainer_2( - this, - Invocation.getter(#container), - ), - ) as _i4.Container); - - @override - Map> get services => - (super.noSuchMethod( - Invocation.getter(#services), - returnValue: >{}, - ) as Map>); - - @override - _i5.Stream<_i10.Service> get onService => - (super.noSuchMethod( - Invocation.getter(#onService), - returnValue: _i5.Stream<_i10.Service>.empty(), - ) as _i5.Stream<_i10.Service>); - - @override - List<_i18.RequestHandler> get middleware => (super.noSuchMethod( - Invocation.getter(#middleware), - returnValue: <_i18.RequestHandler>[], - ) as List<_i18.RequestHandler>); - - @override - Map> get mounted => - (super.noSuchMethod( - Invocation.getter(#mounted), - returnValue: >{}, - ) as Map>); - - @override - List<_i8.Route<_i18.RequestHandler>> get routes => (super.noSuchMethod( - Invocation.getter(#routes), - returnValue: <_i8.Route<_i18.RequestHandler>>[], - ) as List<_i8.Route<_i18.RequestHandler>>); - - @override - _i8.Route<_i18.RequestHandler> addRoute( - String? method, - String? path, - _i18.RequestHandler? handler, { - Iterable<_i18.RequestHandler>? middleware = const [], - }) => - (super.noSuchMethod( - Invocation.method( - #addRoute, - [ - method, - path, - handler, - ], - {#middleware: middleware}, - ), - returnValue: _FakeRoute_8<_i18.RequestHandler>( - this, - Invocation.method( - #addRoute, - [ - method, - path, - handler, - ], - {#middleware: middleware}, - ), - ), - ) as _i8.Route<_i18.RequestHandler>); - - @override - _i8.SymlinkRoute<_i18.RequestHandler> mount( - String? path, - _i8.Router<_i18.RequestHandler>? router, - ) => - (super.noSuchMethod( - Invocation.method( - #mount, - [ - path, - router, - ], - ), - returnValue: _FakeSymlinkRoute_9<_i18.RequestHandler>( - this, - Invocation.method( - #mount, - [ - path, - router, - ], - ), - ), - ) as _i8.SymlinkRoute<_i18.RequestHandler>); - - @override - void bootstrapContainer() => super.noSuchMethod( - Invocation.method( - #bootstrapContainer, - [], - ), - returnValueForMissingStub: null, - ); - - @override - _i5.Future close() => (super.noSuchMethod( - Invocation.method( - #close, - [], - ), - returnValue: _i5.Future.value(), - returnValueForMissingStub: _i5.Future.value(), - ) as _i5.Future); - - @override - void dumpTree({ - dynamic Function(String)? callback, - String? header = r'Dumping route tree:', - String? tab = r' ', - bool? showMatchers = false, - }) => - super.noSuchMethod( - Invocation.method( - #dumpTree, - [], - { - #callback: callback, - #header: header, - #tab: tab, - #showMatchers: showMatchers, - }, - ), - returnValueForMissingStub: null, - ); - - @override - _i5.Future getHandlerResult( - dynamic handler, - _i20.RequestContext? req, - _i21.ResponseContext? res, - ) => - (super.noSuchMethod( - Invocation.method( - #getHandlerResult, - [ - handler, - req, - res, - ], - ), - returnValue: _i5.Future.value(), - ) as _i5.Future); - - @override - _i5.Future executeHandler( - dynamic handler, - _i20.RequestContext? req, - _i21.ResponseContext? res, - ) => - (super.noSuchMethod( - Invocation.method( - #executeHandler, - [ - handler, - req, - res, - ], - ), - returnValue: _i5.Future.value(false), - ) as _i5.Future); - - @override - void optimizeForProduction({bool? force = false}) => super.noSuchMethod( - Invocation.method( - #optimizeForProduction, - [], - {#force: force}, - ), - returnValueForMissingStub: null, - ); - - @override - _i5.Future runContained( - Function? handler, - _i20.RequestContext? req, - _i21.ResponseContext? res, [ - _i4.Container? container, - ]) => - (super.noSuchMethod( - Invocation.method( - #runContained, - [ - handler, - req, - res, - container, - ], - ), - returnValue: _i5.Future.value(), - ) as _i5.Future); - - @override - _i5.Future runReflected( - Function? handler, - _i20.RequestContext? req, - _i21.ResponseContext? res, [ - _i4.Container? container, - ]) => - (super.noSuchMethod( - Invocation.method( - #runReflected, - [ - handler, - req, - res, - container, - ], - ), - returnValue: _i5.Future.value(), - ) as _i5.Future); - - @override - _i5.Future configure(_i14.AngelConfigurer? configurer) => - (super.noSuchMethod( - Invocation.method( - #configure, - [configurer], - ), - returnValue: _i5.Future.value(), - ) as _i5.Future); - - @override - _i5.Future mountController([Type? type]) => - (super.noSuchMethod( - Invocation.method( - #mountController, - [type], - ), - returnValue: _i12.ifNotNull( - _i12.dummyValueOrNull( - this, - Invocation.method( - #mountController, - [type], - ), - ), - (T v) => _i5.Future.value(v), - ) ?? - _FakeFuture_3( - this, - Invocation.method( - #mountController, - [type], - ), - ), - ) as _i5.Future); - - @override - _i8.Route<_i18.RequestHandler?> fallback(_i18.RequestHandler? handler) => - (super.noSuchMethod( - Invocation.method( - #fallback, - [handler], - ), - returnValue: _FakeRoute_8<_i18.RequestHandler?>( - this, - Invocation.method( - #fallback, - [handler], - ), - ), - ) as _i8.Route<_i18.RequestHandler?>); - - @override - _i11.HookedService - use>( - String? path, - T? service, - ) => - (super.noSuchMethod( - Invocation.method( - #use, - [ - path, - service, - ], - ), - returnValue: _FakeHookedService_10( - this, - Invocation.method( - #use, - [ - path, - service, - ], - ), - ), - ) as _i11.HookedService); - - @override - T? findService>(Pattern? path) => - (super.noSuchMethod(Invocation.method( - #findService, - [path], - )) as T?); - - @override - _i10.Service? findServiceOf(Pattern? path) => - (super.noSuchMethod(Invocation.method( - #findServiceOf, - [path], - )) as _i10.Service?); - - @override - _i11.HookedService? - findHookedService>( - Pattern? path) => - (super.noSuchMethod(Invocation.method( - #findHookedService, - [path], - )) as _i11.HookedService?); - - @override - void enableCache() => super.noSuchMethod( - Invocation.method( - #enableCache, - [], - ), - returnValueForMissingStub: null, - ); - - @override - _i8.ChainedRouter<_i18.RequestHandler> chain( - Iterable<_i18.RequestHandler>? middleware) => - (super.noSuchMethod( - Invocation.method( - #chain, - [middleware], - ), - returnValue: _FakeChainedRouter_11<_i18.RequestHandler>( - this, - Invocation.method( - #chain, - [middleware], - ), - ), - ) as _i8.ChainedRouter<_i18.RequestHandler>); - - @override - _i8.Router<_i18.RequestHandler> clone() => (super.noSuchMethod( - Invocation.method( - #clone, - [], - ), - returnValue: _FakeRouter_6<_i18.RequestHandler>( - this, - Invocation.method( - #clone, - [], - ), - ), - ) as _i8.Router<_i18.RequestHandler>); - - @override - _i8.SymlinkRoute<_i18.RequestHandler> group( - String? path, - void Function(_i8.Router<_i18.RequestHandler>)? callback, { - Iterable<_i18.RequestHandler>? middleware = const [], - String? name = r'', - }) => - (super.noSuchMethod( - Invocation.method( - #group, - [ - path, - callback, - ], - { - #middleware: middleware, - #name: name, - }, - ), - returnValue: _FakeSymlinkRoute_9<_i18.RequestHandler>( - this, - Invocation.method( - #group, - [ - path, - callback, - ], - { - #middleware: middleware, - #name: name, - }, - ), - ), - ) as _i8.SymlinkRoute<_i18.RequestHandler>); - - @override - _i5.Future<_i8.SymlinkRoute<_i18.RequestHandler>> groupAsync( - String? path, - _i5.FutureOr Function(_i8.Router<_i18.RequestHandler>)? callback, { - Iterable<_i18.RequestHandler>? middleware = const [], - String? name = r'', - }) => - (super.noSuchMethod( - Invocation.method( - #groupAsync, - [ - path, - callback, - ], - { - #middleware: middleware, - #name: name, - }, - ), - returnValue: _i5.Future<_i8.SymlinkRoute<_i18.RequestHandler>>.value( - _FakeSymlinkRoute_9<_i18.RequestHandler>( - this, - Invocation.method( - #groupAsync, - [ - path, - callback, - ], - { - #middleware: middleware, - #name: name, - }, - ), - )), - ) as _i5.Future<_i8.SymlinkRoute<_i18.RequestHandler>>); - - @override - String navigate( - Iterable? linkParams, { - bool? absolute = true, - }) => - (super.noSuchMethod( - Invocation.method( - #navigate, - [linkParams], - {#absolute: absolute}, - ), - returnValue: _i12.dummyValue( - this, - Invocation.method( - #navigate, - [linkParams], - {#absolute: absolute}, - ), - ), - ) as String); - - @override - bool resolve( - String? absolute, - String? relative, - List<_i8.RoutingResult<_i18.RequestHandler?>>? out, { - String? method = r'GET', - bool? strip = true, - }) => - (super.noSuchMethod( - Invocation.method( - #resolve, - [ - absolute, - relative, - out, - ], - { - #method: method, - #strip: strip, - }, - ), - returnValue: false, - ) as bool); - - @override - Iterable<_i8.RoutingResult<_i18.RequestHandler>> resolveAbsolute( - String? path, { - String? method = r'GET', - bool? strip = true, - }) => - (super.noSuchMethod( - Invocation.method( - #resolveAbsolute, - [path], - { - #method: method, - #strip: strip, - }, - ), - returnValue: <_i8.RoutingResult<_i18.RequestHandler>>[], - ) as Iterable<_i8.RoutingResult<_i18.RequestHandler>>); - - @override - Iterable<_i8.RoutingResult<_i18.RequestHandler>> resolveAll( - String? absolute, - String? relative, { - String? method = r'GET', - bool? strip = true, - }) => - (super.noSuchMethod( - Invocation.method( - #resolveAll, - [ - absolute, - relative, - ], - { - #method: method, - #strip: strip, - }, - ), - returnValue: <_i8.RoutingResult<_i18.RequestHandler>>[], - ) as Iterable<_i8.RoutingResult<_i18.RequestHandler>>); - - @override - _i8.Route<_i18.RequestHandler> all( - String? path, - _i18.RequestHandler? handler, { - Iterable<_i18.RequestHandler>? middleware = const [], - }) => - (super.noSuchMethod( - Invocation.method( - #all, - [ - path, - handler, - ], - {#middleware: middleware}, - ), - returnValue: _FakeRoute_8<_i18.RequestHandler>( - this, - Invocation.method( - #all, - [ - path, - handler, - ], - {#middleware: middleware}, - ), - ), - ) as _i8.Route<_i18.RequestHandler>); - - @override - _i8.Route<_i18.RequestHandler> delete( - String? path, - _i18.RequestHandler? handler, { - Iterable<_i18.RequestHandler>? middleware = const [], - }) => - (super.noSuchMethod( - Invocation.method( - #delete, - [ - path, - handler, - ], - {#middleware: middleware}, - ), - returnValue: _FakeRoute_8<_i18.RequestHandler>( - this, - Invocation.method( - #delete, - [ - path, - handler, - ], - {#middleware: middleware}, - ), - ), - ) as _i8.Route<_i18.RequestHandler>); - - @override - _i8.Route<_i18.RequestHandler> get( - String? path, - _i18.RequestHandler? handler, { - Iterable<_i18.RequestHandler>? middleware = const [], - }) => - (super.noSuchMethod( - Invocation.method( - #get, - [ - path, - handler, - ], - {#middleware: middleware}, - ), - returnValue: _FakeRoute_8<_i18.RequestHandler>( - this, - Invocation.method( - #get, - [ - path, - handler, - ], - {#middleware: middleware}, - ), - ), - ) as _i8.Route<_i18.RequestHandler>); - - @override - _i8.Route<_i18.RequestHandler> head( - String? path, - _i18.RequestHandler? handler, { - Iterable<_i18.RequestHandler>? middleware = const [], - }) => - (super.noSuchMethod( - Invocation.method( - #head, - [ - path, - handler, - ], - {#middleware: middleware}, - ), - returnValue: _FakeRoute_8<_i18.RequestHandler>( - this, - Invocation.method( - #head, - [ - path, - handler, - ], - {#middleware: middleware}, - ), - ), - ) as _i8.Route<_i18.RequestHandler>); - - @override - _i8.Route<_i18.RequestHandler> options( - String? path, - _i18.RequestHandler? handler, { - Iterable<_i18.RequestHandler>? middleware = const {}, - }) => - (super.noSuchMethod( - Invocation.method( - #options, - [ - path, - handler, - ], - {#middleware: middleware}, - ), - returnValue: _FakeRoute_8<_i18.RequestHandler>( - this, - Invocation.method( - #options, - [ - path, - handler, - ], - {#middleware: middleware}, - ), - ), - ) as _i8.Route<_i18.RequestHandler>); - - @override - _i8.Route<_i18.RequestHandler> post( - String? path, - _i18.RequestHandler? handler, { - Iterable<_i18.RequestHandler>? middleware = const [], - }) => - (super.noSuchMethod( - Invocation.method( - #post, - [ - path, - handler, - ], - {#middleware: middleware}, - ), - returnValue: _FakeRoute_8<_i18.RequestHandler>( - this, - Invocation.method( - #post, - [ - path, - handler, - ], - {#middleware: middleware}, - ), - ), - ) as _i8.Route<_i18.RequestHandler>); - - @override - _i8.Route<_i18.RequestHandler> patch( - String? path, - _i18.RequestHandler? handler, { - Iterable<_i18.RequestHandler>? middleware = const [], - }) => - (super.noSuchMethod( - Invocation.method( - #patch, - [ - path, - handler, - ], - {#middleware: middleware}, - ), - returnValue: _FakeRoute_8<_i18.RequestHandler>( - this, - Invocation.method( - #patch, - [ - path, - handler, - ], - {#middleware: middleware}, - ), - ), - ) as _i8.Route<_i18.RequestHandler>); - - @override - _i8.Route put( - String? path, - _i18.RequestHandler? handler, { - Iterable<_i18.RequestHandler>? middleware = const [], - }) => - (super.noSuchMethod( - Invocation.method( - #put, - [ - path, - handler, - ], - {#middleware: middleware}, - ), - returnValue: _FakeRoute_8( - this, - Invocation.method( - #put, - [ - path, - handler, - ], - {#middleware: middleware}, - ), - ), - ) as _i8.Route); -} diff --git a/core/support/test/service_provider_test.reflectable.dart b/core/support/test/service_provider_test.reflectable.dart deleted file mode 100644 index a0cc9d15..00000000 --- a/core/support/test/service_provider_test.reflectable.dart +++ /dev/null @@ -1,1168 +0,0 @@ -// This file has been generated by the reflectable package. -// https://github.com/dart-lang/reflectable. -import 'dart:core'; -import 'dart:async' as prefix3; -import 'package:angel3_container/src/container.dart' as prefix5; -import 'package:angel3_framework/src/core/server.dart' as prefix6; -import 'package:angel3_support/src/discoverable_service_provider.dart' - as prefix0; -import 'package:angel3_support/src/service_provider.dart' as prefix1; -import 'package:logging/src/logger.dart' as prefix4; -import 'package:meta/meta.dart' as prefix2; - -// ignore_for_file: camel_case_types -// ignore_for_file: implementation_imports -// ignore_for_file: prefer_adjacent_string_concatenation -// ignore_for_file: prefer_collection_literals -// ignore_for_file: unnecessary_const -// ignore_for_file: unused_import - -import 'package:reflectable/mirrors.dart' as m; -import 'package:reflectable/src/reflectable_builder_based.dart' as r; -import 'package:reflectable/reflectable.dart' as r show Reflectable; - -final _data = { - const prefix0.DiscoverableServiceProvider(): r.ReflectorData( - [ - r.NonGenericClassMirrorImpl( - r'ServiceProvider', - r'.ServiceProvider', - 134218247, - 0, - const prefix0.DiscoverableServiceProvider(), - const [ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 18, - 19, - 20, - 21 - ], - const [ - 22, - 23, - 24, - 25, - 26, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 19, - 20 - ], - const [1, 18], - 1, - { - r'setLogger': () => prefix1.ServiceProvider.setLogger, - r'logger': () => prefix1.ServiceProvider.logger - }, - {}, - {}, - 0, - 0, - const [], - const [prefix0.discoverableServiceProvider], - null), - r.NonGenericClassMirrorImpl( - r'Object', - r'dart.core.Object', - 134217735, - 1, - const prefix0.DiscoverableServiceProvider(), - const [22, 23, 24, 27, 28, 29, 25, 26, 30], - const [22, 23, 24, 25, 26], - const [27, 28, 29], - null, - { - r'hash': () => Object.hash, - r'hashAll': () => Object.hashAll, - r'hashAllUnordered': () => Object.hashAllUnordered - }, - {}, - {r'': (bool b) => () => b ? Object() : null}, - 1, - 1, - const [], - const [], - null) - ], - [ - r.VariableMirrorImpl( - r'priority', - 134349829, - 0, - const prefix0.DiscoverableServiceProvider(), - -1, - 2, - 2, const [], const []), - r.MethodMirrorImpl( - r'setLogger', - 1310738, - 0, - -1, - -1, - -1, - const [], - const [0], - const prefix0.DiscoverableServiceProvider(), - const [prefix2.visibleForTesting]), - r.MethodMirrorImpl( - r'register', - 1310722, - 0, - -1, - -1, - -1, - const [], - const [1, 2], - const prefix0.DiscoverableServiceProvider(), - const [prefix2.mustCallSuper]), - r.MethodMirrorImpl( - r'boot', - 35651586, - 0, - -1, - 3, - 4, - const [-1], - const [3], - const prefix0.DiscoverableServiceProvider(), - const [prefix2.mustCallSuper]), - r.MethodMirrorImpl( - r'when', - 2097154, - 0, - -1, - 5, - 5, - const [], - const [4], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'isReadyToRegister', - 2097154, - 0, - -1, - 5, - 5, - const [], - const [5], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'singleton', - 1310722, - 0, - -1, - -1, - -1, - const [], - const [6, 7], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'singletonFactory', - 1310722, - 0, - -1, - -1, - -1, - const [], - const [8, 9], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'bind', - 1310722, - 0, - -1, - -1, - -1, - const [], - const [10, 11], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'bindInstance', - 1310722, - 0, - -1, - -1, - -1, - const [], - const [12, 13], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'bindIf', - 1310722, - 0, - -1, - -1, - -1, - const [], - const [14, 15], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'bindMultiple', - 1310722, - 0, - -1, - -1, - -1, - const [], - const [16, 17], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'alias', - 1310722, - 0, - -1, - -1, - -1, - const [], - const [18], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'scoped', - 1310722, - 0, - -1, - -1, - -1, - const [], - const [19, 20], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'transient', - 1310722, - 0, - -1, - -1, - -1, - const [], - const [21, 22], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'constant', - 1310722, - 0, - -1, - -1, - -1, - const [], - const [23, 24], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'lazySingleton', - 1310722, - 0, - -1, - -1, - -1, - const [], - const [25, 26], - const prefix0.DiscoverableServiceProvider(), - const []), - r.ImplicitGetterMirrorImpl( - const prefix0.DiscoverableServiceProvider(), 0, 17), - r.MethodMirrorImpl( - r'logger', - 2097171, - 0, - -1, - 6, - 6, - const [], - const [], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'isDeferred', - 2097155, - 0, - -1, - 5, - 5, - const [], - const [], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'provides', - 35651587, - 0, - -1, - 8, - 9, - const [7], - const [], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'', - 128, - 0, - -1, - 0, - 0, - const [], - const [27], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'==', - 2097154, - 1, - -1, - 5, - 5, - const [], - const [28], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'toString', - 2097154, - 1, - -1, - 10, - 10, - const [], - const [], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'noSuchMethod', - 524290, - 1, - -1, - -1, - -1, - const [], - const [29], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'hashCode', - 2097155, - 1, - -1, - 2, - 2, - const [], - const [], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'runtimeType', - 2097155, - 1, - -1, - 7, - 7, - const [], - const [], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'hash', - 2097170, - 1, - -1, - 2, - 2, - const [], - const [ - 30, - 31, - 32, - 33, - 34, - 35, - 36, - 37, - 38, - 39, - 40, - 41, - 42, - 43, - 44, - 45, - 46, - 47, - 48, - 49 - ], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'hashAll', - 2097170, - 1, - -1, - 2, - 2, - const [], - const [50], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl( - r'hashAllUnordered', - 2097170, - 1, - -1, - 2, - 2, - const [], - const [51], - const prefix0.DiscoverableServiceProvider(), - const []), - r.MethodMirrorImpl(r'', 128, 1, -1, 1, 1, const [], const [], - const prefix0.DiscoverableServiceProvider(), const []) - ], - [ - r.ParameterMirrorImpl( - r'logger', - 134348806, - 1, - const prefix0.DiscoverableServiceProvider(), - -1, - 6, - 6, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'container', - 134348806, - 2, - const prefix0.DiscoverableServiceProvider(), - -1, - 11, - 11, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'app', - 134348806, - 2, - const prefix0.DiscoverableServiceProvider(), - -1, - 12, - 12, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'app', - 134348806, - 3, - const prefix0.DiscoverableServiceProvider(), - -1, - 12, - 12, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'app', - 134348806, - 4, - const prefix0.DiscoverableServiceProvider(), - -1, - 12, - 12, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'app', - 134348806, - 5, - const prefix0.DiscoverableServiceProvider(), - -1, - 12, - 12, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'container', - 134348806, - 6, - const prefix0.DiscoverableServiceProvider(), - -1, - 11, - 11, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'instance', - 6, - 6, - const prefix0.DiscoverableServiceProvider(), - -1, - -1, - -1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'container', - 134348806, - 7, - const prefix0.DiscoverableServiceProvider(), - -1, - 11, - 11, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'factory', - 134217734, - 7, - const prefix0.DiscoverableServiceProvider(), - -1, - 13, - 13, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'container', - 134348806, - 8, - const prefix0.DiscoverableServiceProvider(), - -1, - 11, - 11, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'factory', - 134217734, - 8, - const prefix0.DiscoverableServiceProvider(), - -1, - 14, - 14, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'container', - 134348806, - 9, - const prefix0.DiscoverableServiceProvider(), - -1, - 11, - 11, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'instance', - 6, - 9, - const prefix0.DiscoverableServiceProvider(), - -1, - -1, - -1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'container', - 134348806, - 10, - const prefix0.DiscoverableServiceProvider(), - -1, - 11, - 11, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'factory', - 134217734, - 10, - const prefix0.DiscoverableServiceProvider(), - -1, - 15, - 15, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'container', - 134348806, - 11, - const prefix0.DiscoverableServiceProvider(), - -1, - 11, - 11, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'bindings', - 151126022, - 11, - const prefix0.DiscoverableServiceProvider(), - -1, - 16, - 17, - const [7, 18], - const [], - null, - null), - r.ParameterMirrorImpl( - r'container', - 134348806, - 12, - const prefix0.DiscoverableServiceProvider(), - -1, - 11, - 11, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'container', - 134348806, - 13, - const prefix0.DiscoverableServiceProvider(), - -1, - 11, - 11, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'factory', - 134217734, - 13, - const prefix0.DiscoverableServiceProvider(), - -1, - 19, - 19, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'container', - 134348806, - 14, - const prefix0.DiscoverableServiceProvider(), - -1, - 11, - 11, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'factory', - 134217734, - 14, - const prefix0.DiscoverableServiceProvider(), - -1, - 20, - 20, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'container', - 134348806, - 15, - const prefix0.DiscoverableServiceProvider(), - -1, - 11, - 11, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'value', - 6, - 15, - const prefix0.DiscoverableServiceProvider(), - -1, - -1, - -1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'container', - 134348806, - 16, - const prefix0.DiscoverableServiceProvider(), - -1, - 11, - 11, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'factory', - 134217734, - 16, - const prefix0.DiscoverableServiceProvider(), - -1, - 21, - 21, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'priority', - 134364166, - 21, - const prefix0.DiscoverableServiceProvider(), - -1, - 2, - 2, - const [], - const [], - 0, - #priority), - r.ParameterMirrorImpl( - r'other', - 134348806, - 22, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'invocation', - 134348806, - 24, - const prefix0.DiscoverableServiceProvider(), - -1, - 22, - 22, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object1', - 67239942, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object2', - 67239942, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object3', - 67246086, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object4', - 67246086, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object5', - 67246086, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object6', - 67246086, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object7', - 67246086, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object8', - 67246086, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object9', - 67246086, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object10', - 67246086, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object11', - 67246086, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object12', - 67246086, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object13', - 67246086, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object14', - 67246086, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object15', - 67246086, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object16', - 67246086, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object17', - 67246086, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object18', - 67246086, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object19', - 67246086, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'object20', - 67246086, - 27, - const prefix0.DiscoverableServiceProvider(), - 1, - 1, - 1, - const [], - const [], - null, - null), - r.ParameterMirrorImpl( - r'objects', - 151126022, - 28, - const prefix0.DiscoverableServiceProvider(), - -1, - 23, - 24, - const [1], - const [], - null, - null), - r.ParameterMirrorImpl( - r'objects', - 151126022, - 29, - const prefix0.DiscoverableServiceProvider(), - -1, - 23, - 24, - const [1], - const [], - null, - null) - ], - [ - prefix1.ServiceProvider, - Object, - int, - const m.TypeValue>().type, - prefix3.Future, - bool, - prefix4.Logger, - Type, - const m.TypeValue>().type, - List, - String, - prefix5.Container, - prefix6.Angel, - const m.TypeValue().type, - const m.TypeValue().type, - const m.TypeValue().type, - const m.TypeValue>().type, - Map, - Function, - const m.TypeValue().type, - const m.TypeValue().type, - const m.TypeValue().type, - Invocation, - const m.TypeValue>().type, - Iterable - ], - 2, - { - r'==': (dynamic instance) => (x) => instance == x, - r'toString': (dynamic instance) => instance.toString, - r'noSuchMethod': (dynamic instance) => instance.noSuchMethod, - r'hashCode': (dynamic instance) => instance.hashCode, - r'runtimeType': (dynamic instance) => instance.runtimeType, - r'register': (dynamic instance) => instance.register, - r'boot': (dynamic instance) => instance.boot, - r'when': (dynamic instance) => instance.when, - r'isReadyToRegister': (dynamic instance) => instance.isReadyToRegister, - r'singleton': (dynamic instance) => instance.singleton, - r'singletonFactory': (dynamic instance) => instance.singletonFactory, - r'bind': (dynamic instance) => instance.bind, - r'bindInstance': (dynamic instance) => instance.bindInstance, - r'bindIf': (dynamic instance) => instance.bindIf, - r'bindMultiple': (dynamic instance) => instance.bindMultiple, - r'alias': (dynamic instance) => instance.alias, - r'scoped': (dynamic instance) => instance.scoped, - r'transient': (dynamic instance) => instance.transient, - r'constant': (dynamic instance) => instance.constant, - r'lazySingleton': (dynamic instance) => instance.lazySingleton, - r'priority': (dynamic instance) => instance.priority, - r'isDeferred': (dynamic instance) => instance.isDeferred, - r'provides': (dynamic instance) => instance.provides - }, - {}, - [ - r.LibraryMirrorImpl( - r'', - Uri.parse('package:angel3_support/src/service_provider.dart'), - const prefix0.DiscoverableServiceProvider(), - const [], - {}, - {}, - const [], - null), - r.LibraryMirrorImpl( - r'dart.core', - Uri.parse(r'reflectable://1/library dart:core'), - const prefix0.DiscoverableServiceProvider(), - const [], - {}, - {}, - const [], - null) - ], - []) -}; - -final _memberSymbolMap = null; - -void initializeReflectable() { - r.data = _data; - r.memberSymbolMap = _memberSymbolMap; -}