Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 3,662 for Void (0.02 sec)

  1. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

      }
    
      private TypeToInstanceMap<Object> map;
    
      @Override
      protected void setUp() throws Exception {
        map = new MutableTypeToInstanceMap<>();
      }
    
      public void testPutThrows() {
        assertThrows(
            UnsupportedOperationException.class,
            () -> map.put(TypeToken.of(Integer.class), Integer.valueOf(5)));
      }
    
      public void testPutAllThrows() {
        assertThrows(
            UnsupportedOperationException.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

      }
    
      public void testOneEqual() {
        assertThat(ComparisonChain.start().compare("a", "a").result()).isEqualTo(0);
      }
    
      public void testOneEqualUsingComparator() {
        assertThat(ComparisonChain.start().compare("a", "A", String.CASE_INSENSITIVE_ORDER).result())
            .isEqualTo(0);
      }
    
      public void testManyEqual() {
        assertThat(
                ComparisonChain.start()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:05:13 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ResourcesTest.java

        suite.addTestSuite(ResourcesTest.class);
        return suite;
      }
    
      public void testToString() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertEquals(I18N, Resources.toString(resource, UTF_8));
        assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testToByteArray() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/util/StringUtilTest.java

     */
    class StringUtilTest {
    
        @Test
        @DisplayName("Should join single element without delimiter")
        void testJoinSingleElement() {
            String result = StringUtil.join(",", "hello");
            assertEquals("hello", result);
        }
    
        @Test
        @DisplayName("Should join two elements with delimiter")
        void testJoinTwoElements() {
            String result = StringUtil.join(",", "hello", "world");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

      public void testSingleTearDown() throws Exception {
        TearDownStack stack = buildTearDownStack();
    
        SimpleTearDown tearDown = new SimpleTearDown();
        stack.addTearDown(tearDown);
    
        assertEquals(false, tearDown.ran);
    
        stack.runTearDown();
    
        assertEquals("tearDown should have run", true, tearDown.ran);
      }
    
      public void testMultipleTearDownsHappenInOrder() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testGetOrDefault_present() {
        assertEquals(
            "getOrDefault(present, def) should return the associated value",
            v0(),
            getMap().getOrDefault(k0(), v3()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testGetOrDefault_presentNullDefault() {
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

     * Unit test for {@link ArbitraryInstances}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class ArbitraryInstancesTest extends TestCase {
    
      public void testGet_primitives() {
        assertNull(ArbitraryInstances.get(void.class));
        assertNull(ArbitraryInstances.get(Void.class));
        assertEquals(Boolean.FALSE, ArbitraryInstances.get(boolean.class));
        assertEquals(Boolean.FALSE, ArbitraryInstances.get(Boolean.class));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

                @Override
                public void sendError(int sc, String msg) throws IOException {
                }
    
                @Override
                public void sendError(int sc) throws IOException {
                }
    
                @Override
                public void sendRedirect(String location) throws IOException {
                }
    
                @Override
                public void setDateHeader(String name, long date) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

         * @param id the unique identifier to set
         */
        void setId(IDTYPE id);
    
        /**
         * Retrieves the session ID associated with this URL queue.
         *
         * @return the session ID as a String.
         */
        String getSessionId();
    
        /**
         * Sets the session ID for the URL queue.
         *
         * @param sessionId the session ID to set
         */
        void setSessionId(String sessionId);
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. 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);
          assertEquals(i, CacheTesting.getTotalSegmentSize(cache));
        }
      }
    
      public void testEviction_setMaxSegmentWeight() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 15K bytes
    - Viewed (0)
Back to top