| // WARNING: This file is machine generated by fidlgen_dart. |
| // @dart = 2.12 |
| |
| library fidl_fidl_test_protocols_test; |
| |
| import 'dart:async' as $async; |
| import 'dart:core' hide Error, Future, Match, Set, Stream, Type; |
| import 'dart:typed_data'; |
| |
| import 'package:fidl/fidl.dart' as $fidl; |
| import 'package:meta/meta.dart'; |
| import 'package:zircon/zircon.dart' as $zircon; |
| |
| import './fidl_async.dart'; |
| |
| // ignore_for_file: always_specify_types |
| // ignore_for_file: constant_identifier_names |
| // ignore_for_file: one_member_abstracts |
| // ignore_for_file: public_member_api_docs |
| // ignore_for_file: unused_import |
| // ignore_for_file: library_prefixes |
| // ignore_for_file: unused_shown_name |
| |
| class WithAndWithoutRequestResponse$TestBase |
| extends WithAndWithoutRequestResponse { |
| @override |
| $async.Future<void> noRequestNoResponse() { |
| return $async.Future.error(UnimplementedError(), StackTrace.current); |
| } |
| |
| @override |
| $async.Future<void> noRequestEmptyResponse() { |
| return $async.Future.error(UnimplementedError(), StackTrace.current); |
| } |
| |
| @override |
| $async.Future<String> noRequestWithResponse() { |
| return $async.Future.error(UnimplementedError(), StackTrace.current); |
| } |
| |
| @override |
| $async.Future<void> withRequestNoResponse(String arg) { |
| return $async.Future.error(UnimplementedError(), StackTrace.current); |
| } |
| |
| @override |
| $async.Future<void> withRequestEmptyResponse(String arg) { |
| return $async.Future.error(UnimplementedError(), StackTrace.current); |
| } |
| |
| @override |
| $async.Future<String> withRequestWithResponse(String arg) { |
| return $async.Future.error(UnimplementedError(), StackTrace.current); |
| } |
| |
| @override |
| $async.Stream<void> get onEmptyResponse { |
| return $async.Stream.fromFuture( |
| $async.Future.error(UnimplementedError(), StackTrace.current)); |
| } |
| |
| @override |
| $async.Stream<String> get onWithResponse { |
| return $async.Stream.fromFuture( |
| $async.Future.error(UnimplementedError(), StackTrace.current)); |
| } |
| } |
| |
| class WithErrorSyntax$TestBase extends WithErrorSyntax { |
| @override |
| $async.Future<WithErrorSyntax$ResponseAsStruct$Response> responseAsStruct() { |
| return $async.Future.error(UnimplementedError(), StackTrace.current); |
| } |
| |
| @override |
| $async.Future<void> errorAsPrimitive() { |
| return $async.Future.error(UnimplementedError(), StackTrace.current); |
| } |
| |
| @override |
| $async.Future<void> errorAsEnum() { |
| return $async.Future.error(UnimplementedError(), StackTrace.current); |
| } |
| } |
| |
| class ChannelProtocol$TestBase extends ChannelProtocol { |
| @override |
| $async.Future<void> methodA(int a, int b) { |
| return $async.Future.error(UnimplementedError(), StackTrace.current); |
| } |
| |
| @override |
| $async.Stream<ChannelProtocol$EventA$Response> get eventA { |
| return $async.Stream.fromFuture( |
| $async.Future.error(UnimplementedError(), StackTrace.current)); |
| } |
| |
| @override |
| $async.Future<int> methodB(int a, int b) { |
| return $async.Future.error(UnimplementedError(), StackTrace.current); |
| } |
| |
| @override |
| $async.Future<void> takeHandle($zircon.Handle h) { |
| return $async.Future.error(UnimplementedError(), StackTrace.current); |
| } |
| |
| @override |
| $async.Future<$zircon.Socket> mutateSocket($zircon.Socket a) { |
| return $async.Future.error(UnimplementedError(), StackTrace.current); |
| } |
| } |
| |
| class Transitional$TestBase extends Transitional { |
| @override |
| $async.Future<int> request(int x) { |
| return $async.Future.error(UnimplementedError(), StackTrace.current); |
| } |
| |
| @override |
| $async.Future<void> oneWay(int x) { |
| return $async.Future.error(UnimplementedError(), StackTrace.current); |
| } |
| |
| @override |
| $async.Stream<int> get event { |
| return $async.Stream.fromFuture( |
| $async.Future.error(UnimplementedError(), StackTrace.current)); |
| } |
| } |