Skip to content

Commit

Permalink
code fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored and dependabot[bot] committed May 30, 2024
1 parent ebb7368 commit 52023d4
Show file tree
Hide file tree
Showing 18 changed files with 28 additions and 1 deletion.
1 change: 0 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ linter:
- prefer_final_locals
- prefer_single_quotes
- test_types_in_equals
- use_super_parameters
- prefer_relative_imports
2 changes: 2 additions & 0 deletions test/client_certificate_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
// TODO(dartbug.com/26057) currently Mac OS X seems to have some issues with
// client certificates so we disable the test.
@TestOn('vm && !mac-os')
library;

import 'dart:async';
import 'dart:io';

Expand Down
2 changes: 2 additions & 0 deletions test/client_handles_bad_connections_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// limitations under the License.

@TestOn('vm')
library;

import 'dart:async';

import 'package:grpc/grpc.dart' as grpc;
Expand Down
1 change: 1 addition & 0 deletions test/client_tests/client_xhr_transport_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
@TestOn('browser')
library;

import 'dart:async';
import 'dart:html';
Expand Down
2 changes: 2 additions & 0 deletions test/client_tests/grpc_or_grpcweb_channel_grpc_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
@TestOn('!browser')
library;

import 'package:grpc/grpc.dart';
import 'package:grpc/grpc_or_grpcweb.dart';
import 'package:test/test.dart';
Expand Down
1 change: 1 addition & 0 deletions test/client_tests/grpc_or_grpcweb_channel_web_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
@TestOn('browser')
library;

import 'package:grpc/grpc_or_grpcweb.dart';
import 'package:grpc/grpc_web.dart';
Expand Down
1 change: 1 addition & 0 deletions test/connection_server_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
@TestOn('vm')
library;

import 'dart:async';

Expand Down
1 change: 1 addition & 0 deletions test/grpc_compression_flag_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
// limitations under the License.

@TestOn('vm')
library;

import 'package:grpc/src/shared/codec.dart';
import 'package:grpc/src/shared/message.dart';
Expand Down
2 changes: 2 additions & 0 deletions test/grpc_web_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// limitations under the License.

@TestOn('browser')
library;

import 'dart:async';
import 'dart:math' as math;

Expand Down
2 changes: 2 additions & 0 deletions test/keepalive_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// limitations under the License.

@TestOn('vm')
library;

import 'dart:async';

import 'package:grpc/grpc.dart';
Expand Down
1 change: 1 addition & 0 deletions test/options_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
@TestOn('vm')
library;

import 'dart:io';

Expand Down
2 changes: 2 additions & 0 deletions test/proxy_secure_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// limitations under the License.

@TestOn('vm')
library;

import 'dart:async';
import 'dart:io';

Expand Down
2 changes: 2 additions & 0 deletions test/proxy_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// limitations under the License.

@TestOn('vm')
library;

import 'dart:async';

import 'package:grpc/grpc.dart';
Expand Down
2 changes: 2 additions & 0 deletions test/round_trip_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// limitations under the License.

@TestOn('vm')
library;

import 'dart:async';
import 'dart:io';

Expand Down
2 changes: 2 additions & 0 deletions test/server_cancellation_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// limitations under the License.

@TestOn('vm')
library;

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

Expand Down
2 changes: 2 additions & 0 deletions test/server_handles_broken_connection_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
// limitations under the License.

@TestOn('vm')
library;

import 'dart:async';
import 'dart:io';
import 'dart:isolate';
Expand Down
1 change: 1 addition & 0 deletions test/server_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
@TestOn('vm')
library;

import 'dart:async';

Expand Down
2 changes: 2 additions & 0 deletions test/timeline_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
@TestOn('vm')
@Skip(
'Run only as `dart run --enable-vm-service --timeline-streams=Dart test/timeline_test.dart`')
library;

import 'dart:async';
import 'dart:developer' as dev;

Expand Down

0 comments on commit 52023d4

Please sign in to comment.