Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 651 - 660 of 940 for behaviors (0.48 seconds)

  1. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            List<User> deleteCalls = new ArrayList<>();
            List<Map.Entry<String, String>> changePasswordCalls = new ArrayList<>();
            List<User> loadCalls = new ArrayList<>();
    
            // Control behavior
            boolean updateThrowsException = false;
            boolean deleteThrowsException = false;
            boolean changePasswordThrowsException = false;
            boolean loadThrowsException = false;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            try {
                ThreadDumpUtil.processThreadDump(null);
                fail("Should throw NullPointerException for null consumer");
            } catch (NullPointerException e) {
                // Expected behavior
            }
        }
    
        @Test
        public void test_processThreadDump_multipleThreads() {
            AtomicInteger threadCount = new AtomicInteger(0);
            AtomicInteger stackTraceCount = 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. android/guava/src/com/google/common/io/FileBackedOutputStream.java

     * the very old Android Ice Cream Sandwich release), then this stream throws an exception instead of
     * creating a file that would be more accessible. (This behavior is new in Guava 32.0.0. Previous
     * versions would create a file that is more accessible, as discussed in <a
     * href="https://nvd.nist.gov/vuln/detail/cve-2023-2976">CVE-2023-2976</a>.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/AllocInfoTest.java

                assertEquals(3, FileSystemInformation.FS_SIZE_INFO);
                assertEquals(7, FileSystemInformation.FS_FULL_SIZE_INFO);
            }
        }
    
        @Nested
        @DisplayName("Mock Behavior Tests")
        class MockBehaviorTests {
    
            @Test
            @DisplayName("Should return mocked capacity value")
            void shouldReturnMockedCapacity() {
                // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                oplockLevelField.set(notification, (byte) 0x01);
    
                // The implementation calls Hexdump.toHexString which throws NPE on null
                // This test verifies the actual behavior
                assertThrows(NullPointerException.class, () -> notification.toString());
            }
    
            @ParameterizedTest
            @DisplayName("Should format different oplock levels correctly")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            assertTrue(result.contains("SmbComTreeDisconnect"));
            assertTrue(result.startsWith("SmbComTreeDisconnect["));
            assertTrue(result.endsWith("]"));
        }
    
        /**
         * Test toString method behavior - requires valid configuration
         */
        @Test
        @DisplayName("Test toString requires valid configuration")
        public void testToStringRequiresValidConfig() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SIDCacheImplTest.java

                }
                return null;
            }).when(cache).resolveSids0(any(), any(), any());
    
            cache.resolveSids(ctx, null, arr, 2, 1); // resolve only s3
    
            // Verify cache behavior - after reset, spying on the same cache won't work
            // Since we're working with internal state, we'll verify the side effects
            assertEquals("DOM", s1.getDomainName());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14K bytes
    - Click Count (0)
  8. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                                } catch (SmbException e) {
                                    // Account locked out - this is expected behavior in concurrent scenario
                                    blockedAttempts.incrementAndGet();
                                    break; // Stop trying if account is locked
                                }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  9. cmd/sftp-server-driver.go

    		objInfo, err := clnt.StatObject(context.Background(), bucket, object, minio.StatObjectOptions{})
    		if err != nil {
    			if minio.ToErrorResponse(err).Code == "NoSuchKey" {
    				// dummy return to satisfy LIST (stat -> list) behavior.
    				return listerAt{&minioFileInfo{
    					p:     pathClean(object),
    					info:  minio.ObjectInfo{Key: object},
    					isDir: true,
    				}}, nil
    			}
    			return nil, err
    		}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 10 16:35:49 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

     * detailed at {@link ImmutableCollection}.
     *
     * <p><b>Warning:</b> as with any sorted collection, you are strongly advised not to use a {@link
     * Comparator} or {@link Comparable} type whose comparison behavior is <i>inconsistent with
     * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero
     * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 29.5K bytes
    - Click Count (0)
Back to Top