Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 151 for gitattributes (0.06 sec)

  1. src/test/java/jcifs/SmbResourceTest.java

            @Test
            @DisplayName("getAttributes should return file attributes")
            void testGetAttributes() throws CIFSException {
                // Given
                int expectedAttributes = 0x20; // FILE_ATTRIBUTE_ARCHIVE
                when(mockResource.getAttributes()).thenReturn(expectedAttributes);
    
                // When
                int attributes = mockResource.getAttributes();
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/user/exentity/Role.java

            asDocMeta().id(id);
        }
    
        @Override
        public String toString() {
            return "Role [name=" + name + "]";
        }
    
        public Map<String, String> getAttributes() {
            return attributes;
        }
    
        public void setAttributes(final Map<String, String> attributes) {
            this.attributes = attributes;
        }
    
        @Override
        public Map<String, Object> toSource() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/user/exentity/User.java

        }
    
        @Override
        public boolean isEditable() {
            return true;
        }
    
        public Map<String, String> getAttributes() {
            return attributes;
        }
    
        public void setAttributes(final Map<String, String> attributes) {
            this.attributes = attributes;
        }
    
        @Override
        public Map<String, Object> toSource() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbResource.java

         * <code>setAttributes( getAttributes() &amp; ~ATTR_READONLY )</code>.
         *
         * @throws CIFSException if an error occurs modifying the resource
         */
        void setReadWrite() throws CIFSException;
    
        /**
         * Make this file read-only. This is shorthand for <code>setAttributes(
         * getAttributes() | ATTR_READ_ONLY )</code>.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  5. 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();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. 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"),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacGroupTest.java

        }
    
        /**
         * Test method for {@link jcifs.pac.PacGroup#getAttributes()}.
         */
        @Test
        void testGetAttributes() {
            // Test the getAttributes method
            assertEquals(attributes, pacGroup.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.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            assertEquals(originalInfo.getLastAccessTime(), decodedInfo.getLastAccessTime());
            assertEquals(originalInfo.getLastWriteTime(), decodedInfo.getLastWriteTime());
            assertEquals(originalInfo.getAttributes(), decodedInfo.getAttributes());
        }
    
        @Test
        @DisplayName("Test with various attribute flags")
        void testWithVariousAttributeFlags() {
            // Test common file attribute combinations
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. 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)
  10. 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 =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top