- Sort Score
- Result 10 results
- Languages All
Results 941 - 950 of 6,958 for KClass (0.07 sec)
-
src/test/java/org/codelibs/core/lang/ClassIteratorTest.java
assertThat(it.hasNext(), is(true)); assertThat(it.next(), is(sameClass(Number.class))); assertThat(it.hasNext(), is(not(true))); } /** * @throws Exception */ @Test(expected = ClIllegalArgumentException.class) public void testInterface() throws Exception { new ClassIterator(Iterable.class); }Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
import org.junit.jupiter.params.provider.ArgumentsSource class FileSystemParamProvider : SimpleProvider() { override fun arguments() = listOf( FakeFileSystem().apply { emulateUnix() } to false, FileSystem.SYSTEM to TestUtil.windows, FakeFileSystem().apply { emulateWindows() } to true, ) } @Timeout(60) @Tag("Slow") class DiskLruCacheTest { private lateinit var filesystem: FaultyFileSystem
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 75.7K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
/** * Test class for {@link KerberosRelevantAuthData}. */ @ExtendWith(MockitoExtension.class) class KerberosRelevantAuthDataTest { private MockedStatic<KerberosAuthData> mockedStaticAuthData; @BeforeEach void setUp() { // Mock the static parse method of KerberosAuthData mockedStaticAuthData = mockStatic(KerberosAuthData.class); } @AfterEachRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
Field statusField = ServerMessageBlock2.class.getDeclaredField("status"); statusField.setAccessible(true); statusField.setInt(smb, status); } private void setAsync(ServerMessageBlock2 smb, boolean async) throws Exception { Field asyncField = ServerMessageBlock2.class.getDeclaredField("async"); asyncField.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
@Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) private @interface Empty {} @Generates Class<?> generateClass() { return pickInstance( ImmutableList.of( int.class, long.class, void.class, Object.class, Object[].class, Iterable.class), Object.class); } @Generates Object generateObject() { return generateString(); } @GeneratesRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.1K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Invokable.java
* which may be a subtype of the declaring class. For example: * * {@snippet : * Method getMethod = List.class.getMethod("get", int.class); * Invokable<List<String>, ?> invokable = new TypeToken<List<String>>() {}.method(getMethod); * assertEquals(TypeToken.of(String.class), invokable.getReturnType()); // Not Object.class! * assertEquals(new TypeToken<List<String>>() {}, invokable.getOwnerType()); * }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java
EnumBiMap<Currency, Country> bimap3 = EnumBiMap.create(emptyBimap); assertEquals(bimap3, emptyBimap); } @GwtIncompatible // keyType public void testKeyType() { EnumBiMap<Currency, Country> bimap = EnumBiMap.create(Currency.class, Country.class); assertEquals(Currency.class, bimap.keyType()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
import jcifs.internal.smb2.notify.Smb2ChangeNotifyRequest; /** * Tests for SmbWatchHandleImpl focusing on behavior and interactions. */ @ExtendWith(MockitoExtension.class) class SmbWatchHandleImplTest { @Mock SmbFileHandleImpl handle; @Mock SmbTreeHandleImpl tree; // Prepare SMB2 flow with a given responseRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
/** * Comprehensive test suite for NdrShort class * Tests construction, encoding, decoding, and edge cases */ @ExtendWith(MockitoExtension.class) @DisplayName("NdrShort Test Suite") class NdrShortTest { @Mock private NdrBuffer mockBuffer; @Nested @DisplayName("Constructor Tests") class ConstructorTests { @ParameterizedTestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0)