Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1001 - 1010 of 7,978 for isclass (0.07 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

            ConcurrentModificationException.class,
            () -> {
              Iterator<E> iterator = collection.iterator();
              assertTrue(collection.add(e3()));
              iterator.next();
            });
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAdd_nullSupported()} so that tests of
       * {@link java.util.Collections#checkedCollection(java.util.Collection, Class)} can suppress it
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

            ConcurrentModificationException.class,
            () -> {
              Iterator<E> iterator = collection.iterator();
              assertTrue(collection.add(e3()));
              iterator.next();
            });
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAdd_nullSupported()} so that tests of
       * {@link java.util.Collections#checkedCollection(java.util.Collection, Class)} can suppress it
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

        assertThat(eventRecorder.recordedEventTypes().filter { it == ConnectStart::class }).hasSize(2)
        assertThat(eventRecorder.recordedEventTypes().filter { it == ConnectFailed::class }).hasSize(1)
        assertThat(eventRecorder.recordedEventTypes().filter { it == ConnectEnd::class }).hasSize(1)
      }
    
      @Test
      fun reachesIpv6WhenIpv4IsDown() {
        serverIpv4.close()
        serverIpv6.enqueue(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/exception/MethodNotFoundRuntimeException.java

            return methodName;
        }
    
        /**
         * Returns the array of {@link Class} for the method arguments.
         *
         * @return Array of {@link Class} for the method arguments
         */
        public Class<?>[] getMethodArgClasses() {
            return methodArgClasses;
        }
    
        private static Class<?>[] toClassArray(final Object... methodArgs) {
            if (methodArgs == null) {
                return null;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

            }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarClose.class));
    
            // Act
            handle.close();
    
            // Assert
            // Verify sendrecv was called once for open and once for close
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarClose.class));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        ImmutableDoubleArray iia = ImmutableDoubleArray.of(0, 1, 3);
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(-1));
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(3));
    
        ImmutableDoubleArray sub = iia.subArray(1, 2);
        assertThrows(IndexOutOfBoundsException.class, () -> sub.get(-1));
      }
    
      public void testIndexOf() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

     *       the correct argument.</li>
     *   <li>passing {@code null} throws {@link NullPointerException}.
     * </ul>
     *
     * The buffer is created with enough capacity for a 64‑bit value.
     */
    @ExtendWith(MockitoExtension.class)
    public class NdrHyperTest {
    
        /**
         * Tests a simple round‑trip encode → decode retains the original value.
         */
        @Test
        @DisplayName("Basic round‑trip for a fixed value")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

        void testRenewCredentials_WithSmbAuthException() {
            SmbAuthException mockSmbAuthException = mock(SmbAuthException.class);
            try (MockedStatic<NtlmAuthenticator> mockedNtlmAuthenticator = mockStatic(NtlmAuthenticator.class)) {
                mockedNtlmAuthenticator.when(NtlmAuthenticator::getDefault).thenReturn(mockNtlmAuthenticator);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

    import static org.mockito.Mockito.doAnswer;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    /**
     * Utility class for creating test fixtures and reducing code duplication in tests.
     */
    public final class TestUtils {
    
        private TestUtils() {
            // Utility class
        }
    
        /**
         * Creates a mock UpgradeContext with default settings.
         *
         * @return a mock UpgradeContext
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

    import jcifs.internal.CommonServerMessageBlockResponse;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Strings;
    
    /**
     * Test class for ServerMessageBlock
     */
    class ServerMessageBlockTest {
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
        private SMB1SigningDigest mockDigest;
    
        @Mock
        private ServerMessageBlock mockResponse;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top