Lines Matching defs:TestUtils
128 SSLContext context = TestUtils.getSSLContext(testSource);
129 TestUtils.assertConnectionFails(context, "android.com", 443);
138 SSLContext context = TestUtils.getSSLContext(new TestConfigSource(domainMap, defaultConfig));
139 TestUtils.assertConnectionFails(context, "android.com", 443);
140 TestUtils.assertConnectionSucceeds(context, "google.com", 443);
156 = TestUtils.getSSLContext(new TestConfigSource(domainMap, getSystemStoreConfig()));
157 TestUtils.assertConnectionFails(context, "android.com", 443);
158 TestUtils.assertConnectionSucceeds(context, "google.com", 443);
174 = TestUtils.getSSLContext(new TestConfigSource(domainMap, getEmptyConfig()));
175 TestUtils.assertConnectionSucceeds(context, "android.com", 443);
176 TestUtils.assertConnectionSucceeds(context, "developer.android.com", 443);
193 = TestUtils.getSSLContext(new TestConfigSource(domainMap, getEmptyConfig()));
194 TestUtils.assertConnectionSucceeds(context, "android.com", 443);
205 = TestUtils.getSSLContext(new TestConfigSource(domainMap, getEmptyConfig()));
206 TestUtils.assertConnectionFails(context, "android.com", 443);
207 TestUtils.assertConnectionSucceeds(context, "developer.android.com", 443);
217 = TestUtils.getSSLContext(new TestConfigSource(domainMap, getEmptyConfig()));
218 TestUtils.assertConnectionSucceeds(context, "developer.android.com", 443);
223 context = TestUtils.getSSLContext(new TestConfigSource(domainMap, getEmptyConfig()));
224 TestUtils.assertConnectionFails(context, "developer.android.com", 443);
259 = TestUtils.getSSLContext(new TestConfigSource(domainMap, getEmptyConfig()));
260 TestUtils.assertUrlConnectionSucceeds(context, "android.com", 443);
261 TestUtils.assertUrlConnectionSucceeds(context, "developer.android.com", 443);
262 TestUtils.assertUrlConnectionFails(context, "google.com", 443);