- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 151 for gitattributes (0.16 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)