Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for idempotent (0.14 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

                assertTrue(e instanceof IOException);
                assertTrue(e.getMessage().contains("GCS_PROJECT_ID is blank"));
            }
        }
    
        /**
         * Test that connect() is idempotent - calling it multiple times should be safe.
         */
        public void test_connect_idempotent() throws Exception {
            URL url = new URL("gcs://mybucket/object.txt");
            Handler handler = new Handler();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

                assertTrue(e instanceof IOException);
                assertTrue(e.getMessage().contains("endpoint is blank"));
            }
        }
    
        /**
         * Test that connect() is idempotent - calling it multiple times should be safe.
         */
        public void test_connect_idempotent() throws Exception {
            URL url = new URL("storage://mybucket/object.txt");
            Handler handler = new Handler();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            // First close
            closeableFactory.destroyObject(pooledObject);
            assertTrue(component.isClosed());
    
            // Component's close is idempotent, so calling destroy again should not increment counter
            closeableFactory.destroyObject(pooledObject);
            assertEquals(1, CloseableTestComponent.getCloseCount());
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 13:07:01 UTC 2025
    - 36.7K bytes
    - Viewed (0)
Back to top