Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 139 for setAttributes (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/main/java/org/codelibs/fess/util/WebApiUtil.java

         * @param name The attribute name
         * @param value The attribute value
         */
        public static void setObject(final String name, final Object value) {
            LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(name, value));
        }
    
        /**
         * Gets an object from the current request attributes.
         *
         * @param <T> The type of the object
         * @param name The attribute name
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K 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. docs/en/docs/js/termynal.js

                this.container.appendChild(line)
            }
            const restart = this.generateRestart()
            restart.style.visibility = 'hidden'
            this.container.appendChild(restart)
            this.container.setAttribute('data-termynal', '');
        }
    
        /**
         * Initialise the widget, get lines, clear container and start animation.
         */
        init() {
            /**
             * Calculates width and height of Termynal container.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:32:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NtlmServletTest.java

                ntlmServlet.service(request, response);
    
                // Verify that user information is stored in the session
                verify(session).setAttribute("NtlmHttpAuth", ntlmAuth);
                verify(session).setAttribute("ntlmuser", "user");
                verify(session).setAttribute("ntlmdomain", "TEST_DOMAIN");
    
                // Verify that the chain continues
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            assertEquals("title", queryContext.getDefaultField());
        }
    
        // Test constructor with isQuery true (with request context)
        public void test_constructor_isQueryTrue() {
            getMockRequest().setAttribute(Constants.FIELD_LOGS, new HashMap<String, List<String>>());
            queryContext = new QueryContext("test", true);
            assertEquals("test", queryContext.getQueryString());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  9. src/main/webapp/js/bootstrap.min.js

    )=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),F.trigger(t,"shown.bs.tab",{relatedTarget:e})):t.classList.add(Xe)}),t,t.classList.contains(Qe)))}_deactivate(t,e){t&&(t.classList.remove(Ve),t.blur(),this._deactivate(K.getElementFromSelector(t)),this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),F.trigger(t,"hidden.bs....
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 58.9K bytes
    - Viewed (0)
  10. 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)
Back to top