Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 2,839 for texts (0.04 seconds)

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

  1. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            final Map<String, Object> source = new LinkedHashMap<>();
            source.put("mixed", Arrays.asList("text", 42, true));
    
            final String json = new JsonIndexExportFormatter().format(source, Collections.emptySet());
    
            assertTrue(json.contains("\"mixed\": [\"text\", 42, true]"));
        }
    
        @Test
        public void test_jsonFormatter_nestedMap() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  2. tests/test_sse.py

        assert "id: 2\n" in text
        assert 'data: {"key": "value"}\n' in text
    
        assert ": just a comment\n" in text
    
        assert "retry: 5000\n" in text
        assert 'data: "retry-test"\n' in text
    
    
    def test_mixed_plain_and_sse_events(client: TestClient):
        response = client.get("/items/stream-mixed")
        assert response.status_code == 200
        text = response.text
    
        assert "event: special\n" in text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  3. docs/en/docs/management-tasks.md

    * There should be tests testing the source example.
    * Before the PR is applied, the new tests should fail.
    * After applying the PR, the new tests should pass.
    * Coverage should stay at 100%.
    * If you see the PR makes sense, or we discussed it and considered it should be accepted, you can add commits on top of the PR to tweak it, to add docs, tests, format, refactor, remove extra files, etc.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:59:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            assertTrue(svgMimetype.matches(svgPatternCorrect));
    
            // Verify other common MIME types still work (no special chars)
            assertTrue("text/html".matches("text/html"));
            assertTrue("application/pdf".matches("application/pdf"));
            assertTrue("image/jpeg".matches("image/jpeg"));
            assertTrue("image/png".matches("image/png"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_background_tasks/test_tutorial002.py

    import importlib
    import os
    from pathlib import Path
    
    import pytest
    from fastapi.testclient import TestClient
    
    from tests.utils import needs_py310, workdir_lock
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002_py310", marks=needs_py310),
            pytest.param("tutorial002_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 10:53:47 GMT 2026
    - 968 bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

        }
    
        // ========== stripHtmlTags tests ==========
    
        @Test
        public void test_stripHtmlTags_removesAllTags() {
            assertEquals("Hello world", client.testStripHtmlTags("<p>Hello <b>world</b></p>"));
        }
    
        @Test
        public void test_stripHtmlTags_handlesNestedTags() {
            assertEquals("text", client.testStripHtmlTags("<div><span><a href=\"x\">text</a></span></div>"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

        }
    
        // ===== Return Value Tests =====
    
        /**
         * Test that various return types work correctly
         */
        @Test
        public void test_evaluate_variousReturnTypes() {
            final Map<String, Object> params = new HashMap<>();
    
            // String
            assertEquals("text", groovyEngine.evaluate("return 'text'", params));
    
            // Integer
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  8. docs/es/docs/advanced/custom-response.md

    FastAPI (de hecho Starlette) incluirá automáticamente un header Content-Length. También incluirá un header Content-Type, basado en el `media_type` y añadiendo un conjunto de caracteres para tipos de texto.
    
    {* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *}
    
    ### `HTMLResponse` { #htmlresponse }
    
    Toma algún texto o bytes y devuelve un response HTML, como leíste arriba.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  9. CLAUDE.md

    ├── stream/      # Stream utilities
    ├── text/        # Text processing (JSON, Tokenizer)
    ├── timer/       # Timer utilities
    ├── xml/         # XML processing
    ├── zip/         # ZIP file utilities
    └── CoreLibConstants.java
    src/test/java/   # Test classes (mirrors main structure)
    ```
    
    ## Development Commands
    
    ```bash
    mvn test                              # Run tests
    mvn test -Dtest=ClassName#methodName  # Run specific test
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Mar 12 03:38:56 GMT 2026
    - 3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/curl/CurlResponseTest.java

            assertArrayEquals(new String[] { "application/json", "text/html" }, acceptValues);
            assertArrayEquals(new String[] { "application/json", "text/html" }, acceptValuesLowercase);
            assertArrayEquals(new String[0], missingValues);
        }
    
        @Test
        public void testGetHeaderValueMultipleValues() {
            CurlResponse response = new CurlResponse();
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 17.7K bytes
    - Click Count (0)
Back to Top