- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 2,907 for _shouldn (0.04 sec)
-
src/test/java/jcifs/SmbPipeHandleTest.java
} /** * Verifies that isStale returns true for a stale handle. */ @Test public void testIsStale_ReturnsTrueWhenStale() { when(smbPipeHandle.isStale()).thenReturn(true); assertTrue(smbPipeHandle.isStale(), "isStale() should return true for a stale handle."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
assertFalse( "setCount() with a too-large oldCount should return false", getMultiset().setCount(e0(), 2, 3)); expectUnchanged(); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(SUPPORTS_ADD) public void testSetCountConditional_oldCountTooSmallZero() { assertFalse( "setCount() with a too-small oldCount should return false", getMultiset().setCount(e0(), 0, 2));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java
public void testRemoveIf_alwaysFalse() { assertFalse("removeIf(x -> false) should return false", collection.removeIf(x -> false)); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) @CollectionSize.Require(absent = ZERO) public void testRemoveIf_sometimesTrue() { assertTrue( "removeIf(isEqual(present)) should return true", collection.removeIf(Predicate.isEqual(samples.e0())));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 4.2K bytes - Viewed (0) -
tests/upsert_test.go
} if err := DB.Find(&langs, "code = ?", lang.Code).Error; err != nil { t.Errorf("no error should happen when find languages with code, but got %v", err) } else if len(langs) != 1 { t.Errorf("should only find only 1 languages, but got %+v", langs) } else if langs[0].Name != "upsert-new" { t.Errorf("should update name on conflict, but got name %+v", langs[0].Name) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Jul 29 11:06:13 UTC 2025 - 13.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java
assertTrue("contains(present) should return true", collection.contains(e0())); } public void testContains_no() { assertFalse("contains(notPresent) should return false", collection.contains(e3())); } @CollectionFeature.Require(ALLOWS_NULL_QUERIES) public void testContains_nullNotContainedButQueriesSupported() { assertFalse("contains(null) should return false", collection.contains(null)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java
assertTrue("containsValue(present) should return true", getMap().containsValue(v0())); } public void testContains_no() { assertFalse("containsValue(notPresent) should return false", getMap().containsValue(v3())); } @MapFeature.Require(ALLOWS_NULL_VALUE_QUERIES) public void testContains_nullNotContainedButAllowed() { assertFalse("containsValue(null) should return false", getMap().containsValue(null)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.3K bytes - Viewed (0) -
tests/generics_test.go
if len(result.Pets) != len(u.Pets) { t.Fatalf("Preload user %v pets should be %v, but got %+v", u.Name, u.Pets, result.Pets) } if len(result.Friends) != len(u.Friends) { t.Fatalf("Preload user %v pets should be %v, but got %+v", u.Name, u.Pets, result.Pets) } } else if len(result.Pets) != 5 || len(result.Friends) == 0 { t.Fatalf("Preload user %v pets should be 5, but got %+v", result.Name, result.Pets) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 28K bytes - Viewed (0) -
src/test/java/jcifs/SmbConstantsTest.java
assertEquals(0, attributes[i] & attributes[j], "Attributes should not overlap in bit patterns"); } } } @Test @DisplayName("Should have resource types with power-of-2 values") void testResourceTypeBitPatterns() { // Resource types should be powers of 2 for bit flag usage
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
tests/associations_has_many_test.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 16K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSidAttributesTest.java
// Verify that the id and attributes are correctly set by the constructor assertEquals(sidMock, pacSidAttributes.getId(), "The SID should match the one provided in the constructor."); assertEquals(attributes, pacSidAttributes.getAttributes(), "The attributes should match the ones provided in the constructor."); } /** * Test method for {@link jcifs.pac.PacSidAttributes#getId()}. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0)