- Sort Score
- Result 10 results
- Languages All
Results 931 - 940 of 1,132 for Expected (0.04 sec)
-
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
when(handle.isValid()).thenReturn(false); SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0, false); SmbException ex = assertThrows(SmbException.class, sut::watch, "Expected SmbException when handle invalid"); assertTrue(ex.getMessage().contains("Watch was broken by tree disconnect")); } // Happy path for SMB2: a response is received and the list is returned; tree is closed
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
tests/prepared_stmt_test.go
AssertEqual(t, ok, true) // Assert whether the number of statement keys stored in the PreparedStmtDB is 0 after 40 seconds. // If it is not 0, it means the statements in the cache have not expired as expected. AssertEqual(t, len(conn.Stmts.Keys()), 0) } func TestPreparedStmtDeadlock(t *testing.T) { tx, err := OpenTestConnection(&gorm.Config{}) AssertEqual(t, err, nil) sqlDB, _ := tx.DB()
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
}); // If we get here without exception, that's actually fine for some invalid queries // that might be handled gracefully } catch (InvalidQueryException e) { // This is expected for some types of invalid queries assertNotNull(e.getMessage()); } } public void test_buildBaseQuery_invalidQuery() { try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.6K bytes - Viewed (0) -
tests/update_test.go
if db.RowsAffected != 1 { t.Errorf("Expected RowsAffected=1 but instead RowsAffected=%v", db.RowsAffected) } // Verify that Age now=`newAge`. result := &User{} result.ID = user.ID DB.Preload("Account").First(result) if result.Age != newAge { t.Errorf("Expected freshly queried user to have Age=%v but instead found Age=%v", newAge, result.Age) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 30.4K bytes - Viewed (0) -
cmd/data-usage-cache.go
} e.AllTierStats.merge(other.AllTierStats) } } // mod returns true if the hash mod cycles == cycle. // If cycles is 0 false is always returned. // If cycles is 1 true is always returned (as expected). func (h dataUsageHash) mod(cycle uint32, cycles uint32) bool { if cycles <= 1 { return cycles == 1 } return uint32(xxhash.Sum64String(string(h)))%cycles == cycle%cycles }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
assertNotNull(request); assertTrue(request instanceof CreateContextRequest); } @Test @DisplayName("getName() should return expected byte array") void testGetNameMethod() { byte[] expectedName = "TEST_CONTEXT".getBytes(StandardCharsets.UTF_8); CreateContextRequest request = mock(CreateContextRequest.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
docs/en/docs/deployment/https.md
Using the **SNI extension** discussed above, the TLS Termination Proxy would check which of the TLS (HTTPS) certificates available it should use for this connection, using the one that matches the domain expected by the client. In this case, it would use the certificate for `someapp.example.com`. <img src="/img/deployment/https/https03.drawio.svg">
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 19:34:08 UTC 2025 - 14.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
responseHeaders = responseHeadersBuilder.build() if (url.isHttps) { val blank = source.readUtf8LineStrict() if (blank.isNotEmpty()) { throw IOException("expected \"\" but was \"$blank\"") } val cipherSuiteString = source.readUtf8LineStrict() val cipherSuite = CipherSuite.forJavaName(cipherSuiteString)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
NdrLong decodedTotalEntries = new NdrLong(0); netdfs.NetrDfsEnumEx decodedEnumEx = new netdfs.NetrDfsEnumEx(null, 0, 0, decodedInfo, decodedTotalEntries); // Manually encode the expected output for decode_out byte[] encodeBufferOut = new byte[1024]; NdrBuffer dstOut = new NdrBuffer(encodeBufferOut, 0); // Simulate info pointer (non-null)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
assertEquals(0, SMBUtil.readInt2(buffer, 2)); // Reserved (4 bytes) - The implementation skips writing these bytes, // so they will have the initial pattern (0xCCCCCCCC) // This is expected behavior as seen in the implementation at line 131 assertEquals((byte) 0xCC, buffer[4]); assertEquals((byte) 0xCC, buffer[5]); assertEquals((byte) 0xCC, buffer[6]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0)