Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 3,963 for void (0.02 sec)

  1. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

    package org.codelibs.fess.exception;
    
    import org.apache.lucene.queryparser.classic.ParseException;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class QueryParseExceptionTest extends UnitFessTestCase {
    
        public void test_constructor() {
            // Test constructor with ParseException cause
            ParseException parseException = new ParseException("Test parse error");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/spnego/SpnegoTokenTest.java

        void defaultStateIsNull() {
            TestSpnegoToken t = new TestSpnegoToken();
            assertNull(t.getMechanismToken(), "mechanismToken should default to null");
            assertNull(t.getMechanismListMIC(), "mechanismListMIC should default to null");
        }
    
        @Test
        @DisplayName("Setter and getter for mechanismToken work")
        void setGetMechanismToken() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

    @DisplayName("SmbOperationException Tests")
    public class SmbOperationExceptionTest {
    
        private SmbOperationException exception;
    
        @BeforeEach
        void setUp() {
            exception = null;
        }
    
        @Test
        @DisplayName("Should create exception with error code and message")
        void testBasicCreation() {
            // When
            exception = new SmbOperationException(SmbOperationException.ErrorCode.FILE_NOT_FOUND, "test.txt");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top