- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for somehost (0.07 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java
@Test void testExternalURL() { assertTrue(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "http://somehost"))); assertTrue(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "http://somehost:9090/somepath"))); assertTrue(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "ftp://somehost"))); assertTrue(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "http://192.168.101.1")));
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
} @Test void shouldReturnSmbServerNameWhenInetAddressAndCalledNameIsNotSmbServerName() throws UnknownHostException { when(mockInetAddress.getHostName()).thenReturn("somehost"); UniAddress uniAddress = new UniAddress(mockInetAddress); uniAddress.firstCalledName(); // Initialize calledName
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.4K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
// results in an IOException, as no default handler should be found. assertThrows(IOException.class, () -> { handler.openConnection(new URL("unknownprotocol://somehost/path")); }, "Should throw IOException for an unknown protocol."); } @Test void testSetURLStreamHandlerFactory_SuccessFirstTime() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
Interceptor { chain: Interceptor.Chain -> val address = chain.connection()!!.route().address val sameHost = address.url.host val differentPort = address.url.port + 1 chain.proceed( chain .request() .newBuilder() .url("http://$sameHost:$differentPort/") .build(), ) } client = client
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 28.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StringsTest.java
} public void testPadStart_negativeMinLength() { assertSame("x", Strings.padStart("x", -1, '-')); } // TODO: could remove if we got NPT working in GWT somehow public void testPadStart_null() { assertThrows(NullPointerException.class, () -> Strings.padStart(null, 5, '0')); } public void testPadEnd_noPadding() { assertSame("", Strings.padEnd("", 0, '-'));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 27 17:53:41 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
interrupted = true; } } } finally { if (interrupted) { Thread.currentThread().interrupt(); } } } // TODO(user): Support Sleeper somehow (wrapper or interface method)? /** * Invokes {@code unit.}{@link TimeUnit#sleep(long) sleep(sleepFor)} uninterruptibly. * * @since 33.4.0 (but since 28.0 in the JRE flavor) */ @J2ktIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
* classes can be chained onto them without casting. * @param <G> The type of the generator to be passed to testers in the generated test suite. An * instance of G should somehow provide an instance of the class under test, plus any other * information required to parameterize the test. * @author George van den Driessche */ @GwtIncompatible public abstract class FeatureSpecificTestSuiteBuilder<
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* ... * } * </pre> * * <p>No cascading checks are performed against the return values of methods unless the method is a * static factory method. Neither are semantics of mutation methods such as {@code * someList.add(obj)} checked. For more detailed discussion of supported and unsupported cases, see * {@link #testEquals}, {@link #testNulls} and {@link #testSerializable}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
if (lowerBounds.length == 0) { // ? extends something changes to capture-of return captureAsTypeVariable(wildcardType.getUpperBounds()); } else { // TODO(benyu): handle ? super T somehow. return type; } } throw new AssertionError("must have been one of the known types"); } TypeVariable<?> captureAsTypeVariable(Type[] upperBounds) { String name =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
android/pom.xml
--> <surefire.toolchain.version>${java.specification.version}</surefire.toolchain.version> <!-- Override this with -Dtest.include="**/SomeTest.java" on the CLI --> <test.include>%regex[.*.class]</test.include> <truth.version>1.4.4</truth.version> <jspecify.version>1.0.0</jspecify.version> <errorprone.version>2.41.0</errorprone.version>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 21:35:58 UTC 2025 - 24.3K bytes - Viewed (0)