Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for test_poll (0.14 seconds)

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

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java

            verify(dataHelper).getUrlQueueList(oldSessionId);
            verify(dataHelper).addUrlQueueList(newSessionId, mockQueue);
            verify(dataHelper).removeUrlQueueList(oldSessionId);
        }
    
        public void test_poll() {
            // Setup
            String sessionId = "session123";
            UrlQueueImpl<Long> urlQueue = new UrlQueueImpl<>();
            urlQueue.setUrl("https://example.com");
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 13 13:29:22 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            // Given: Create a new pool for this test to ensure isolation
            SmbTransportPoolImpl testPool = new SmbTransportPoolImpl();
            when(ctx.getTransportPool()).thenReturn(testPool);
    
            // Create an existing connection
            SmbTransportImpl first = testPool.getSmbTransport(ctx, address, 445, false);
    
            // When: Request another connection
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py

    from fastapi.testclient import TestClient
    
    from docs_src.path_operation_advanced_configuration.tutorial006_py39 import app
    
    client = TestClient(app)
    
    
    def test_post():
        response = client.post("/items/", content=b"this is actually not validated")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "size": 30,
            "content": {
                "name": "Maaaagic",
                "price": 42,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py

        mod = importlib.import_module(
            f"docs_src.path_operation_advanced_configuration.{request.param}"
        )
    
        client = TestClient(mod.app)
        return client
    
    
    def test_post(client: TestClient):
        yaml_data = """
            name: Deadpoolio
            tags:
            - x-force
            - x-men
            - x-avengers
            """
        response = client.post("/items/", content=yaml_data)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top