Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for test_threadSafety (0.11 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)
Back to Top