From fdf59816fe008dc0503504d6c934ab45a4ea00aa Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Sat, 18 Jun 2022 17:19:52 -0700 Subject: [PATCH 1/2] Fix test annotations --- json_serializable/test/supported_types/extra_map_test.dart | 2 +- .../test/supported_types/type_test.bigint_test.dart | 2 +- .../test/supported_types/type_test.bool_test.dart | 2 +- json_serializable/test/supported_types/type_test.dart | 2 +- .../test/supported_types/type_test.datetime_test.dart | 2 +- .../test/supported_types/type_test.double_test.dart | 2 +- .../test/supported_types/type_test.duration_test.dart | 2 +- .../test/supported_types/type_test.enumtype_test.dart | 3 ++- json_serializable/test/supported_types/type_test.int_test.dart | 2 +- .../test/supported_types/type_test.iterable_test.dart | 3 ++- .../test/supported_types/type_test.list_test.dart | 2 +- json_serializable/test/supported_types/type_test.map_test.dart | 2 +- json_serializable/test/supported_types/type_test.num_test.dart | 2 +- .../test/supported_types/type_test.object_test.dart | 1 - json_serializable/test/supported_types/type_test.set_test.dart | 2 +- .../test/supported_types/type_test.string_test.dart | 2 +- json_serializable/test/supported_types/type_test.uri_test.dart | 2 +- 17 files changed, 18 insertions(+), 17 deletions(-) diff --git a/json_serializable/test/supported_types/extra_map_test.dart b/json_serializable/test/supported_types/extra_map_test.dart index 78a1af821..0bdea277c 100644 --- a/json_serializable/test/supported_types/extra_map_test.dart +++ b/json_serializable/test/supported_types/extra_map_test.dart @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // ignore_for_file: prefer_const_declarations +@TestOn('vm') import 'dart:convert'; -@TestOn('vm') import 'package:test/test.dart'; import '../test_utils.dart'; diff --git a/json_serializable/test/supported_types/type_test.bigint_test.dart b/json_serializable/test/supported_types/type_test.bigint_test.dart index c012ea507..aa35a7d68 100644 --- a/json_serializable/test/supported_types/type_test.bigint_test.dart +++ b/json_serializable/test/supported_types/type_test.bigint_test.dart @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // ignore_for_file: prefer_const_declarations +@TestOn('vm') import 'dart:convert'; -@TestOn('vm') import 'package:test/test.dart'; import '../test_utils.dart'; diff --git a/json_serializable/test/supported_types/type_test.bool_test.dart b/json_serializable/test/supported_types/type_test.bool_test.dart index 14e24853b..1d66ca8ce 100644 --- a/json_serializable/test/supported_types/type_test.bool_test.dart +++ b/json_serializable/test/supported_types/type_test.bool_test.dart @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // ignore_for_file: prefer_const_declarations +@TestOn('vm') import 'dart:convert'; -@TestOn('vm') import 'package:test/test.dart'; import '../test_utils.dart'; diff --git a/json_serializable/test/supported_types/type_test.dart b/json_serializable/test/supported_types/type_test.dart index 625b8e3c4..1a94d75ed 100644 --- a/json_serializable/test/supported_types/type_test.dart +++ b/json_serializable/test/supported_types/type_test.dart @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // ignore_for_file: prefer_const_declarations +@TestOn('vm') import 'dart:convert'; -@TestOn('vm') import 'package:test/test.dart'; import '../test_utils.dart'; diff --git a/json_serializable/test/supported_types/type_test.datetime_test.dart b/json_serializable/test/supported_types/type_test.datetime_test.dart index 597bbf680..2be225554 100644 --- a/json_serializable/test/supported_types/type_test.datetime_test.dart +++ b/json_serializable/test/supported_types/type_test.datetime_test.dart @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // ignore_for_file: prefer_const_declarations +@TestOn('vm') import 'dart:convert'; -@TestOn('vm') import 'package:test/test.dart'; import '../test_utils.dart'; diff --git a/json_serializable/test/supported_types/type_test.double_test.dart b/json_serializable/test/supported_types/type_test.double_test.dart index 3e4c05acf..c9db8891a 100644 --- a/json_serializable/test/supported_types/type_test.double_test.dart +++ b/json_serializable/test/supported_types/type_test.double_test.dart @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // ignore_for_file: prefer_const_declarations +@TestOn('vm') import 'dart:convert'; -@TestOn('vm') import 'package:test/test.dart'; import '../test_utils.dart'; diff --git a/json_serializable/test/supported_types/type_test.duration_test.dart b/json_serializable/test/supported_types/type_test.duration_test.dart index 76816e9fc..c19af16cd 100644 --- a/json_serializable/test/supported_types/type_test.duration_test.dart +++ b/json_serializable/test/supported_types/type_test.duration_test.dart @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // ignore_for_file: prefer_const_declarations +@TestOn('vm') import 'dart:convert'; -@TestOn('vm') import 'package:test/test.dart'; import '../test_utils.dart'; diff --git a/json_serializable/test/supported_types/type_test.enumtype_test.dart b/json_serializable/test/supported_types/type_test.enumtype_test.dart index 1652b359b..3c4961ecc 100644 --- a/json_serializable/test/supported_types/type_test.enumtype_test.dart +++ b/json_serializable/test/supported_types/type_test.enumtype_test.dart @@ -4,9 +4,10 @@ // ignore_for_file: prefer_const_declarations +@TestOn('vm') + import 'dart:convert'; -@TestOn('vm') import 'package:test/test.dart'; import '../test_utils.dart'; diff --git a/json_serializable/test/supported_types/type_test.int_test.dart b/json_serializable/test/supported_types/type_test.int_test.dart index b4252fa5f..9f5a81b1f 100644 --- a/json_serializable/test/supported_types/type_test.int_test.dart +++ b/json_serializable/test/supported_types/type_test.int_test.dart @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // ignore_for_file: prefer_const_declarations +@TestOn('vm') import 'dart:convert'; -@TestOn('vm') import 'package:test/test.dart'; import '../test_utils.dart'; diff --git a/json_serializable/test/supported_types/type_test.iterable_test.dart b/json_serializable/test/supported_types/type_test.iterable_test.dart index 57b9358b0..fafe5f587 100644 --- a/json_serializable/test/supported_types/type_test.iterable_test.dart +++ b/json_serializable/test/supported_types/type_test.iterable_test.dart @@ -4,9 +4,10 @@ // ignore_for_file: prefer_const_declarations +@TestOn('vm') + import 'dart:convert'; -@TestOn('vm') import 'package:test/test.dart'; import '../test_utils.dart'; diff --git a/json_serializable/test/supported_types/type_test.list_test.dart b/json_serializable/test/supported_types/type_test.list_test.dart index 342a89079..adbd2ed4a 100644 --- a/json_serializable/test/supported_types/type_test.list_test.dart +++ b/json_serializable/test/supported_types/type_test.list_test.dart @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // ignore_for_file: prefer_const_declarations +@TestOn('vm') import 'dart:convert'; -@TestOn('vm') import 'package:test/test.dart'; import '../test_utils.dart'; diff --git a/json_serializable/test/supported_types/type_test.map_test.dart b/json_serializable/test/supported_types/type_test.map_test.dart index c8cf4ccb9..e814f7bd2 100644 --- a/json_serializable/test/supported_types/type_test.map_test.dart +++ b/json_serializable/test/supported_types/type_test.map_test.dart @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // ignore_for_file: prefer_const_declarations +@TestOn('vm') import 'dart:convert'; -@TestOn('vm') import 'package:test/test.dart'; import '../test_utils.dart'; diff --git a/json_serializable/test/supported_types/type_test.num_test.dart b/json_serializable/test/supported_types/type_test.num_test.dart index 52241e719..1ebf28dbe 100644 --- a/json_serializable/test/supported_types/type_test.num_test.dart +++ b/json_serializable/test/supported_types/type_test.num_test.dart @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // ignore_for_file: prefer_const_declarations +@TestOn('vm') import 'dart:convert'; -@TestOn('vm') import 'package:test/test.dart'; import '../test_utils.dart'; diff --git a/json_serializable/test/supported_types/type_test.object_test.dart b/json_serializable/test/supported_types/type_test.object_test.dart index a4f9601f6..bb35689b9 100644 --- a/json_serializable/test/supported_types/type_test.object_test.dart +++ b/json_serializable/test/supported_types/type_test.object_test.dart @@ -6,7 +6,6 @@ import 'dart:convert'; -@TestOn('vm') import 'package:test/test.dart'; import '../test_utils.dart'; diff --git a/json_serializable/test/supported_types/type_test.set_test.dart b/json_serializable/test/supported_types/type_test.set_test.dart index a3b1ed57b..1a0c0133d 100644 --- a/json_serializable/test/supported_types/type_test.set_test.dart +++ b/json_serializable/test/supported_types/type_test.set_test.dart @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // ignore_for_file: prefer_const_declarations +@TestOn('vm') import 'dart:convert'; -@TestOn('vm') import 'package:test/test.dart'; import '../test_utils.dart'; diff --git a/json_serializable/test/supported_types/type_test.string_test.dart b/json_serializable/test/supported_types/type_test.string_test.dart index 845762b19..c239eab85 100644 --- a/json_serializable/test/supported_types/type_test.string_test.dart +++ b/json_serializable/test/supported_types/type_test.string_test.dart @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // ignore_for_file: prefer_const_declarations +@TestOn('vm') import 'dart:convert'; -@TestOn('vm') import 'package:test/test.dart'; import '../test_utils.dart'; diff --git a/json_serializable/test/supported_types/type_test.uri_test.dart b/json_serializable/test/supported_types/type_test.uri_test.dart index ff0710b38..28903704b 100644 --- a/json_serializable/test/supported_types/type_test.uri_test.dart +++ b/json_serializable/test/supported_types/type_test.uri_test.dart @@ -3,10 +3,10 @@ // BSD-style license that can be found in the LICENSE file. // ignore_for_file: prefer_const_declarations +@TestOn('vm') import 'dart:convert'; -@TestOn('vm') import 'package:test/test.dart'; import '../test_utils.dart'; From 4dbd7a2131f0b33679a01e2f5e8711d43630090c Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Sat, 18 Jun 2022 17:25:53 -0700 Subject: [PATCH 2/2] oops --- .../test/supported_types/type_test.enumtype_test.dart | 1 - .../test/supported_types/type_test.iterable_test.dart | 1 - .../test/supported_types/type_test.object_test.dart | 1 + 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/json_serializable/test/supported_types/type_test.enumtype_test.dart b/json_serializable/test/supported_types/type_test.enumtype_test.dart index 3c4961ecc..568ddb615 100644 --- a/json_serializable/test/supported_types/type_test.enumtype_test.dart +++ b/json_serializable/test/supported_types/type_test.enumtype_test.dart @@ -3,7 +3,6 @@ // BSD-style license that can be found in the LICENSE file. // ignore_for_file: prefer_const_declarations - @TestOn('vm') import 'dart:convert'; diff --git a/json_serializable/test/supported_types/type_test.iterable_test.dart b/json_serializable/test/supported_types/type_test.iterable_test.dart index fafe5f587..658ed97e1 100644 --- a/json_serializable/test/supported_types/type_test.iterable_test.dart +++ b/json_serializable/test/supported_types/type_test.iterable_test.dart @@ -3,7 +3,6 @@ // BSD-style license that can be found in the LICENSE file. // ignore_for_file: prefer_const_declarations - @TestOn('vm') import 'dart:convert'; diff --git a/json_serializable/test/supported_types/type_test.object_test.dart b/json_serializable/test/supported_types/type_test.object_test.dart index bb35689b9..7f8e7f4b6 100644 --- a/json_serializable/test/supported_types/type_test.object_test.dart +++ b/json_serializable/test/supported_types/type_test.object_test.dart @@ -3,6 +3,7 @@ // BSD-style license that can be found in the LICENSE file. // ignore_for_file: prefer_const_declarations +@TestOn('vm') import 'dart:convert';