Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 2,990 for SHOULD (0.04 sec)

  1. src/main/java/jcifs/smb/SmbFileFilter.java

     * when listing directory contents in SMB shares.
     */
    public interface SmbFileFilter {
    
        /**
         * Tests whether the specified SMB file should be included in a file list.
         *
         * @param file the SMB file to test for inclusion
         * @return whether the given file should be included
         * @throws SmbException if an error occurs while accessing the file
         */
        boolean accept(SmbFile file) throws SmbException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFilenameFilter.java

     */
    public interface SmbFilenameFilter {
    
        /**
         * Tests whether the specified filename should be included in a file list.
         *
         * @param dir the directory containing the file
         * @param name the name of the file
         * @return whether the given filename should be included
         * @throws SmbException if an SMB error occurs during evaluation
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

            assertNotNull(res.getClasspath(), "null classpath after runtime transform");
            assertEquals(4, res.getClasspath().size(), "runtime classpath should have 4 entries");
    
            ArtifactMetadata md = res.getClasspath().get(3);
            assertEquals("1.1", md.getVersion(), "runtime artifact version should be 1.1");
        }
    
        // ------------------------------------------------------------------------------------------
        @Test
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            directoryLeaseManager.handleDirectoryChange(directoryPath, "file2.txt", DirectoryChangeNotifier.DirectoryChangeType.FILE_MODIFIED);
            assertFalse(entry.hasChild("file2.txt")); // Should be removed to force refresh
    
            // Test DIRECTORY_RENAMED - should invalidate entire cache
            entry.updateChild("file3.txt", 3072L, 3000L, false, 0x20, 700L, 1000L);
            entry.markComplete();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

        }
    
        @Test
        @DisplayName("Constructor with null file ID should accept null")
        void testConstructorWithNullFileId() {
            // Should not throw exception
            Smb2FlushRequest requestWithNull = new Smb2FlushRequest(mockConfig, null);
            assertNotNull(requestWithNull);
        }
    
        @Test
        @DisplayName("setFileId should update file ID")
        void testSetFileId() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

        private static final int TEST_FID = 0x1234;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Constructor should initialize with correct values")
        void testConstructor() {
            // Act
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID);
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java

            assertEquals(testMessage, exception.getMessage(), "The exception message should match the input message.");
        }
    
        /**
         * Test the NO_NULL_REF static field.
         * Ensures that the static field holds the expected string value.
         */
        @Test
        void testNoNullRefConstant() {
            assertNotNull(NdrException.NO_NULL_REF, "NO_NULL_REF constant should not be null.");
    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. api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheRetention.java

     *
     * @since 4.0.0
     */
    @Experimental
    public enum CacheRetention {
        /**
         * Data should be persisted across Maven invocations.
         * Suitable for:
         * - Dependency resolution results
         * - Compilation outputs
         * - Downloaded artifacts
         */
        PERSISTENT,
    
        /**
         * Data should be retained for the duration of the current Maven session.
         * Suitable for:
         * - Build-wide configuration
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            for (final String cmd : processedCommands) {
                assertFalse("Command should not contain ${url}", cmd.contains("${url}"));
                assertFalse("Command should not contain ${outputFile}", cmd.contains("${outputFile}"));
                assertTrue("Command should contain temp path", cmd.contains(tempPath));
                assertTrue("Command should contain output path", cmd.contains(outputPath));
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbTreeTest.java

            CustomSmbTree inner = middle.unwrap(CustomSmbTree.class);
    
            assertNotNull(middle, "Middle tree should not be null");
            assertNotNull(inner, "Inner tree should not be null");
            assertSame(middleTree, middle, "Should return correct middle tree");
            assertSame(innerTree, inner, "Should return correct inner tree");
        }
    
        /**
         * Test for unwrap with incompatible type.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
Back to top