Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 584 for noclear (0.1 sec)

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

      public void testClear() {
        multimap().clear();
        assertCleared();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClearThroughEntries() {
        multimap().entries().clear();
        assertCleared();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClearThroughAsMap() {
        multimap().asMap().clear();
        assertCleared();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java

      public void testClearClearsInverse() {
        BiMap<V, K> inv = getMap().inverse();
        getMap().clear();
        assertTrue(getMap().isEmpty());
        assertTrue(inv.isEmpty());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testKeySetClearClearsInverse() {
        BiMap<V, K> inv = getMap().inverse();
        getMap().keySet().clear();
        assertTrue(getMap().isEmpty());
        assertTrue(inv.isEmpty());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java

      public void testClearClearsInverse() {
        BiMap<V, K> inv = getMap().inverse();
        getMap().clear();
        assertTrue(getMap().isEmpty());
        assertTrue(inv.isEmpty());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testKeySetClearClearsInverse() {
        BiMap<V, K> inv = getMap().inverse();
        getMap().keySet().clear();
        assertTrue(getMap().isEmpty());
        assertTrue(inv.isEmpty());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapClearTester<K, V> extends AbstractMapTester<K, V> {
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        getMap().clear();
        assertTrue("After clear(), a map should be empty.", getMap().isEmpty());
        assertEquals(0, getMap().size());
        assertFalse(getMap().entrySet().iterator().hasNext());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/sso/aad/AzureAdAuthenticatorTest.java

            list.clear();
            authenticator.addGroupOrRoleName(list, "test", true);
            assertEquals(1, list.size());
            assertEquals("test", list.get(0));
    
            list.clear();
            authenticator.addGroupOrRoleName(list, "test", false);
            assertEquals(1, list.size());
            assertEquals("test", list.get(0));
    
            list.clear();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

            assertEquals(0, indexingHelper.deleteOldDocuments(client, docList));
            assertEquals(0, docList.size());
            assertEquals(0, deletedDocIdList.size());
    
            docList.clear();
            deletedDocIdList.clear();
            docList.add(new HashMap<>(Map.of(//
                    "config_id", "W01", //
                    "doc_id", "1", //
                    "url", "http://test.com/001"//
            )));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/CollectionClearTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionClearTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testClear() {
        collection.clear();
        assertTrue("After clear(), a collection should be empty.", collection.isEmpty());
        assertEquals(0, collection.size());
        assertFalse(collection.iterator().hasNext());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java

        protected volatile Map<String, List<Pattern>> includeUrlPatternMap = new HashMap<>();
    
        protected volatile Map<String, List<Pattern>> excludeUrlPatternMap = new HashMap<>();
    
        public void clear() {
            urlQueueMap.clear();
            sessionMap.clear();
        }
    
        public synchronized Queue<UrlQueueImpl<Long>> getUrlQueueList(final String sessionId) {
            Queue<UrlQueueImpl<Long>> urlQueueList = urlQueueMap.get(sessionId);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java

      public void testClear() {
        multimap().clear();
        assertCleared();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClearThroughEntries() {
        multimap().entries().clear();
        assertCleared();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClearThroughAsMap() {
        multimap().asMap().clear();
        assertCleared();
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. tests/named_polymorphic_test.go

    	}
    
    	DB.Model(&hamster).Association("PreferredToy").Clear()
    
    	if DB.Model(&hamster2).Association("PreferredToy").Count() != 0 {
    		t.Errorf("Hamster's preferred toy should be cleared with Clear")
    	}
    
    	if DB.Model(&hamster2).Association("OtherToy").Count() != 1 {
    		t.Errorf("Hamster's other toy should be still available")
    	}
    
    	DB.Model(&hamster).Association("OtherToy").Clear()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jul 08 09:59:40 UTC 2020
    - 4.2K bytes
    - Viewed (0)
Back to top