Skip to content

Commit 52023d4

Browse files
kevmoodependabot[bot]
authored andcommitted
code fixes
1 parent ebb7368 commit 52023d4

18 files changed

+28
-1
lines changed

analysis_options.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,4 @@ linter:
1717
- prefer_final_locals
1818
- prefer_single_quotes
1919
- test_types_in_equals
20-
- use_super_parameters
2120
- prefer_relative_imports

test/client_certificate_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
// TODO(dartbug.com/26057) currently Mac OS X seems to have some issues with
1717
// client certificates so we disable the test.
1818
@TestOn('vm && !mac-os')
19+
library;
20+
1921
import 'dart:async';
2022
import 'dart:io';
2123

test/client_handles_bad_connections_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
// limitations under the License.
1515

1616
@TestOn('vm')
17+
library;
18+
1719
import 'dart:async';
1820

1921
import 'package:grpc/grpc.dart' as grpc;

test/client_tests/client_xhr_transport_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515
@TestOn('browser')
16+
library;
1617

1718
import 'dart:async';
1819
import 'dart:html';

test/client_tests/grpc_or_grpcweb_channel_grpc_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515
@TestOn('!browser')
16+
library;
17+
1618
import 'package:grpc/grpc.dart';
1719
import 'package:grpc/grpc_or_grpcweb.dart';
1820
import 'package:test/test.dart';

test/client_tests/grpc_or_grpcweb_channel_web_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515
@TestOn('browser')
16+
library;
1617

1718
import 'package:grpc/grpc_or_grpcweb.dart';
1819
import 'package:grpc/grpc_web.dart';

test/connection_server_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515
@TestOn('vm')
16+
library;
1617

1718
import 'dart:async';
1819

test/grpc_compression_flag_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
// limitations under the License.
1515

1616
@TestOn('vm')
17+
library;
1718

1819
import 'package:grpc/src/shared/codec.dart';
1920
import 'package:grpc/src/shared/message.dart';

test/grpc_web_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
// limitations under the License.
1515

1616
@TestOn('browser')
17+
library;
18+
1719
import 'dart:async';
1820
import 'dart:math' as math;
1921

test/keepalive_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
// limitations under the License.
1515

1616
@TestOn('vm')
17+
library;
18+
1719
import 'dart:async';
1820

1921
import 'package:grpc/grpc.dart';

test/options_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515
@TestOn('vm')
16+
library;
1617

1718
import 'dart:io';
1819

test/proxy_secure_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
// limitations under the License.
1515

1616
@TestOn('vm')
17+
library;
18+
1719
import 'dart:async';
1820
import 'dart:io';
1921

test/proxy_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
// limitations under the License.
1515

1616
@TestOn('vm')
17+
library;
18+
1719
import 'dart:async';
1820

1921
import 'package:grpc/grpc.dart';

test/round_trip_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
// limitations under the License.
1515

1616
@TestOn('vm')
17+
library;
18+
1719
import 'dart:async';
1820
import 'dart:io';
1921

test/server_cancellation_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
// limitations under the License.
1515

1616
@TestOn('vm')
17+
library;
18+
1719
import 'package:grpc/grpc.dart';
1820
import 'package:test/test.dart';
1921

test/server_handles_broken_connection_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
// limitations under the License.
1515

1616
@TestOn('vm')
17+
library;
18+
1719
import 'dart:async';
1820
import 'dart:io';
1921
import 'dart:isolate';

test/server_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515
@TestOn('vm')
16+
library;
1617

1718
import 'dart:async';
1819

test/timeline_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
@TestOn('vm')
1717
@Skip(
1818
'Run only as `dart run --enable-vm-service --timeline-streams=Dart test/timeline_test.dart`')
19+
library;
20+
1921
import 'dart:async';
2022
import 'dart:developer' as dev;
2123

0 commit comments

Comments
 (0)