Replace InternetAddressType.ANY with InternetAddressType.any (#1325)
diff --git a/LibTest/io/InternetAddress/lookup_A01_t01.dart b/LibTest/io/InternetAddress/lookup_A01_t01.dart
index 12d367e..31ad95f 100644
--- a/LibTest/io/InternetAddress/lookup_A01_t01.dart
+++ b/LibTest/io/InternetAddress/lookup_A01_t01.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
/// @assertion Future<List<InternetAddress>> lookup(String host,
-/// { InternetAddressType type: InternetAddressType.ANY })
+/// { InternetAddressType type: InternetAddressType.any })
/// Lookup a host, returning a [Future] of a list of [InternetAddresss].
/// @description Checks that result [internetAddress] list contains addresses for
/// the given host only.
diff --git a/LibTest/io/InternetAddress/lookup_A02_t01.dart b/LibTest/io/InternetAddress/lookup_A02_t01.dart
index f60a124..7719a61 100644
--- a/LibTest/io/InternetAddress/lookup_A02_t01.dart
+++ b/LibTest/io/InternetAddress/lookup_A02_t01.dart
@@ -3,8 +3,8 @@
// BSD-style license that can be found in the LICENSE file.
/// @assertion Future<List<InternetAddress>> lookup(String host,
-/// { InternetAddressType type: InternetAddressType.ANY })
-/// If [type] is [InternetAddressType.ANY], it will lookup both IP version 4
+/// { InternetAddressType type: InternetAddressType.any })
+/// If [type] is [InternetAddressType.any], it will lookup both IP version 4
/// (IPv4) and IP version 6 (IPv6) addresses.
/// @description Checks that created [Future] can contain both IPv4 and IPv6
/// @author iarkh@unipro.ru
diff --git a/LibTest/io/InternetAddress/lookup_A02_t02.dart b/LibTest/io/InternetAddress/lookup_A02_t02.dart
index a0f627f..420f2bf 100644
--- a/LibTest/io/InternetAddress/lookup_A02_t02.dart
+++ b/LibTest/io/InternetAddress/lookup_A02_t02.dart
@@ -3,12 +3,12 @@
// BSD-style license that can be found in the LICENSE file.
/// @assertion Future<List<InternetAddress>> lookup(String host,
-/// { InternetAddressType type: InternetAddressType.ANY })
-/// If [type] is [InternetAddressType.ANY], it will lookup both IP version 4
+/// { InternetAddressType type: InternetAddressType.any })
+/// If [type] is [InternetAddressType.any], it will lookup both IP version 4
/// (IPv4) and IP version 6 (IPv6) addresses.
/// @description Checks that created [Future] contains IPv4 and IPv6 addresses
/// and each address string corresponds type of [InternetAddress] object.
-/// [InternetAddressType.ANY].
+/// [InternetAddressType.any].
/// @author iarkh@unipro.ru
@@ -21,7 +21,7 @@
check(String name) {
Future<List<InternetAddress>> list =
- InternetAddress.lookup(name, type: InternetAddressType.ANY);
+ InternetAddress.lookup(name, type: InternetAddressType.any);
list.then((addresses) {
addresses.forEach((InternetAddress addr) {
diff --git a/LibTest/io/InternetAddress/lookup_A03_t01.dart b/LibTest/io/InternetAddress/lookup_A03_t01.dart
index 92dc734..d63abdd 100644
--- a/LibTest/io/InternetAddress/lookup_A03_t01.dart
+++ b/LibTest/io/InternetAddress/lookup_A03_t01.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
/// @assertion Future<List<InternetAddress>> lookup(String host,
-/// { InternetAddressType type: InternetAddressType.ANY })
+/// { InternetAddressType type: InternetAddressType.any })
/// If type is either [InternetAddressType.IPv4] or [InternetAddressType.IPv6]
/// it will only lookup addresses of the specified type.
/// @description Checks that if type is set to [InternetAddressType.IPv6] result
diff --git a/LibTest/io/InternetAddress/lookup_A03_t02.dart b/LibTest/io/InternetAddress/lookup_A03_t02.dart
index 277f428..74063d3 100644
--- a/LibTest/io/InternetAddress/lookup_A03_t02.dart
+++ b/LibTest/io/InternetAddress/lookup_A03_t02.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
/// @assertion Future<List<InternetAddress>> lookup(String host,
-/// { InternetAddressType type: InternetAddressType.ANY })
+/// { InternetAddressType type: InternetAddressType.any })
/// If type is either [InternetAddressType.IPv4] or [InternetAddressType.IPv6]
/// it will only lookup addresses of the specified type.
/// @description Checks that if type is set to [InternetAddressType.IPv6] result
diff --git a/LibTest/io/InternetAddress/lookup_A03_t03.dart b/LibTest/io/InternetAddress/lookup_A03_t03.dart
index 67aea20..9ece86b 100644
--- a/LibTest/io/InternetAddress/lookup_A03_t03.dart
+++ b/LibTest/io/InternetAddress/lookup_A03_t03.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
/// @assertion Future<List<InternetAddress>> lookup(String host,
-/// { InternetAddressType type: InternetAddressType.ANY })
+/// { InternetAddressType type: InternetAddressType.any })
/// If type is either [InternetAddressType.IPv4] or [InternetAddressType.IPv6]
/// it will only lookup addresses of the specified type.
/// @description Checks that if type is set to [InternetAddressType.IPv4] result
diff --git a/LibTest/io/InternetAddress/lookup_A03_t04.dart b/LibTest/io/InternetAddress/lookup_A03_t04.dart
index 5c990b3..ec59870 100644
--- a/LibTest/io/InternetAddress/lookup_A03_t04.dart
+++ b/LibTest/io/InternetAddress/lookup_A03_t04.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
/// @assertion Future<List<InternetAddress>> lookup(String host,
-/// { InternetAddressType type: InternetAddressType.ANY })
+/// { InternetAddressType type: InternetAddressType.any })
/// If type is either [InternetAddressType.IPv4] or [InternetAddressType.IPv6]
/// it will only lookup addresses of the specified type.
/// @description Checks that if type is set to [InternetAddressType.IPv4] result
diff --git a/LibTest/io/InternetAddress/lookup_A04_t01.dart b/LibTest/io/InternetAddress/lookup_A04_t01.dart
index 24e5d88..b8d0312 100644
--- a/LibTest/io/InternetAddress/lookup_A04_t01.dart
+++ b/LibTest/io/InternetAddress/lookup_A04_t01.dart
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
/// @assertion Future<List<InternetAddress>> lookup(String host,
-/// { InternetAddressType type: InternetAddressType.ANY })
+/// { InternetAddressType type: InternetAddressType.any })
/// Lookup a host, returning a [Future] of a list of [InternetAddresss].
/// @description Checks that exception is thrown if such a host does not exist.
/// @author iarkh@unipro.ru
diff --git a/LibTest/io/NetworkInterface/list_A01_t01.dart b/LibTest/io/NetworkInterface/list_A01_t01.dart
index de81511..018c2a7 100644
--- a/LibTest/io/NetworkInterface/list_A01_t01.dart
+++ b/LibTest/io/NetworkInterface/list_A01_t01.dart
@@ -6,7 +6,7 @@
/// Future<List<NetworkInterface>> list({
/// bool includeLoopback: false,
/// bool includeLinkLocal: false,
-/// InternetAddressType type: InternetAddressType.ANY
+/// InternetAddressType type: InternetAddressType.any
/// })
/// Query the system for NetworkInterfaces.
///
diff --git a/LibTest/io/NetworkInterface/list_A01_t02.dart b/LibTest/io/NetworkInterface/list_A01_t02.dart
index 3b4e25d..166484c 100644
--- a/LibTest/io/NetworkInterface/list_A01_t02.dart
+++ b/LibTest/io/NetworkInterface/list_A01_t02.dart
@@ -6,7 +6,7 @@
/// Future<List<NetworkInterface>> list({
/// bool includeLoopback: false,
/// bool includeLinkLocal: false,
-/// InternetAddressType type: InternetAddressType.ANY
+/// InternetAddressType type: InternetAddressType.any
/// })
/// Query the system for NetworkInterfaces.
///
diff --git a/LibTest/io/NetworkInterface/list_A01_t03.dart b/LibTest/io/NetworkInterface/list_A01_t03.dart
index eefc383..bd4b7e2 100644
--- a/LibTest/io/NetworkInterface/list_A01_t03.dart
+++ b/LibTest/io/NetworkInterface/list_A01_t03.dart
@@ -6,7 +6,7 @@
/// Future<List<NetworkInterface>> list({
/// bool includeLoopback: false,
/// bool includeLinkLocal: false,
-/// InternetAddressType type: InternetAddressType.ANY
+/// InternetAddressType type: InternetAddressType.any
/// })
/// Query the system for NetworkInterfaces.
///
diff --git a/LibTest/io/NetworkInterface/list_A02_t01.dart b/LibTest/io/NetworkInterface/list_A02_t01.dart
index 9ea874a..c0a456e 100644
--- a/LibTest/io/NetworkInterface/list_A02_t01.dart
+++ b/LibTest/io/NetworkInterface/list_A02_t01.dart
@@ -6,16 +6,16 @@
/// Future<List<NetworkInterface>> list({
/// bool includeLoopback: false,
/// bool includeLinkLocal: false,
-/// InternetAddressType type: InternetAddressType.ANY
+/// InternetAddressType type: InternetAddressType.any
/// })
/// Query the system for NetworkInterfaces.
/// ...
/// If type is either InternetAddressType.IPv4 or InternetAddressType.IPv6 it
/// will only lookup addresses of the specified type. Default is
-/// InternetAddressType.ANY.
+/// InternetAddressType.any.
///
/// @description Checks that if parameter 'type' of static method [list] is
-/// InternetAddressType.ANY, addresses of InternetAddressType.IPv4 type and
+/// InternetAddressType.any, addresses of InternetAddressType.IPv4 type and
/// InternetAddressType.IPv6 type are lookup.
/// @author ngl@unipro.ru
diff --git a/LibTest/io/NetworkInterface/list_A02_t02.dart b/LibTest/io/NetworkInterface/list_A02_t02.dart
index 6bed3e7..7dde93b 100644
--- a/LibTest/io/NetworkInterface/list_A02_t02.dart
+++ b/LibTest/io/NetworkInterface/list_A02_t02.dart
@@ -6,13 +6,13 @@
/// Future<List<NetworkInterface>> list({
/// bool includeLoopback: false,
/// bool includeLinkLocal: false,
-/// InternetAddressType type: InternetAddressType.ANY
+/// InternetAddressType type: InternetAddressType.any
/// })
/// Query the system for NetworkInterfaces.
/// ...
/// If type is either InternetAddressType.IPv4 or InternetAddressType.IPv6 it
/// will only lookup addresses of the specified type. Default is
-/// InternetAddressType.ANY.
+/// InternetAddressType.any.
///
/// @description Checks that if parameter 'type' of static method [list] is
/// InternetAddressType.IPv4, only addresses of InternetAddressType.IPv4 type
diff --git a/LibTest/io/NetworkInterface/list_A02_t03.dart b/LibTest/io/NetworkInterface/list_A02_t03.dart
index e987003..2b9fc41 100644
--- a/LibTest/io/NetworkInterface/list_A02_t03.dart
+++ b/LibTest/io/NetworkInterface/list_A02_t03.dart
@@ -6,13 +6,13 @@
/// Future<List<NetworkInterface>> list({
/// bool includeLoopback: false,
/// bool includeLinkLocal: false,
-/// InternetAddressType type: InternetAddressType.ANY
+/// InternetAddressType type: InternetAddressType.any
/// })
/// Query the system for NetworkInterfaces.
/// ...
/// If type is either InternetAddressType.IPv4 or InternetAddressType.IPv6 it
/// will only lookup addresses of the specified type. Default is
-/// InternetAddressType.ANY.
+/// InternetAddressType.any.
///
/// @description Checks that if parameter 'type' of static method [list] is
/// InternetAddressType.IPv6, only addresses of InternetAddressType.IPv6 type