Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 4,468 for void (0.07 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class MapComputeIfPresentTester<K, V> extends AbstractMapTester<K, V> {
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testComputeIfPresent_supportedAbsent() {
        assertNull(
            "computeIfPresent(notPresent, function) should return null",
            getMap()
                .computeIfPresent(
                    k3(),
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

                    afe.getMessage());
        }
    
        @Test
        void testWithEmptyUrl() throws IOException {
            testInheritance("empty-urls", false);
        }
    
        public void testInheritance(String baseName) throws IOException {
            testInheritance(baseName, false);
            testInheritance(baseName, true);
        }
    
        public void testInheritance(String baseName, boolean fromRepo) throws IOException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

            @Test
            @DisplayName("read(null) throws NullPointerException")
            void readNullArrayThrows() throws Exception {
                SmbFileInputStream in = newStream();
                assertThrows(NullPointerException.class, () -> in.read(null));
            }
    
            @Test
            @DisplayName("readDirect with len <= 0 returns 0")
            void readDirectZeroLen() throws Exception {
                SmbFileInputStream in = newStream();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      @GwtIncompatible
      public void testMin_noArgs() {
        assertThrows(IllegalArgumentException.class, () -> min());
      }
    
      public void testMin() {
        assertThat(min(LEAST)).isEqualTo(LEAST);
        assertThat(min(GREATEST)).isEqualTo(GREATEST);
        assertThat(min((int) 8, (int) 6, (int) 7, (int) 5, (int) 3, (int) 0, (int) 9))
            .isEqualTo((int) 0);
      }
    
      public void testConstrainToRange() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 29.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsBadWord.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.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

        return suite;
      }
    
      public void testCreation_noArgs() {
        Multiset<String> multiset = ImmutableMultiset.of();
        assertTrue(multiset.isEmpty());
      }
    
      public void testCreation_oneElement() {
        Multiset<String> multiset = ImmutableMultiset.of("a");
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
      public void testCreation_twoElements() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        return suite;
      }
    
      // Creation tests
    
      public void testCreation_noArgs() {
        List<String> list = ImmutableList.of();
        assertEquals(emptyList(), list);
      }
    
      public void testCreation_oneElement() {
        List<String> list = ImmutableList.of("a");
        assertEquals(singletonList("a"), list);
      }
    
      public void testCreation_twoElements() {
        List<String> list = ImmutableList.of("a", "b");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/logging/LoggingExecutionListener.java

        }
    
        @Override
        public void beforeProjectExecution(ProjectExecutionEvent projectExecutionEvent)
                throws LifecycleExecutionException {}
    
        @Override
        public void beforeProjectLifecycleExecution(ProjectExecutionEvent projectExecutionEvent)
                throws LifecycleExecutionException {}
    
        @Override
        public void afterProjectExecutionSuccess(ProjectExecutionEvent projectExecutionEvent)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

      }
    
      @GwtIncompatible // slow (~10s)
      public void testUnmodifiableArrayListMultimap() {
        checkUnmodifiableMultimap(
            ArrayListMultimap.<@Nullable String, @Nullable Integer>create(), true);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerializingUnmodifiableArrayListMultimap() {
        Multimap<String, Integer> unmodifiable =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

      public void testConstructor_anonymousClass() {
        String toTest = MoreObjects.toStringHelper(new Object() {}).toString();
        assertEquals("{}", toTest);
      }
    
      public void testConstructorLenient_anonymousClass() {
        String toTest = MoreObjects.toStringHelper(new Object() {}).toString();
        assertTrue(toTest, toTest.matches(".*\\{\\}"));
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 21.4K bytes
    - Viewed (0)
Back to top