Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,219 for Shouldn (0.07 sec)

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

        assertFalse(
            "Two Maps should not be equal if exactly one of them contains a null value.",
            getMap().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_smallerMap() {
        Collection<Entry<K, V>> fewerEntries = getSampleEntries(getNumEntries() - 1);
        assertFalse(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        int initialSize = collection.size();
        assertTrue("remove(present) should return true", collection.remove(e0()));
        assertEquals(
            "remove(present) should decrease a collection's size by one.",
            initialSize - 1,
            collection.size());
        expectMissing(e0());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsKeyTester.java

        assertTrue("containsKey(present) should return true", getMap().containsKey(k0()));
      }
    
      public void testContains_no() {
        assertFalse("containsKey(notPresent) should return false", getMap().containsKey(k3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testContains_nullNotContainedButAllowed() {
        assertFalse("containsKey(null) should return false", getMap().containsKey(null));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

      public void testAddAllAtIndex_supportedNothing() {
        assertFalse("addAll(n, nothing) should return false", getList().addAll(0, emptyCollection()));
        expectUnchanged();
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      public void testAddAllAtIndex_unsupportedNothing() {
        try {
          assertFalse(
              "addAll(n, nothing) should return false or throw",
              getList().addAll(0, emptyCollection()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. tests/associations_has_many_test.go

    	if len(pets) != 1 {
    		t.Fatalf("should only find one pets, but got %v", len(pets))
    	}
    
    	CheckPet(t, pets[0], *user.Pets[0])
    
    	if count := DB.Model(&user).Where("name = ?", user.Pets[1].Name).Association("Pets").Count(); count != 1 {
    		t.Fatalf("should only find one pets, but got %v", count)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

      public void testAbsent() {
        assertEquals(
            "Map.merge(absent, value, function) should return value",
            v3(),
            getMap()
                .merge(
                    k3(),
                    v3(),
                    (oldV, newV) -> {
                      throw new AssertionFailedError(
                          "Should not call merge function if key was absent");
                    }));
        expectAdded(e3());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

      public void testAddAllAtIndex_supportedNothing() {
        assertFalse("addAll(n, nothing) should return false", getList().addAll(0, emptyCollection()));
        expectUnchanged();
      }
    
      @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX)
      public void testAddAllAtIndex_unsupportedNothing() {
        try {
          assertFalse(
              "addAll(n, nothing) should return false or throw",
              getList().addAll(0, emptyCollection()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. tests/postgres_test.go

    	if err := DB.Create(&yasuo).Error; err != nil {
    		t.Fatalf("should be able to create data, but got %v", err)
    	}
    
    	if yasuo.ID == "" {
    		t.Fatal("should be able to has ID, but got zero value")
    	}
    
    	var result Yasuo
    	if err := DB.First(&result, "id = ?", yasuo.ID).Error; err != nil || yasuo.Name != "jinzhu" {
    		t.Errorf("No error should happen, but got %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

        /**
         * Gets the external profiles that should be considered for model building.
         *
         * @return The external profiles that should be considered for model building, never {@code null}.
         */
        List<Profile> getProfiles();
    
        /**
         * Sets the external profiles that should be considered for model building.
         *
         * @param profiles The external profiles that should be considered for model building, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/discovery/v1/generated.proto

      // terminating state of endpoints. This condition should be set to true for
      // a ready endpoint that is terminating. If nil, consumers should defer to
      // the ready condition.
      // +optional
      optional bool serving = 2;
    
      // terminating indicates that this endpoint is terminating. A nil value
      // indicates an unknown state. Consumers should interpret this unknown state
      // to mean that the endpoint is not terminating.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top