Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for test_threadSafety (0.07 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            assertNotSame(provider1.providePrimaryOneWayCryptographer(), provider2.providePrimaryOneWayCryptographer());
        }
    
        // Test thread safety
        @Test
        public void test_threadSafety() {
            // Test that the provider returns the same instances in multi-threaded environment
            final int threadCount = 10;
            final Thread[] threads = new Thread[threadCount];
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                            java.lang.reflect.Modifier.isStatic(method.getModifiers()));
                }
            }
        }
    
        @Test
        public void test_thread_safety() throws InterruptedException {
            // Test concurrent access to thread dump methods
            final AtomicInteger successCount = new AtomicInteger(0);
            final AtomicInteger errorCount = new AtomicInteger(0);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

                } else {
                    System.clearProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS);
                }
            }
        }
    
        @Test
        public void test_thread_safety() {
            // Test concurrent access to the method
            String originalValue = System.getProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS);
    
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            } catch (NullPointerException e) {
                // Expected - WebApiException constructor cannot handle null exception
            }
        }
    
        @Test
        public void test_thread_safety() {
            // Test thread safety of utility methods
            final int threadCount = 10;
            final java.util.concurrent.CountDownLatch latch = new java.util.concurrent.CountDownLatch(threadCount);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
Back to Top