Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1741 - 1750 of 4,221 for Avoid (0.02 sec)

  1. src/test/java/jcifs/ConfigTest.java

        void testGetIntWithDefault() {
            assertEquals(123, Config.getInt(testProperties, "test.int", 0));
            assertEquals(456, Config.getInt(testProperties, "nonexistent.int", 456));
            assertEquals(789, Config.getInt(testProperties, "test.invalid.int", 789));
        }
    
        @Test
        @DisplayName("Should get integer property")
        void testGetInt() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

        @DisplayName("DOS_ERROR_CODES is non‑null and non‑empty")
        void testCodesArrayExistence() {
            assertNotNull(DosError.DOS_ERROR_CODES, "DOS_ERROR_CODES should be non‑null");
            assertTrue(DosError.DOS_ERROR_CODES.length > 0, "DOS_ERROR_CODES should contain at least one mapping");
        }
    
        @Test
        @DisplayName("Each error code mapping contains exactly two ints")
        void testEachPairLength() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsEntryTester.java

        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
      @CollectionSize.Require(absent = ZERO)
      public void testContainsEntryYes() {
        assertTrue(multimap().containsEntry(k0(), v0()));
      }
    
      public void testContainsEntryNo() {
        assertFalse(multimap().containsEntry(k3(), v3()));
      }
    
      public void testContainsEntryAgreesWithGet() {
        for (K k : sampleKeys()) {
          for (V v : sampleValues()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/AssertionUtil.java

         * @param argValue
         *            The value of the argument.
         * @throws NullArgumentException
         *             If the argument is <code>null</code>.
         */
        public static void assertArgumentNotNull(final String argName, final Object argValue) {
            if (argValue == null) {
                throw new NullArgumentException(argName);
            }
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java

      static final int MAX_SIZE = 100;
    
      public void testEviction_setMaxSegmentSize() {
        IdentityLoader<Object> loader = identityLoader();
        for (int i = 1; i < 1000; i++) {
          LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().maximumSize(i).build(loader);
          assertThat(CacheTesting.getTotalSegmentSize(cache)).isEqualTo(i);
        }
      }
    
      public void testEviction_setMaxSegmentWeight() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

            }
        }
    
        public void onEvent(Object event) {
            if (eventSpies.isEmpty()) {
                return;
            }
            for (EventSpy eventSpy : eventSpies) {
                try {
                    eventSpy.onEvent(event);
                } catch (Exception | LinkageError e) {
                    logError("notify", e, eventSpy);
                }
            }
        }
    
        public void close() {
            if (eventSpies.isEmpty()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

        private Configuration mockConfig;
    
        private SmbComFindClose2 instance;
        private final int TEST_SID = 0x1234; // 4660 decimal
    
        @BeforeEach
        void setUp() {
            instance = new SmbComFindClose2(mockConfig, TEST_SID);
        }
    
        @Test
        void testConstructorAndToString() {
            String s = instance.toString();
            // toString includes the class name and the sid field
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java

     * Tests {@code MailingList}.
     *
     */
    class MailingListTest {
    
        @Test
        void testHashCodeNullSafe() {
            new MailingList().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new MailingList().equals(null));
    
            new MailingList().equals(new MailingList());
        }
    
        @Test
        void testEqualsIdentity() {
            MailingList thing = new MailingList();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/lifecycle/DelegatingMojoExecutionListener.java

            }
        }
    
        @Override
        public void afterExecutionFailure(MojoExecutionEvent event) {
            for (MojoExecutionListener listener : listeners) {
                listener.afterExecutionFailure(event);
            }
        }
    
        public void addMojoExecutionListener(MojoExecutionListener listener) {
            this.listeners.add(listener);
        }
    
        public void removeMojoExecutionListener(MojoExecutionListener listener) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsRoleType.java

            return convertEmptyToNull(createdBy);
        }
    
        public void setCreatedBy(String value) {
            registerModifiedProperty("createdBy");
            this.createdBy = value;
        }
    
        public Long getCreatedTime() {
            checkSpecifiedProperty("createdTime");
            return createdTime;
        }
    
        public void setCreatedTime(Long value) {
            registerModifiedProperty("createdTime");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top