- Sort Score
- Result 10 results
- Languages All
Results 831 - 840 of 6,957 for Glass (0.06 sec)
-
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
public void testNotInterfaceType() { assertThrows( IllegalArgumentException.class, () -> new ForwardingWrapperTester() .testForwarding(String.class, Functions.<String>identity())); } public void testNulls() { new NullPointerTester() .setDefault(Class.class, Runnable.class) .testAllPublicInstanceMethods(new ForwardingWrapperTester()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0) -
src/main/webapp/WEB-INF/web.xml
<filter-class>org.codelibs.fess.filter.CorsFilter</filter-class> </filter> <filter> <filter-name>webApiFilter</filter-name> <filter-class>org.codelibs.fess.filter.WebApiFilter</filter-class> </filter> <filter> <filter-name>lastaPrepareFilter</filter-name> <filter-class>org.lastaflute.web.servlet.filter.LastaPrepareFilter</filter-class> </filter> <filter>
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue May 06 09:19:22 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java
// Use reflection to access private method for testing Exception exception = assertThrows(Exception.class, () -> { java.lang.reflect.Method method = MultiChannelManager.class.getDeclaredMethod("createChannelTransport", InetAddress.class, InetAddress.class); method.setAccessible(true); method.invoke(multiChannelManager, null, null); });Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
ArgumentCaptor<Smb2ReadRequest> cap = ArgumentCaptor.forClass(Smb2ReadRequest.class); verify(mockTree).send(cap.capture(), any(RequestParam.class)); Smb2ReadRequest req = cap.getValue(); // Reflectively inspect the private 'offset' field to assert it used the advanced fp Field offField = Smb2ReadRequest.class.getDeclaredField("offset"); offField.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/NameServiceClientTest.java
} @Test void testGetNbtAllByAddress_NetbiosAddress() throws UnknownHostException { // Arrange NetbiosAddress inputAddress = mock(NetbiosAddress.class); NetbiosAddress[] expectedAddresses = { mock(NetbiosAddress.class), mock(NetbiosAddress.class) }; when(nameServiceClient.getNbtAllByAddress(inputAddress)).thenReturn(expectedAddresses); // ActRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt
.url("https://square.com") val requestA = builder.tag(String::class, "a").build() val requestB = builder.tag(String::class, "b").build() val requestC = requestA.newBuilder().tag(String::class, "c").build() assertThat(requestA.tag(String::class)).isSameAs("a") assertThat(requestB.tag(String::class)).isSameAs("b") assertThat(requestC.tag(String::class)).isSameAs("c") } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
checkSerialization(Predicates.instanceOf(Integer.class)); } @J2ktIncompatible @GwtIncompatible // Predicates.subtypeOf public void testSubtypeOf_apply() { Predicate<Class<?>> isInteger = Predicates.subtypeOf(Integer.class); assertTrue(isInteger.apply(Integer.class)); assertFalse(isInteger.apply(Float.class)); assertThrows(NullPointerException.class, () -> isInteger.apply(null)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 32.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Enums.java
* Enums.getIfPresent(Country.class, countryInput).or(Country.DEFAULT);} * * @since 12.0 */ public static <T extends Enum<T>> Optional<T> getIfPresent(Class<T> enumClass, String value) { checkNotNull(enumClass); checkNotNull(value); return Platform.getEnumIfPresent(enumClass, value); } private static final Map<Class<? extends Enum<?>>, Map<String, WeakReference<? extends Enum<?>>>>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 13:41:58 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
/** * Unit tests for {@link NtlmChallenge}. */ class NtlmChallengeTest { @Nested @DisplayName("Constructor and Field Tests") class ConstructorTests { @Test @DisplayName("Constructor sets fields correctly") void testConstructorSetsFields() { byte[] challenge = new byte[] { 1, 2, 3 }; UniAddress dc = mock(UniAddress.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
byte[] buf = new byte[] { 1, 2, 3 }; assertThrows(CIFSException.class, () -> ctx.initSecContext(buf, -1, 1)); assertThrows(CIFSException.class, () -> ctx.initSecContext(buf, 0, -1)); assertThrows(CIFSException.class, () -> ctx.initSecContext(buf, 3, 1)); assertThrows(CIFSException.class, () -> ctx.initSecContext(buf, 2, 2)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0)