Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2071 - 2080 of 4,265 for Avoid (0.03 sec)

  1. src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java

        @Test
        void testNoArgsConstructor() {
            // Test the constructor with no arguments
            RequestTimeoutException exception = new RequestTimeoutException();
            assertNull(exception.getMessage(), "Message should be null for no-arg constructor");
            assertNull(exception.getCause(), "Cause should be null for no-arg constructor");
        }
    
        @Test
        void testMessageConstructor() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java

    /**
     * Tests {@code License}.
     *
     */
    class LicenseTest {
    
        @Test
        void testHashCodeNullSafe() {
            new License().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new License().equals(null));
    
            new License().equals(new License());
        }
    
        @Test
        void testEqualsIdentity() {
            License thing = new License();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

         * Happy-path: a filter that accepts any name.
         */
        @ParameterizedTest
        @DisplayName("accepts any non-null/any string")
        @ValueSource(strings = { "file.txt", "data.DAT", "a", "x.y.z", "  spaced  " })
        void acceptsAnyNameReturnsTrue(String input) throws Exception {
            SmbFilenameFilter filter = (dir, name) -> true;
    
            boolean result = filter.accept(mockDir, input);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

      public void testFreesNextReference() {
        Iterator<Object> itr =
            new AbstractIterator<Object>() {
              @Override
              public Object computeNext() {
                return new Object();
              }
            };
        WeakReference<Object> ref = new WeakReference<>(itr.next());
        GcFinalization.awaitClear(ref);
      }
    
      public void testDefaultBehaviorOfPeekForEmptyIteration() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

        return suite;
      }
    
      public void testInsertionOrder() {
        Map<Integer, String> map = CompactLinkedHashMap.create();
        map.put(1, "a");
        map.put(4, "b");
        map.put(3, "d");
        map.put(2, "c");
        testHasMapEntriesInOrder(map, 1, "a", 4, "b", 3, "d", 2, "c");
      }
    
      public void testInsertionOrderAfterPutKeyTwice() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java

            return props;
        }
    
        @Test
        void testNullSafe() throws Exception {
            Profile p = Profile.newInstance();
    
            assertActivation(false, p, newContext(null, null));
    
            p = p.withActivation(Activation.newInstance());
    
            assertActivation(false, p, newContext(null, null));
        }
    
        @Test
        void testPrefix() throws Exception {
            Profile profile = newProfile("1.4");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

     */
    @NullUnmarked
    public class FauxveridesTest extends TestCase {
      public void testImmutableBiMap() {
        doHasAllFauxveridesTest(ImmutableBiMap.class, ImmutableMap.class);
      }
    
      public void testImmutableListMultimap() {
        doHasAllFauxveridesTest(ImmutableListMultimap.class, ImmutableMultimap.class);
      }
    
      public void testImmutableSetMultimap() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/FauxveridesTest.java

     */
    @NullUnmarked
    public class FauxveridesTest extends TestCase {
      public void testImmutableBiMap() {
        doHasAllFauxveridesTest(ImmutableBiMap.class, ImmutableMap.class);
      }
    
      public void testImmutableListMultimap() {
        doHasAllFauxveridesTest(ImmutableListMultimap.class, ImmutableMultimap.class);
      }
    
      public void testImmutableSetMultimap() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            void recordConnection() {
                connectionsCreated.incrementAndGet();
                lastActivityTime = System.currentTimeMillis();
            }
    
            void recordSuccess() {
                successCount.incrementAndGet();
                lastActivityTime = System.currentTimeMillis();
            }
    
            void recordFailure() {
                failureCount.incrementAndGet();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

        @BeforeEach
        public void setUp() {
            mocks = MockitoAnnotations.openMocks(this);
            when(context.getConfig()).thenReturn(config);
            when(config.isDirectoryNotificationsEnabled()).thenReturn(false); // Disable for unit tests
    
            directoryLeaseManager = new DirectoryLeaseManager(context, baseLeaseManager);
        }
    
        @AfterEach
        public void tearDown() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top