Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 148 for gitattributes (0.09 seconds)

  1. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            assertEquals(original.getLastAccessTime(), decoded.getLastAccessTime());
            assertEquals(original.getLastWriteTime(), decoded.getLastWriteTime());
            assertEquals(original.getAttributes(), decoded.getAttributes());
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() {
            FileBasicInfo info =
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

            Mockito.when(mock.getAttributes()).thenReturn(7);
            Mockito.when(mock.getCreateTime()).thenReturn(11L);
            Mockito.when(mock.getLastWriteTime()).thenReturn(13L);
            Mockito.when(mock.getLastAccessTime()).thenReturn(17L);
            Mockito.when(mock.getSize()).thenReturn(19L);
    
            // Act: invoke each method once
            int attributes = mock.getAttributes();
            long c = mock.getCreateTime();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/pac/PacSidAttributesTest.java

        }
    
        /**
         * Test method for {@link jcifs.pac.PacSidAttributes#getAttributes()}.
         */
        @Test
        void testGetAttributes() {
            // Test the getAttributes method
            assertEquals(attributes, pacSidAttributes.getAttributes(), "getAttributes should return the correct attributes.");
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/FileEntryTest.java

                    Arguments.of((IntGetter) FileEntry::getType, Integer.MAX_VALUE, "max type"),
    
                    Arguments.of((IntGetter) FileEntry::getAttributes, 0, "no attributes"),
                    Arguments.of((IntGetter) FileEntry::getAttributes, 0xFFFF, "many attributes"),
    
                    Arguments.of((IntGetter) FileEntry::getFileIndex, -5, "negative index"),
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                // Verify interactions
                assertEquals(0x20, response.info.getAttributes());
                assertEquals(1024L, response.info.getSize());
                assertEquals(1000000L, response.info.getCreateTime());
                assertEquals(2000000L, response.info.getLastWriteTime());
    
                // Verify the mock was called
                verify(mockInfo).getAttributes();
                verify(mockInfo).getSize();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/DosFileFilterTest.java

         * {@link SmbFile#getAttributes()} throws it.
         * @throws SmbException if an SMB error occurs.
         */
        @Test
        void testAccept_ThrowsSmbException() throws SmbException {
            // Given a filter
            dosFileFilter = new DosFileFilter("*.*", SmbFile.ATTR_ARCHIVE);
            // and a mock file that throws an exception when getAttributes is called
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java

            when(file.getAttributes()).thenReturn(SmbFile.ATTR_NORMAL);
            assertTrue(filter.accept(file), "Attributes match should be accepted");
            verify(file, times(1)).getAttributes();
        }
    
        @Test
        public void testAcceptReturnsFalseWhenAttributesDoNotMatch() throws Exception {
            SmbFile file = mock(SmbFile.class);
            when(file.getAttributes()).thenReturn(SmbFile.ATTR_HIDDEN);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. docs/en/docs/js/termynal.js

            this.progressChar = options.progressChar
                || this.container.getAttribute(`${this.pfx}-progressChar`) || '█';
    		this.progressPercent = options.progressPercent
                || parseFloat(this.container.getAttribute(`${this.pfx}-progressPercent`)) || 100;
            this.cursor = options.cursor
                || this.container.getAttribute(`${this.pfx}-cursor`) || '▋';
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:32:57 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            assertEquals(SmbConstants.TYPE_SHARE, info.getType());
        }
    
        @Test
        @DisplayName("Test getAttributes always returns readonly directory")
        void testGetAttributes() {
            // Default instance
            assertEquals(SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY, shareInfo.getAttributes());
    
            // Instance with values - attributes are still constant
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. src/main/webapp/WEB-INF/orig/view/error/redirect.jsp

    <% 
    Integer statusCode = (Integer)request.getAttribute("jakarta.servlet.error.status_code");
    String servletName = (String)request.getAttribute("jakarta.servlet.error.servlet_name");
    String requestUri = (String)request.getAttribute("jakarta.servlet.error.request_uri");
    String type = request.getParameter("type");
    StringBuilder redirectPage = new StringBuilder();
    redirectPage.append(((jakarta.servlet.http.HttpServletRequest)request).getContextPath());
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 23 06:18:48 GMT 2023
    - 1.2K bytes
    - Click Count (0)
Back to Top