Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for testClear (0.07 sec)

  1. src/test/java/org/codelibs/core/beans/factory/BeanDescFactoryTest.java

            assertThat(BeanDescFactory.getBeanDesc(MyBean.class), is(sameInstance(beanDesc)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testClear() throws Exception {
            final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(MyBean.class);
            BeanDescFactory.clear();
            assertThat(BeanDescFactory.getBeanDesc(MyBean.class), is(not(sameInstance(beanDesc))));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        int unused = create().size();
      }
    
      public void testIsEmpty() {
        boolean unused = create().isEmpty();
      }
    
      public void testRemove() {
        create().remove(null);
      }
    
      public void testClear() {
        create().clear();
      }
    
      public void testContainsKey() {
        boolean unused = create().containsKey(null);
      }
    
      public void testContainsValue() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 19:11:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

          assertSame(value, cache.getUnchecked(key));
          assertTrue(cache.asMap().containsKey(key));
          assertTrue(cache.asMap().containsValue(value));
          assertEquals(1, cache.size());
        }
      }
    
      public void testClear() {
        for (LoadingCache<Key, String> cache : caches()) {
          Key key = new Key(1);
          String value = key.toString();
          assertSame(value, cache.getUnchecked(key));
          assertFalse(cache.asMap().isEmpty());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            e.remove();
            assertThat(e.getNext().getElement(), is("3"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testClear() throws Exception {
            list.addLast(null);
            list.addLast("1");
            list.addLast("2");
            list.clear();
            assertThat(list.size(), is(0));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        @Test
        public void testToString() throws Exception {
            assertThat(map.toString(), is(notNullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testClear() throws Exception {
            map.clear();
            assertThat(map.size(), is(0));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testEntrySet() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

       * which are not generally applicable to every instance of Map.
       *
       * @param map the map whose additional invariants to check.
       */
      protected void assertMoreInvariants(Map<K, V> map) {}
    
      public void testClear() {
        Map<K, V> map;
        try {
          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
    
        if (supportsClear) {
          map.clear();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

              if (map.isLive(e, now)) {
                result++;
              }
            }
          }
        }
        return result;
      }
    
      public void testClear() {
        LocalCache<Object, Object> map =
            makeLocalCache(
                createCacheBuilder()
                    .concurrencyLevel(1)
                    .initialCapacity(1)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/DocMapTest.java

            assertEquals("value1", docMap.get("key1"));
            assertEquals("value2", docMap.get("key2"));
            assertEquals("value3", docMap.get("key3"));
        }
    
        public void test_clear() {
            Map<String, Object> parentMap = new HashMap<>();
            DocMap docMap = new DocMap(parentMap);
    
            docMap.put("key1", "value1");
            docMap.put("key2", "value2");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            urlFilter.processUrl("");
            // Should handle empty URL gracefully
            assertNotNull(urlFilter);
        }
    
        /**
         * Test clear method
         */
        public void test_clear() {
            String sessionId = "test-session-015";
            urlFilter.init(sessionId);
    
            // Add some patterns
            urlFilter.addInclude("https://example.com/.*");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  10. docs/az/docs/index.md

    * Digər əlavə xüsusiyyətlər (Starlette sayəsində):
        * **WebSockets**
        * HTTPX və `pytest` sayəsində çox asan testlər
        * **CORS**
        * **Cookie Sessions**
        * ...və daha çoxu.
    
    ## Performans
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 22.7K bytes
    - Viewed (0)
Back to top