Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_empty (0.06 sec)

  1. src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java

    import java.util.Collections;
    import java.util.Map;
    
    import org.apache.groovy.util.Maps;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class FieldConfigsTest extends UnitFessTestCase {
        public void test_empty() {
            final FieldConfigs fieldConfigs = new FieldConfigs(Collections.emptyMap());
            assertTrue(fieldConfigs.getConfig("test").isEmpty());
        }
    
        public void test_values() {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. tests/test_empty_router.py

    import pytest
    from fastapi import APIRouter, FastAPI
    from fastapi.exceptions import FastAPIError
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    router = APIRouter()
    
    
    @router.get("")
    def get_empty():
        return ["OK"]
    
    
    app.include_router(router, prefix="/prefix")
    
    
    client = TestClient(app)
    
    
    def test_use_empty():
        with client:
            response = client.get("/prefix")
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 22:37:34 UTC 2023
    - 805 bytes
    - Viewed (0)
Back to top