Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1771 - 1780 of 4,550 for text (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/util/BooleanFunctionTest.java

    package org.codelibs.fess.util;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    public class BooleanFunctionTest extends UnitFessTestCase {
    
        @Test
        public void test_apply_string() {
            BooleanFunction<String> isNotEmpty = s -> s != null && !s.isEmpty();
    
            assertTrue(isNotEmpty.apply("test"));
            assertTrue(isNotEmpty.apply("a"));
            assertFalse(isNotEmpty.apply(""));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/llm/LlmChatResponseTest.java

        }
    
        @Test
        public void test_setContent() {
            final LlmChatResponse response = new LlmChatResponse();
            response.setContent("Test content");
            assertEquals("Test content", response.getContent());
    
            response.setContent("Updated content");
            assertEquals("Updated content", response.getContent());
        }
    
        @Test
        public void test_setFinishReason() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

    import assertk.assertions.isSameInstanceAs
    import assertk.assertions.isTrue
    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import okhttp3.CacheControl.Companion.parse
    import okhttp3.Headers.Companion.headersOf
    import org.junit.jupiter.api.Test
    
    class CacheControlJvmTest {
      @Test
      @Throws(Exception::class)
      fun completeBuilder() {
        val cacheControl =
          CacheControl
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/util/MapValueExtractorTest.java

    import java.util.Map;
    
    import org.junit.Test;
    
    /**
     * Unit tests for MapValueExtractor.
     */
    public class MapValueExtractorTest {
    
        @Test
        public void testGetString_withStringValue() {
            Map<String, Object> map = new HashMap<>();
            map.put("key", "value");
    
            assertEquals("value", MapValueExtractor.getString(map, "key"));
        }
    
        @Test
        public void testGetString_withNullValue() {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/config/PropertyConfigurationTest.java

    import java.util.Properties;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    import jcifs.BaseTest;
    import jcifs.CIFSException;
    import jcifs.DialectVersion;
    import jcifs.ResolverType;
    
    /**
     * Test class for PropertyConfiguration functionality
     */
    @DisplayName("PropertyConfiguration Tests")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/pac/PacCredentialTypeTest.java

         * This test is indirect as the constructor would throw an exception.
         * We can't instantiate the class with null, so we can't directly test this method's behavior with null.
         * However, the constructor logic `!isCredentialTypeCorrect()` covers this.
         * If `new PacCredentialType(null)` throws, it implies `isCredentialTypeCorrect()` returned false for null.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

        }
    
        @Test
        void testConstructor() {
            assertNotNull(setupAndX);
            assertEquals(ServerMessageBlock.SMB_COM_SESSION_SETUP_ANDX, setupAndX.command);
            assertEquals(mockSession, setupAndX.session);
            assertEquals(mockAuth, setupAndX.cred);
        }
    
        @Test
        void testConstructorWithAnonymousAuth() throws Exception {
            // Test with anonymous authentication
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. buildscripts/minio-upgrade.sh

    		up -d --build
    
    	add_alias
    
    	mc mb minio/minio-test/
    	mc cp ./minio minio/minio-test/to-read/
    	mc cp /etc/hosts minio/minio-test/to-read/hosts
    	mc anonymous set download minio/minio-test
    
    	verify_checksum_mc ./minio minio/minio-test/to-read/minio
    
    	curl -s http://127.0.0.1:9000/minio-test/to-read/hosts | sha256sum
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Apr 21 16:24:31 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            assertEquals("test query", searchRenderData.getSearchQuery());
    
            // Test with complex query
            String complexQuery = "title:\"test document\" AND content:search OR category:technology";
            searchRenderData.setSearchQuery(complexQuery);
            assertEquals(complexQuery, searchRenderData.getSearchQuery());
    
            // Test with special characters
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        }
    
        @Test
        @DisplayName("Test nextElement method")
        void testNextElement() {
            // First call returns self
            SmbComTransactionResponse result = response.nextElement();
            assertSame(response, result);
        }
    
        @Test
        @DisplayName("Test hasMoreElements method")
        void testHasMoreElements() {
            // Test initial state
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.4K bytes
    - Click Count (0)
Back to Top