- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 3,084 for shouldn (0.03 sec)
-
src/test/java/jcifs/util/transport/RequestTest.java
assertTrue(mockRequest.isCancel(), "isCancel should return true when mocked to do so."); verify(mockRequest, times(1)).isCancel(); } @Test void testIsCancelFalse() { // Test case for isCancel method when it returns false when(mockRequest.isCancel()).thenReturn(false); assertFalse(mockRequest.isCancel(), "isCancel should return false when mocked to do so.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
tests/helper_test.go
if pet == nil || expect.Pets[idx] == nil { t.Errorf("pets#%v should equal, expect: %v, got %v", idx, expect.Pets[idx], pet) } else { doCheckPet(t, *pet, *expect.Pets[idx], unscoped) } } }) t.Run("Toys", func(t *testing.T) { if len(user.Toys) != len(expect.Toys) { t.Fatalf("toys should equal, expect: %v, got %v", len(expect.Toys), len(user.Toys)) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 8K bytes - Viewed (0) -
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 Sep 07 09:35:13 UTC 2025 - Last Modified: Sat Oct 08 09:16:32 UTC 2022 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
assertEquals(64, newHash.length); // SHA-512 produces 64 bytes assertNotEquals(oldHash, newHash); // Should be different instance } /** * Test pre-auth integrity with non-SMB3.1.1 should throw exception */ @Test @DisplayName("Pre-auth integrity should fail with non-SMB3.1.1") void testPreauthWithNonSmb311() throws Exception { // Setup SMB3.0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java
// Test the no-argument constructor ConnectionTimeoutException exception = new ConnectionTimeoutException(); assertNull(exception.getMessage(), "Message should be null for no-arg constructor"); assertNull(exception.getCause(), "Cause should be null for no-arg constructor"); } @Test void testStringConstructor() { // Test the constructor with a message
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt
internal var errorException: IOException? = null init { if (headers != null) { check(!isLocallyInitiated) { "locally-initiated streams shouldn't have headers yet" } headersQueue += headers } else { check(isLocallyInitiated) { "remotely-initiated streams should have headers" } } } /** * Returns true if this stream is open. A stream is open until either: *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java
assertEquals(testMessage, exception.getMessage(), "The exception message should match the input message."); } /** * Test the NO_NULL_REF static field. * Ensures that the static field holds the expected string value. */ @Test void testNoNullRefConstant() { assertNotNull(NdrException.NO_NULL_REF, "NO_NULL_REF constant should not be null.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.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) -
doc/README.md
glob "*stdlib/*minor" are treated specially. They should be in subdirectories corresponding to standard library package paths, and headings for those package paths will be generated automatically. Files in this repo's `api/next` directory must have corresponding files in `doc/next/*stdlib/*minor`. The files should be in the subdirectory for the package with the new API, and should be named after the issue number of the API proposal.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Jul 22 17:55:04 UTC 2024 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
d.readBytesWireFormat(buf, 0); // After a full read both flags should be set and hasMore should be false assertTrue(d.getParametersDone(), "parametersDone should be true after reading"); assertTrue(d.getDataDone(), "dataDone should be true after reading"); assertFalse(d.getHasMore(), "hasMore should be false when both packets are fully read"); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0)