Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 869 for verifyCn (0.81 sec)

  1. src/test/java/jcifs/pac/PacGroupTest.java

            pacGroup = new PacGroup(mockSid, attributes);
        }
    
        /**
         * Test method for {@link jcifs.pac.PacGroup#PacGroup(jcifs.smb.SID, int)}.
         */
        @Test
        void testConstructor() {
            // Verify that the constructor correctly sets the id and attributes
            assertEquals(mockSid, pacGroup.getId(), "The SID should be correctly set in the constructor.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtStatusTest.java

     */
    @DisplayName("NtStatus Tests")
    class NtStatusTest {
    
        @Test
        @DisplayName("Should define well-known NT status constants")
        void testWellKnownStatusConstants() {
            // Verify important NT status constants are defined
            assertEquals(0x00000000, NtStatus.NT_STATUS_SUCCESS);
            assertEquals((int) 0xC0000022L, NtStatus.NT_STATUS_ACCESS_DENIED);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SSPContext.java

         */
        byte[] calculateMIC(byte[] data) throws CIFSException;
    
        /**
         * Verifies a Message Integrity Code (MIC) for the given data.
         * @param data the data to verify
         * @param mic the MIC to verify against
         * @throws CIFSException if the MIC verification fails or an error occurs
         */
        void verifyMIC(byte[] data, byte[] mic) throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SecurityBlobTest.java

        @Test
        @DisplayName("Mockito spy: verify set() interaction and resulting behavior")
        void spy_verifySetInteraction() {
            // Arrange
            byte[] payload = new byte[] { 5, 6 };
    
            // Act
            spyBlob.set(payload);
    
            // Assert
            verify(spyBlob, times(1)).set(payload);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/HandlerTest.java

            assertTrue(connection instanceof NtlmHttpURLConnection, "Connection must be wrapped in NtlmHttpURLConnection.");
    
            // Verify that our custom factory was indeed used.
            verify(mockFactory).createURLStreamHandler("http");
        }
    
        @Test
        void testOpenConnection_WithSystemPropertyHandler_SkipsJcifsPackage() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

        // Test insert method
        public void test_insert() {
            loadTestData();
    
            StopwordsItem newItem = new StopwordsItem(0, "test");
            stopwordsFile.insert(newItem);
    
            // Verify the item was added
            boolean found = false;
            for (StopwordsItem item : stopwordsFile.stopwordsItemList) {
                if ("test".equals(item.getInput())) {
                    found = true;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. cmd/streaming-signature-v4.go

    //
    // Then we read the signature and payload data. We compute the SHA256 checksum
    // of the payload and verify that it matches the expected signature value.
    //
    // The last chunk is *always* 0-sized. So, we must only return io.EOF if we have encountered
    // a chunk with a chunk size = 0. However, this chunk still has a signature and we must
    // verify it.
    const maxChunkSize = 16 << 20 // 16 MiB
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

            errorResponse.status(Status.BAD_REQUEST);
            ApiResult result = errorResponse.result();
    
            assertNotNull(result);
            // Cannot directly access protected fields, just verify the result is not null
        }
    
        // Test configuration for JSON response
        public void test_configurationSettings() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. pom.xml

    				</executions>
    			</plugin>
    			<plugin>
    				<groupId>org.apache.rat</groupId>
    				<artifactId>apache-rat-plugin</artifactId>
    				<version>0.16.1</version>
    				<executions>
    					<execution>
    						<phase>verify</phase>
    						<goals>
    							<goal>check</goal>
    						</goals>
    					</execution>
    				</executions>
    				<configuration>
    					<addDefaultLicenseMatchers>true</addDefaultLicenseMatchers>
    					<excludes>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top