@@ -31,9 +31,6 @@ void main() {
3131 called = true ;
3232 }
3333 buffers.push (channel, data, callback);
34- // Ignoring the deprecated member use because we're specifically testing
35- // deprecated API.
36- // ignore: deprecated_member_use
3734 await buffers.drain (channel, (ByteData ? drainedData, ui.PlatformMessageResponseCallback drainedCallback) async {
3835 expect (drainedData, equals (data));
3936 assert (! called);
@@ -55,9 +52,6 @@ void main() {
5552
5653 // Ignoring the returned future because the completion of the drain is
5754 // communicated using the `completer`.
58- // Ignoring the deprecated member use because we're specifically testing
59- // deprecated API.
60- // ignore: deprecated_member_use
6155 buffers.drain (channel, (ByteData ? drainedData, ui.PlatformMessageResponseCallback drainedCallback) async {
6256 log.add ('callback' );
6357 completer.complete ();
@@ -83,9 +77,6 @@ void main() {
8377 _resize (buffers, channel, 0 );
8478 buffers.push (channel, data, callback);
8579 bool didCall = false ;
86- // Ignoring the deprecated member use because we're specifically testing
87- // deprecated API.
88- // ignore: deprecated_member_use
8980 await buffers.drain (channel, (ByteData ? drainedData, ui.PlatformMessageResponseCallback drainedCallback) async {
9081 didCall = true ;
9182 });
@@ -96,9 +87,6 @@ void main() {
9687 const String channel = 'foo' ;
9788 final ui.ChannelBuffers buffers = ui.ChannelBuffers ();
9889 bool didCall = false ;
99- // Ignoring the deprecated member use because we're specifically testing
100- // deprecated API.
101- // ignore: deprecated_member_use
10290 await buffers.drain (channel, (ByteData ? drainedData, ui.PlatformMessageResponseCallback drainedCallback) async {
10391 didCall = true ;
10492 });
@@ -119,9 +107,6 @@ void main() {
119107 buffers.push (channel, three, callback);
120108 buffers.push (channel, four, callback);
121109 int counter = 0 ;
122- // Ignoring the deprecated member use because we're specifically testing
123- // deprecated API.
124- // ignore: deprecated_member_use
125110 await buffers.drain (channel, (ByteData ? drainedData, ui.PlatformMessageResponseCallback drainedCallback) async {
126111 switch (counter) {
127112 case 0 :
@@ -147,9 +132,6 @@ void main() {
147132 buffers.push (channel, two, callback);
148133 _resize (buffers, channel, 1 );
149134 int counter = 0 ;
150- // Ignoring the deprecated member use because we're specifically testing
151- // deprecated API.
152- // ignore: deprecated_member_use
153135 await buffers.drain (channel, (ByteData ? drainedData, ui.PlatformMessageResponseCallback drainedCallback) async {
154136 switch (counter) {
155137 case 0 :
0 commit comments