Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 564 for Clear (0.03 sec)

  1. tests/associations_many2many_test.go

    	// Prepare Data for Clear
    	if err := DB.Model(&user2).Association("Languages").Append(&language); err != nil {
    		t.Fatalf("Error happened when append Languages, got %v", err)
    	}
    
    	AssertAssociationCount(t, user2, "Languages", 1, "after prepare data")
    
    	// Clear
    	if err := DB.Model(&user2).Association("Languages").Clear(); err != nil {
    		t.Errorf("Error happened when clear Languages, got %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

        @Override
        protected boolean isUseOneTimeContainer() {
            return true;
        }
    
        public void test_maxUsernameLength() throws IOException {
            FessProp.propMap.clear();
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
                @Override
                public Integer getLdapMaxUsernameLengthAsInteger() {
                    return Integer.valueOf(-1);
                }
            };
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java

            }
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.filter.UrlFilter#clear()
         */
        @Override
        public void clear() {
            cachedIncludeSet.clear();
            cachedExcludeSet.clear();
            if (sessionId != null) {
                getUrlFilterService().delete(sessionId);
            }
        }
    
        /*
         * (non-Javadoc)
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. tests/associations_has_one_test.go

    	// Prepare Data for Clear
    	account = Account{Number: "account-has-one-append"}
    	if err := DB.Model(&user2).Association("Account").Append(&account); err != nil {
    		t.Fatalf("Error happened when append Account, got %v", err)
    	}
    
    	AssertAssociationCount(t, user2, "Account", 1, "after prepare data")
    
    	// Clear
    	if err := DB.Model(&user2).Association("Account").Clear(); err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. tests/associations_has_many_test.go

    	// Prepare Data for Clear
    	if err := DB.Model(&user2).Association("Pets").Append(&pet); err != nil {
    		t.Fatalf("Error happened when append Pets, got %v", err)
    	}
    
    	AssertAssociationCount(t, user2, "Pets", 1, "after prepare data")
    
    	// Clear
    	if err := DB.Model(&user2).Association("Pets").Clear(); err != nil {
    		t.Errorf("Error happened when clear Pets, got %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top