Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 840 for verifyCn (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

        }
    
        /**
         * Verify that root causes are stored and returned correctly.
         */
        @Test
        @DisplayName("Root cause propagation")
        void testRootCausePropagation() {
            Throwable root = mock(Throwable.class);
            SmbException ex = new SmbException(0, root);
            assertSame(root, ex.getRootCause());
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.sendFrame().settings(Settings())
        peer.acceptFrame() // ACK
        peer.sendFrame().ping(false, 2, 3)
        peer.acceptFrame() // PING
        peer.play()
    
        // Play it back.
        connect(peer)
    
        // Verify the peer received what was expected.
        val ping = peer.takeFrame()
        assertThat(ping.type).isEqualTo(Http2.TYPE_PING)
        assertThat(ping.streamId).isEqualTo(0)
        assertThat(ping.payload1).isEqualTo(2)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            getMockRequest().setAttribute(Constants.FIELD_LOGS, new HashMap<String, List<String>>());
            queryContext = new QueryContext("test", true);
            assertEquals("test", queryContext.getQueryString());
    
            // Verify that highlighting and field log are initialized
            assertNotNull(getMockRequest().getAttribute(Constants.HIGHLIGHT_QUERIES));
            assertNotNull(getMockRequest().getAttribute(Constants.FIELD_LOGS));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

            params.put("key2", "value2");
    
            IndexUpdateCallback callback = new TestIndexUpdateCallback();
    
            // Execute store method
            dataStore.store(config, callback, params);
    
            // Verify store was called
            assertTrue(storeCalled.get());
            assertNotNull(capturedConfig.get());
            assertEquals("test-config", capturedConfig.get().getName());
            assertNotNull(capturedCallback.get());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. cmd/signature-v4-parser.go

    func parsePreSignV4(query url.Values, region string, stype serviceType) (psv preSignValues, aec APIErrorCode) {
    	// verify whether the required query params exist.
    	aec = doesV4PresignParamsExist(query)
    	if aec != ErrNone {
    		return psv, aec
    	}
    
    	// Verify if the query algorithm is supported or not.
    	if query.Get(xhttp.AmzAlgorithm) != signV4Algorithm {
    		return psv, ErrInvalidQuerySignatureAlgo
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                when(mockConfig.isRequireSecureNegotiate()).thenReturn(true);
                when(mockDigest.verify(buffer, 0, 100, 0, response)).thenReturn(false);
    
                boolean result = response.verifySignature(buffer, 0, 100);
    
                assertTrue(result);
                verify(mockDigest).verify(buffer, 0, 100, 0, response);
            }
        }
    
        @Nested
        @DisplayName("Expiration Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            // Verify all methods were called
            verify(mockBasicFileInfo).getAttributes();
            verify(mockBasicFileInfo).getCreateTime();
            verify(mockBasicFileInfo).getLastWriteTime();
            verify(mockBasicFileInfo).getLastAccessTime();
            verify(mockBasicFileInfo).getSize();
            verify(mockBasicFileInfo).getFileInformationLevel();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            ServerMessageBlock response = new SmbComOpenAndXResponse();
    
            // Execute send
            tree.send(request, response);
    
            // Verify session.send was called and tid was set
            verify(session).send(request, response);
            assertEquals(123, request.tid);
        }
    
        @Test
        void testSendWithDfs() throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            UnsupportedSearchException exception = new UnsupportedSearchException("test message");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify the stack trace contains this test method
            boolean foundTestMethod = false;
            for (StackTraceElement element : exception.getStackTrace()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbTreeHandleTest.java

         * @throws CIFSException
         */
        @Test
        void testClose() throws CIFSException {
            smbTreeHandle.close();
            // Verify that close() was called on the mock
            verify(smbTreeHandle).close();
        }
    
        /**
         * Test for close() method throwing CIFSException.
         * Verifies that the method correctly throws a CIFSException when configured to do so.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top