@Test public void xmppClientDomainDNSJavaTest() { DNSResolver resolver = DNSJavaResolver.getInstance(); assertNotNull(resolver); DNSUtil.setDNSResolver(resolver); xmppClientDomainTest(); }
@Test public void xmppServerDomainDNSJavaTest() { DNSResolver resolver = DNSJavaResolver.getInstance(); assertNotNull(resolver); DNSUtil.setDNSResolver(resolver); xmppServerDomainTest(); }
private SmackAndroid(Context ctx) { mCtx = ctx; DNSUtil.setDNSResolver(DNSJavaResolver.getInstance()); InitStaticCode.initStaticCode(ctx); ConfigureProviderManager.configureProviderManager(); maybeRegisterReceiver(); }