Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 447 for Selection (0.04 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

       * Returns {@link Method} instances for the remove tests that assume multisets support duplicates
       * so that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getRemoveDuplicateInitializingMethods() {
        return asList(getMethod(MultisetRemoveTester.class, "testRemove_some_occurrences_present"));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

    public class SmbResourceLocatorInternalTest {
    
        @Mock
        SmbResourceLocatorInternal locator;
    
        @Mock
        SmbResourceLocator other;
    
        @Mock
        DfsReferralData referral;
    
        // Reflection-based API checks ensure the interface contract is as expected
        @Test
        @DisplayName("Type hierarchy and method signatures are correct")
        void typeAndSignatures() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            ChannelInfo healthyChannel = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface);
            healthyChannel.setState(ChannelState.ESTABLISHED);
    
            // Use reflection or package-private method to add channel for testing
            // For now, just test the empty case
            assertEquals(0, channelManager.getHealthyChannels().size());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/ResourceManagerTest.java

            assertTrue(cleaned >= 2);
    
            assertTrue(resource1.isClosed());
            assertTrue(resource2.isClosed());
        }
    
        @Test
        @DisplayName("Test leak detection for unclosed resources")
        @Timeout(value = 5, unit = TimeUnit.SECONDS)
        void testLeakDetection() throws InterruptedException {
            // Create resource that will be garbage collected without closing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            System.arraycopy(stringBytes, 0, buffer, 10, stringBytes.length);
            buffer[10 + stringBytes.length] = 0; // null terminator
    
            // Use reflection to call protected readString method
            Method readStringMethod = getReadStringMethod();
            String result = (String) readStringMethod.invoke(response, buffer, 10, 128, false);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

         */
        @Test
        public void testAuthTypeGuessing() {
            // Test guest detection
            NtlmPasswordAuthenticator guestAuth = new NtlmPasswordAuthenticator("guest", "anypass");
            assertTrue(guestAuth.isGuest());
            assertFalse(guestAuth.isAnonymous());
    
            // Test anonymous detection
            NtlmPasswordAuthenticator anonAuth = new NtlmPasswordAuthenticator("", new char[0]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

            // assertEquals(0, result.size()); // Commented out due to variable scope // No data loaded
        }
    
        public void test_toLowerCase_privateMethod() throws Exception {
            // Test private method using reflection
            Method method = KeyMatchHelper.class.getDeclaredMethod("toLowerCase", String.class);
            method.setAccessible(true);
    
            String result = (String) method.invoke(keyMatchHelper, "JAVA");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getPutNullKeyUnsupportedMethod() {
        return getMethod(MapPutTester.class, "testPut_nullKeyUnsupported");
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

    import jakarta.annotation.Resource;
    
    /**
     * Service class for managing file configuration operations.
     * This service provides CRUD operations for file crawler configurations,
     * including retrieval, storage, deletion, and search functionality.
     * It handles pagination and integrates with the file authentication system.
     */
    public class FileConfigService extends FessAppService {
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/JobLogService.java

            });
        }
    
        /**
         * Deletes job logs that have any of the specified job statuses.
         *
         * @param jobStatusList the list of job statuses to match for deletion
         */
        public void deleteByJobStatus(final List<String> jobStatusList) {
            jobLogBhv.queryDelete(cb -> {
                cb.query().setJobStatus_InScope(jobStatusList);
            });
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top