- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 2,438 for _shouldn (0.04 sec)
-
src/test/java/jcifs/context/BaseContextTest.java
assertNotNull(context.getNameServiceClient(), "Name service client should be initialized"); assertNotNull(context.getBufferCache(), "Buffer cache should be initialized"); assertNotNull(context.getTransportPool(), "Transport pool should be initialized"); } @Test @DisplayName("Constructor should use provided configuration")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
// Then - Buffer should have expected size assertNotNull(buffer, "Buffer should not be null"); assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer.length, "Buffer should have TRANSACTION_BUF_SIZE"); // The validation in getBuffer() ensures size is within bounds (0 < size <= 1MB) assertTrue(buffer.length > 0, "Buffer size should be positive");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
docs/en/docs/advanced/openapi-callbacks.md
In this case, you could want to document how that external API *should* look like. What *path operation* it should have, what body it should expect, what response it should return, etc. ## An app with callbacks { #an-app-with-callbacks } Let's see all this with an example. Imagine you develop an app that allows creating invoices.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CurlHelperTest.java
assertNotNull(request); // The request should be properly created - we can't easily verify headers without mocking framework } public void test_post() { setupMockConfig("localhost:9200", "", ""); curlHelper.init(); CurlRequest request = curlHelper.post("/test"); assertNotNull(request); // The request should be properly created } public void test_put() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/AddressTest.java
String hostName = mockAddress.getHostName(); // Then assertEquals(expectedHostName, hostName, "Should return configured hostname"); assertNotNull(hostName, "Host name should not be null"); } @Test @DisplayName("getHostAddress should return valid IP address string") void testGetHostAddressContract() { // Given String expectedAddress = "192.168.1.100";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
// Then assertNotNull(signingKey, "Signing key should not be null"); assertEquals(16, signingKey.length, "Signing key should be 16 bytes"); assertFalse(Arrays.equals(sessionKey, signingKey), "Signing key should be different from session key"); } @Test @DisplayName("Should derive signing key for SMB 3.1.1 dialect") void testDeriveSigningKey_SMB311() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java
int bytesRead = response.readParameterWordsWireFormat(buffer, 0); // The count should be read from the buffer. assertEquals(10L, response.count); // The method should return the number of bytes read. assertEquals(8, bytesRead); } /** * Test the writeParameterWordsWireFormat method. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
// Then assertTrue(smb2Only, "Should delegate SMB2 only negotiation"); assertFalse(secureNegotiate, "Should delegate secure negotiate requirement"); assertTrue(ntlmTargetName, "Should delegate NTLM target name setting"); assertFalse(port139Failover, "Should delegate port 139 failover setting"); assertTrue(dfsStrictView, "Should delegate DFS strict view setting");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
assertNotNull(str, "toString should not return null"); assertTrue(str.contains("SmbComTreeConnectAndXResponse"), "Should contain class name"); assertTrue(str.contains("supportSearchBits=true"), "Should contain search bits flag"); assertTrue(str.contains("shareIsInDfs=true"), "Should contain DFS flag"); assertTrue(str.contains("service=IPC"), "Should contain service");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
tests/embedded_struct_test.go
if !DB.Migrator().HasColumn(&EngadgetPost{}, name) { t.Errorf("should has prefixed column %v", name) } } stmt := gorm.Statement{DB: DB} if err := stmt.Parse(&EngadgetPost{}); err != nil { t.Fatalf("failed to parse embedded struct") } else if len(stmt.Schema.PrimaryFields) != 1 { t.Errorf("should have only one primary field with embedded struct, but got %v", len(stmt.Schema.PrimaryFields)) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0)