Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2171 - 2180 of 5,742 for text (0.05 seconds)

  1. src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java

        }
    
        @Test
        public void test_add_nullHandler() {
            // Setup
            String origin = "https://example.com";
    
            // Execute
            corsHandlerFactory.add(origin, null);
            CorsHandler result = corsHandlerFactory.get(origin);
    
            // Verify
            assertNull(result);
        }
    
        @Test
        public void test_add_caseInsensitiveOrigins() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/llm/RelevanceEvaluationResultTest.java

    import java.util.Arrays;
    import java.util.Collections;
    import java.util.List;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    public class RelevanceEvaluationResultTest extends UnitFessTestCase {
    
        @Test
        public void test_withRelevantDocs() {
            List<String> docIds = Arrays.asList("doc1", "doc2", "doc3");
            List<Integer> indexes = Arrays.asList(1, 2, 3);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInfo;
    
    public class LogNotificationHelperTest extends UnitFessTestCase {
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
        }
    
        @Test
        public void test_constructor() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/pac/PacSidAttributesTest.java

        }
    
        /**
         * Test method for {@link jcifs.pac.PacSidAttributes#getId()}.
         */
        @Test
        void testGetId() {
            // Test the getId method
            assertEquals(sidMock, pacSidAttributes.getId(), "getId should return the correct SID.");
        }
    
        /**
         * Test method for {@link jcifs.pac.PacSidAttributes#getAttributes()}.
         */
        @Test
        void testGetAttributes() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/llm/ChatIntentTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.llm;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    public class ChatIntentTest extends UnitFessTestCase {
    
        @Test
        public void test_values() {
            ChatIntent[] values = ChatIntent.values();
            assertEquals(4, values.length);
    
            assertEquals(ChatIntent.SEARCH, values[0]);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/SmbResourceTest.java

                assertSame(mockContext, context, "Should return the expected context");
            }
    
            @Test
            @DisplayName("getName should return resource name")
            void testGetName() throws CIFSException {
                // Given
                String expectedName = "test.txt";
                when(mockResource.getName()).thenReturn(expectedName);
    
                // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

        }
    
        @Test
        public void test_valueOf() {
            // Test valueOf for valid enum names
            assertEquals(SsoResponseType.METADATA, SsoResponseType.valueOf("METADATA"));
            assertEquals(SsoResponseType.LOGOUT, SsoResponseType.valueOf("LOGOUT"));
        }
    
        @Test
        public void test_valueOf_invalidName() {
            // Test valueOf with invalid name throws exception
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/TestWithSslPlugin.java

                    t.copy("test/ssl/test-client.crt");
                    t.copy("test/ssl/test-client.key");
                    t.copy("test/ssl/test-client.jks");
                    t.copy("test/ssl/test-node.crt");
                    t.copy("test/ssl/test-node.key");
                    t.copy("test/ssl/test-node.jks");
                    t.setOutputDir(keyStoreDir);
                });
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.1K bytes
    - Click Count (0)
  9. cmd/object-handlers_test.go

    			if test.fault == MissingUploadID {
    				uploadID = "upload1"
    			}
    			// constructing a v4 signed HTTP request.
    			reqV4, err = newTestSignedRequestV4(http.MethodPut,
    				getPutObjectPartURL("", bucketName, test.objectName, uploadID, test.partNumber),
    				int64(len(test.content)), bytes.NewReader([]byte(test.content)), test.accessKey, test.secretKey, nil)
    			if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 163.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticatorTest.java

            // This test verifies the typo fix by ensuring the class compiles
            SpnegoAuthenticator authenticator = new SpnegoAuthenticator();
            assertNotNull(authenticator);
    
            // The typo fix (SpengoConfig -> SpnegoConfig) is verified at compile time
            // If the class name was wrong, this test file wouldn't compile
            assertTrue(true);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.8K bytes
    - Click Count (0)
Back to Top