Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 153 for gitattributes (0.06 sec)

  1. src/test/java/jcifs/smb/SmbCopyUtilTest.java

                    .thenReturn(handle); // second attempt succeeds
    
            // dest currently has READONLY attribute set
            int currentAttrs = SmbConstants.ATTR_READONLY | SmbConstants.ATTR_ARCHIVE;
            when(dest.getAttributes()).thenReturn(currentAttrs);
    
            int desiredAttrs = SmbConstants.ATTR_NORMAL;
    
            // Act
            SmbFileHandleImpl result = SmbCopyUtil.openCopyTargetFile(dest, desiredAttrs, false);
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbCopyUtil.java

                    dest.mkdir();
                    if (dh.hasCapability(SmbConstants.CAP_NT_SMBS)) {
                        dest.setPathInformation(src.getAttributes(), src.createTime(), src.lastModified(), src.lastAccess());
                    } else {
                        dest.setPathInformation(src.getAttributes(), 0L, src.lastModified(), 0L);
                    }
                } catch (final SmbUnsupportedOperationException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java

        public final int getFileAttributes() {
            return this.fileAttributes;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getAttributes()
         */
        @Override
        public int getAttributes() {
            return getFileAttributes();
        }
    
        /**
         * Gets the file type.
         *
         * @return the fileType
         */
        public final int getFileType() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

            when(mock.getType()).thenReturn(1);
            when(mock.getAttributes()).thenReturn(128);
            when(mock.createTime()).thenReturn(1_500L);
            when(mock.lastModified()).thenReturn(1_800L);
            when(mock.length()).thenReturn(100L);
    
            assertEquals("test.txt", mock.getName());
            assertEquals(1, mock.getType());
            assertEquals(128, mock.getAttributes());
            assertEquals(1_500L, mock.createTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            when(request.getHeader("Authorization")).thenReturn(authHeader);
            when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null);
            when(httpSession.getAttribute("NtlmHttpChal")).thenReturn(null);
    
            // For this test, we'll simulate that no auth header means we should challenge
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/http/NetworkExplorerTest.java

            lenient().when(request.getSession(true)).thenReturn(session);
    
            // Setup default session attribute behavior
            lenient().when(session.getAttribute(anyString())).thenReturn(null);
    
            // Setup SmbFile mock
            lenient().when(smbFile.getLocator()).thenReturn(locator);
            lenient().when(locator.getCanonicalURL()).thenReturn("smb://server/share/");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            assertEquals("test", queryContext.getQueryString());
    
            // Verify that highlighting and field log are initialized
            assertNotNull(getMockRequest().getAttribute(Constants.HIGHLIGHT_QUERIES));
            assertNotNull(getMockRequest().getAttribute(Constants.FIELD_LOGS));
        }
    
        // Test constructor with isQuery true and no existing field logs
        public void test_constructor_isQueryTrueNoExistingFieldLogs() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            assertEquals(serverTimeZoneOffset, response.getLastWriteTime());
        }
    
        /**
         * Test of getAttributes method, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testGetAttributes() {
            // Initially, attributes should be 0.
            assertEquals(0, response.getAttributes());
        }
    
        /**
         * Test of getCreateTime method, of class SmbComQueryInformationResponse.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify
            assertEquals(expectedFilename, fileBothDirectoryInfo.getFilename());
        }
    
        @Test
        @DisplayName("Test getAttributes returns correct attributes")
        void testGetAttributes() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java

            long createTime;
            long lastAccessTime;
            long lastWriteTime;
            long changeTime;
            int attributes;
    
            @Override
            public int getAttributes() {
                return attributes;
            }
    
            @Override
            public long getCreateTime() {
                return createTime;
            }
    
            @Override
            public long getLastWriteTime() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top