Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 3,662 for Void (0.03 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerMock.java

        }
    
        public void setClassifier(String classifier) {
            this.classifier = classifier;
        }
    
        @Override
        public String getClassifier() {
            return classifier;
        }
    
        public void setPackaging(String packaging) {
            this.packaging = packaging;
        }
    
        @Override
        public String getPackaging() {
            return packaging;
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/CryptoTest.java

    /**
     * Test class for Crypto utility functionality
     */
    @DisplayName("Crypto Utility Tests")
    class CryptoTest extends BaseTest {
    
        @Test
        @DisplayName("Should calculate MD4 hash correctly")
        void testMD4Hash() {
            // Given
            String input = "Hello World";
            byte[] data = input.getBytes();
    
            // When
            MessageDigest md4 = Crypto.getMD4();
            byte[] hash = md4.digest(data);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testConstructor_validValue() {
            // Test with a value within the byte range
            NdrSmall ndrSmall = new NdrSmall(123);
            assertEquals(123, ndrSmall.value, "Value should be initialized correctly for valid input.");
        }
    
        @Test
        void testConstructor_maxValue() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java

        @BeforeEach
        public void setUp() {
            authenticator = null;
        }
    
        @AfterEach
        public void tearDown() throws Exception {
            if (authenticator != null) {
                authenticator.close();
            }
        }
    
        @Test
        @DisplayName("Test password stored as char array")
        void testPasswordStoredAsCharArray() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

        }
    
        public void test_calculateDocumentSize() {
            assertEquals(0, indexingHelper.calculateDocumentSize(Collections.emptyMap()));
            assertEquals(118, indexingHelper.calculateDocumentSize(Map.of("id", "test")));
            assertEquals(249, indexingHelper.calculateDocumentSize(Map.of("id", "test", "url", "http://test.com/")));
        }
    
        public void test_setMaxRetryCount() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 29.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsElevateWord.java

            return boost;
        }
    
        public void setBoost(Float value) {
            registerModifiedProperty("boost");
            this.boost = value;
        }
    
        public String getCreatedBy() {
            checkSpecifiedProperty("createdBy");
            return convertEmptyToNull(createdBy);
        }
    
        public void setCreatedBy(String value) {
            registerModifiedProperty("createdBy");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java

         * @param error the associated exception, or null if not applicable
         */
        void log(@Nonnull Level level, @Nonnull String message, @Nullable Throwable error);
    
        /**
         * Logs a debug message without an associated exception.
         *
         * @param message the debug message to be logged
         */
        default void debug(String message) {
            log(Level.DEBUG, message);
        }
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java

    public class SmbComWriteAndXResponseTest {
    
        private Configuration config;
    
        @BeforeEach
        public void setUp() throws CIFSException {
            config = new PropertyConfiguration(new Properties());
        }
    
        /**
         * Test of readParameterWordsWireFormat method
         */
        @Test
        public void testReadParameterWordsWireFormat() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/WinErrorTest.java

        class ConstantValues {
            @Test
            void successIsZero() {
                assertEquals(0, WinError.ERROR_SUCCESS, "ERROR_SUCCESS should be 0");
            }
    
            @Test
            void accessDeniedIsFive() {
                assertEquals(5, WinError.ERROR_ACCESS_DENIED, "ERROR_ACCESS_DENIED should be 5");
            }
    
            @Test
            void knownErrorCodes() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/NtlmUtilTest.java

                out[i / 2] = (byte) Integer.parseInt(clean.substring(i, i + 2), 16);
            }
            return out;
        }
    
        @Test
        @DisplayName("getNTHash: known vector for 'password'")
        void testGetNTHash_knownVector() {
            // Arrange
            String password = "password";
            // Known NT hash for "password" (UTF-16LE MD4)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top