Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,508 for should (0.13 sec)

  1. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java

        /**
         * Indicates whether Maven should never fail the build, regardless of project result.
         *
         * @return an {@link Optional} containing true if the build should never fail, false if it should fail normally, or empty if not specified
         */
        @Nonnull
        Optional<Boolean> failNever();
    
        /**
         * Indicates whether Maven should resume from the last failed project in a previous build.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            assertTrue(infoString.contains("alloc=1000"), "toString should contain alloc");
            assertTrue(infoString.contains("free=500"), "toString should contain free");
            assertTrue(infoString.contains("sectPerAlloc=100"), "toString should contain sectPerAlloc");
            assertTrue(infoString.contains("bytesPerSect=512"), "toString should contain bytesPerSect");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            assertEquals((int) offset, getFieldValue(write, "offset"), "Offset should be updated");
            assertEquals(remaining, getFieldValue(write, "remaining"), "Remaining should be updated");
            assertEquals(buffer, getFieldValue(write, "b"), "Buffer should be updated");
            assertEquals(off, getFieldValue(write, "off"), "Off should be updated");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        @Test
        @DisplayName("Constructor with null file ID should accept null")
        void testConstructorWithNullFileId() {
            // Should not throw exception
            Smb2CloseRequest requestWithNull = new Smb2CloseRequest(mockConfig, null, testFileName);
            assertNotNull(requestWithNull);
        }
    
        @Test
        @DisplayName("Constructor with null fileName should accept null")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            assertEquals(4, written, "Setup should write 4 bytes");
            assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, dst[0], "First byte should be subCommand");
            assertEquals(0, dst[1], "Second byte should be 0");
            assertEquals(0, dst[2], "Third byte should be 0 (no FID)");
            assertEquals(0, dst[3], "Fourth byte should be 0 (no FID)");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

            }
    
            @Test
            @DisplayName("DCERPC_LAST_FRAG should have correct value")
            void testDcerpcLastFrag() {
                assertEquals(0x02, DcerpcConstants.DCERPC_LAST_FRAG, "DCERPC_LAST_FRAG should be 0x02");
            }
    
            @Test
            @DisplayName("DCERPC_PENDING_CANCEL should have correct value")
            void testDcerpcPendingCancel() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

            assertEquals(SmbComTransaction.SMB_COM_TRANSACTION2, cmd.command, "command should be TRANSACTION2");
            assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, cmd.subCommand, "subCommand should be QUERY_FS_INFORMATION");
            // the fields are set in the constructor – check that the counts match
            assertEquals(2, cmd.totalParameterCount, "totalParameterCount should be 2");
            assertEquals(0, cmd.totalDataCount, "totalDataCount should be 0");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

            }
    
            @Test
            @DisplayName("Should handle replace without key")
            void testReplaceCacheWithoutKey() {
                concreteImplementation.setCacheMap(cacheMap);
    
                // Should not throw
                assertDoesNotThrow(() -> concreteImplementation.replaceCache());
    
                // Map should remain empty
                assertTrue(cacheMap.isEmpty());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            // Should still not be expired
            assertFalse(auth.isExpired());
    
            // Wait for original TTL to pass
            Thread.sleep(600);
    
            // Should still not be expired because we reset
            assertFalse(auth.isExpired());
    
            // Wait for the full TTL since reset
            Thread.sleep(500);
    
            // Now it should be expired
            assertTrue(auth.isExpired());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/BufferCacheTest.java

            assertEquals(1024, buffer1.length, "Buffer should have expected size");
            assertEquals(1024, buffer2.length, "Buffer should have expected size");
            assertNotSame(buffer1, buffer2, "Different calls should return different buffers initially");
        }
    
        @Test
        @DisplayName("releaseBuffer and getBuffer should implement buffer reuse")
        void testBufferReuse() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top