- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 2,989 for Shouldn (0.04 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/CollectionEqualsTester.java
public void testEquals_self() { assertTrue("An Object should be equal to itself.", collection.equals(collection)); } // Comparisons to null *are* defined. @SuppressWarnings("UndefinedEquals") public void testEquals_null() { // noinspection ObjectEqualsNull assertFalse("An object should not be equal to null.", collection.equals(null)); } // A collection should essentially never be equal to a non-collection.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 21:10:54 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java
assertEquals(2, lsarSidArrayX.num_sids, "num_sids should match the array length"); // Verify sids array and its contents assertNotNull(lsarSidArrayX.sids, "sids array should not be null"); assertEquals(2, lsarSidArrayX.sids.length, "sids array length should match"); assertEquals(sidT1, lsarSidArrayX.sids[0].sid, "First SID should be unwrapped correctly");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
} when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath()); // First call should read the file NbtAddress result1 = lmhosts.getByName("TESTHOST", mockContext); assertNotNull(result1); // Second call should use cached data (file not modified) NbtAddress result2 = lmhosts.getByName("TESTHOST", mockContext); assertNotNull(result2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/Base64Test.java
// Assert assertArrayEquals(expected, actual, "Base64.decode should return original bytes"); } @Test @DisplayName("encode should throw NPE on null input") void testEncodeNull() { assertThrows(NullPointerException.class, () -> Base64.encode(null)); } @Test @DisplayName("decode should throw NPE on null input") void testDecodeNull() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
class ConstructorTests { @Test @DisplayName("Should create response with configuration") void testConstructor() { Smb2EchoResponse response = new Smb2EchoResponse(mockConfig); assertNotNull(response); assertEquals(mockConfig, response.getConfig()); } @Test @DisplayName("Should extend ServerMessageBlock2Response") void testInheritance() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
assertFalse( "removeAll(emptyCollection) should return false", collection.removeAll(MinimalCollection.of())); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_REMOVE) public void testRemoveAll_nonePresent() { assertFalse( "removeAll(disjointCollection) should return false", collection.removeAll(MinimalCollection.of(e3()))); expectUnchanged();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
// Act & Assert assertTrue(itr.hasNext(), "Should have first element ready"); SmbResource r1 = itr.next(); assertNotNull(r1, "First adapted resource must not be null"); // For workgroup/server entries, names end with '/' assertTrue(r1.getName().endsWith("/"), "Name should end with '/'"); assertTrue(itr.hasNext(), "Should have second element ready"); SmbResource r2 = itr.next();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
docs/en/docs/tutorial/cors.md
* `allow_origins` - A list of origins that should be permitted to make cross-origin requests. E.g. `['https://example.org', 'https://www.example.org']`. You can use `['*']` to allow any origin. * `allow_origin_regex` - A regex string to match against origins that should be permitted to make cross-origin requests. e.g. `'https://.*\.example\.org'`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testComputeIfPresent_supportedAbsent() { assertNull( "computeIfPresent(notPresent, function) should return null", getMap() .computeIfPresent( k3(), (k, v) -> { throw new AssertionFailedError(); })); expectUnchanged(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 6.1K 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)