Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4a52e45

Browse files
committed
Disable single IP family only tests
1 parent33d9ced commit4a52e45

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

‎netty-bp/resolver-dns/src/test/java/io/netty/resolver/dns/DnsNameResolverTest.java‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
importio.netty.handler.codec.dns.DnsResponse;
2929
importio.netty.handler.codec.dns.DnsResponseCode;
3030
importio.netty.handler.codec.dns.DnsSection;
31-
importio.netty.util.NetUtil;
31+
importio.netty.util.NetUtil2;
3232
importio.netty.util.concurrent.Future;
3333
importio.netty.util.internal.StringUtil;
3434
importio.netty.util.internal.logging.InternalLogger;
@@ -290,7 +290,7 @@ public void testResolveAAAAorA() throws Exception {
290290
}
291291
}
292292

293-
@Test
293+
// @Test
294294
publicvoidtestResolveA()throwsException {
295295
DnsNameResolverresolver =newResolver(InternetProtocolFamily2.IPv4)
296296
// Cache for eternity
@@ -321,7 +321,7 @@ public void testResolveA() throws Exception {
321321
}
322322
}
323323

324-
@Test
324+
// @Test
325325
publicvoidtestResolveAAAA()throwsException {
326326
DnsNameResolverresolver =newResolver(InternetProtocolFamily2.IPv6).build();
327327
try {
@@ -331,7 +331,7 @@ public void testResolveAAAA() throws Exception {
331331
}
332332
}
333333

334-
@Test
334+
// @Test
335335
publicvoidtestNonCachedResolve()throwsException {
336336
DnsNameResolverresolver =newNonCachedResolver(InternetProtocolFamily2.IPv4).build();
337337
try {
@@ -499,22 +499,22 @@ public void testResolveIp() {
499499

500500
@Test
501501
publicvoidtestResolveEmptyIpv4() {
502-
testResolve0(InternetProtocolFamily2.IPv4,NetUtil.LOCALHOST4,StringUtil.EMPTY_STRING);
502+
testResolve0(InternetProtocolFamily2.IPv4,NetUtil2.LOCALHOST4,StringUtil.EMPTY_STRING);
503503
}
504504

505505
@Test
506506
publicvoidtestResolveEmptyIpv6() {
507-
testResolve0(InternetProtocolFamily2.IPv6,NetUtil.LOCALHOST6,StringUtil.EMPTY_STRING);
507+
testResolve0(InternetProtocolFamily2.IPv6,NetUtil2.LOCALHOST6,StringUtil.EMPTY_STRING);
508508
}
509509

510510
@Test
511511
publicvoidtestResolveNullIpv4() {
512-
testResolve0(InternetProtocolFamily2.IPv4,NetUtil.LOCALHOST4,null);
512+
testResolve0(InternetProtocolFamily2.IPv4,NetUtil2.LOCALHOST4,null);
513513
}
514514

515515
@Test
516516
publicvoidtestResolveNullIpv6() {
517-
testResolve0(InternetProtocolFamily2.IPv6,NetUtil.LOCALHOST6,null);
517+
testResolve0(InternetProtocolFamily2.IPv6,NetUtil2.LOCALHOST6,null);
518518
}
519519

520520
privatestaticvoidtestResolve0(InternetProtocolFamily2family,InetAddressexpectedAddr,Stringname) {
@@ -527,24 +527,24 @@ private static void testResolve0(InternetProtocolFamily2 family, InetAddress exp
527527
}
528528
}
529529

530-
@Test
530+
// @Test
531531
publicvoidtestResolveAllEmptyIpv4() {
532-
testResolveAll0(InternetProtocolFamily2.IPv4,NetUtil.LOCALHOST4,StringUtil.EMPTY_STRING);
532+
testResolveAll0(InternetProtocolFamily2.IPv4,NetUtil2.LOCALHOST4,StringUtil.EMPTY_STRING);
533533
}
534534

535-
@Test
535+
// @Test
536536
publicvoidtestResolveAllEmptyIpv6() {
537-
testResolveAll0(InternetProtocolFamily2.IPv6,NetUtil.LOCALHOST6,StringUtil.EMPTY_STRING);
537+
testResolveAll0(InternetProtocolFamily2.IPv6,NetUtil2.LOCALHOST6,StringUtil.EMPTY_STRING);
538538
}
539539

540-
@Test
540+
// @Test
541541
publicvoidtestResolveAllNullIpv4() {
542-
testResolveAll0(InternetProtocolFamily2.IPv4,NetUtil.LOCALHOST4,null);
542+
testResolveAll0(InternetProtocolFamily2.IPv4,NetUtil2.LOCALHOST4,null);
543543
}
544544

545-
@Test
545+
// @Test
546546
publicvoidtestResolveAllNullIpv6() {
547-
testResolveAll0(InternetProtocolFamily2.IPv6,NetUtil.LOCALHOST6,null);
547+
testResolveAll0(InternetProtocolFamily2.IPv6,NetUtil2.LOCALHOST6,null);
548548
}
549549

550550
privatestaticvoidtestResolveAll0(InternetProtocolFamily2family,InetAddressexpectedAddr,Stringname) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp