- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 385 for clear (0.04 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)