Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 153 for gitattributes (0.05 sec)

  1. 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.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. 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();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. 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());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/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());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 1.2K bytes
    - Viewed (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`) || '▋';
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:32:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            when(mockFile1.length()).thenReturn(2048L);
            when(mockFile1.lastModified()).thenReturn(System.currentTimeMillis() - 3600000);
            when(mockFile1.isDirectory()).thenReturn(false);
            when(mockFile1.getAttributes()).thenReturn(0x20); // FILE_ATTRIBUTE_ARCHIVE
            when(mockFile1.createTime()).thenReturn(System.currentTimeMillis() - 7200000);
            when(mockFile1.lastAccess()).thenReturn(System.currentTimeMillis() - 1800000);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

        }
    
        /**
         * Test of getAttributes method, of class SmbShareInfo.
         */
        @Test
        void testGetAttributes() {
            SmbShareInfo instance = new SmbShareInfo();
            int expResult = SmbFile.ATTR_READONLY | SmbFile.ATTR_DIRECTORY;
            int result = instance.getAttributes();
            assertEquals(expResult, result);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top