Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,009 for verify (0.06 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                // Verify source offset
                assertEquals(sourceOffset, SMBUtil.readInt8(buffer, startIndex));
    
                // Verify target offset
                assertEquals(targetOffset, SMBUtil.readInt8(buffer, startIndex + 8));
    
                // Verify length
                assertEquals(length, SMBUtil.readInt4(buffer, startIndex + 16));
    
                // Verify reserved bytes are zeros
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. cmd/xl-storage_unix_test.go

    		t.Fatalf("Initializing xlStorage failed with %s.", err)
    	}
    
    	// Attempt to create a volume to verify the permissions later.
    	// MakeVol creates directory with 0777 perms.
    	if err = disk.MakeVol(t.Context(), testCase.volName); err != nil {
    		t.Fatalf("Creating a volume failed with %s expected to pass.", err)
    	}
    
    	// Attempt to create a file to verify the permissions later.
    	// AppendFile creates file with 0666 perms.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            assertEquals(3, entries.length);
    
            // Verify disk share
            assertEquals("DiskShare", entries[0].getName());
            assertEquals(8, entries[0].getType()); // TYPE_SHARE
    
            // Verify printer share
            assertEquals("PrinterShare", entries[1].getName());
            assertEquals(32, entries[1].getType()); // TYPE_PRINTER (0x20)
    
            // Verify named pipe
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. cmd/signature-v4.go

    	// Get the encoded query.
    	encodedQuery := query.Encode()
    
    	// Verify if date query is same.
    	if req.Form.Get(xhttp.AmzDate) != query.Get(xhttp.AmzDate) {
    		return ErrSignatureDoesNotMatch
    	}
    	// Verify if expires query is same.
    	if req.Form.Get(xhttp.AmzExpires) != query.Get(xhttp.AmzExpires) {
    		return ErrSignatureDoesNotMatch
    	}
    	// Verify if signed headers query is same.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Dec 13 22:19:12 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            int dstIndex = 5; // Start at offset 5
            int bytesEncoded = fileInternalInfo.encode(destinationBuffer, dstIndex);
    
            // Verify
            assertEquals(8, bytesEncoded);
            assertEquals(expectedIndexNumber, SMBUtil.readInt8(destinationBuffer, dstIndex));
    
            // Verify surrounding bytes are untouched
            for (int i = 0; i < dstIndex; i++) {
                assertEquals(0, destinationBuffer[i]);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/RequestTest.java

            verify(request, times(1)).isResponseAsync();
            verify(request, times(1)).getNext();
            verify(request, times(1)).split();
            verify(request, times(1)).allowChain(nextRequest);
            verify(request, times(1)).createCancel();
            verify(request, times(1)).size();
            verify(request, times(1)).getOverrideTimeout();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacConstantsTest.java

         * This prevents accidental modification of these critical constants.
         */
        @Test
        void testConstantValues() {
            // Verify the PAC version
            assertEquals(0, PacConstants.PAC_VERSION, "PAC_VERSION should be 0");
    
            // Verify PAC buffer types
            assertEquals(1, PacConstants.LOGON_INFO, "LOGON_INFO should be 1");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java

            // Verify that the super constructor was called with the correct arguments
            // Note: Mockito cannot directly verify super constructor calls.
            // We assume if the object is created, the super constructor was called.
            // We can verify the state of the object after construction.
    
            // Verify ptype and flags are set correctly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

            assertFalse(iterator.hasNext(), "Should not have more elements");
    
            // Then
            verify(mockDelegate, times(3)).next();
            verify(mockFilter).accept(mockResource1);
            verify(mockFilter).accept(mockResource2);
            verify(mockFilter).accept(mockResource3);
        }
    
        /**
         * Test that adapt method is actually used by the iterator.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top