- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 3,178 for should (0.22 sec)
-
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. These invoices will have an `id`, `title` (optional), `customer`, and `total`.
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/jcifs/internal/smb2/RequestWithFileIdTest.java
assertNotNull(writeRequest, "Smb2WriteRequest should implement RequestWithFileId"); assertNotNull(flushRequest, "Smb2FlushRequest should implement RequestWithFileId"); assertNotNull(ioctlRequest, "Smb2IoctlRequest should implement RequestWithFileId"); assertNotNull(lockRequest, "Smb2LockRequest should implement RequestWithFileId"); } @Test @DisplayName("Should set file ID correctly in Smb2CloseRequest")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
} @Test @DisplayName("Should handle null root cause") void testConstructorWithNullRootCause() { TransportException exception = new TransportException((Throwable) null); assertNotNull(exception); assertNull(exception.getRootCause()); } @Test @DisplayName("Should handle null message with root cause")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportTest.java
} for (int state : connectedStates) { transport.setState(state); assertFalse(transport.isDisconnected(), "State " + state + " should not be disconnected"); } } @Test @DisplayName("should correctly identify failed states")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Then assertNotNull(nonce1, "First secure nonce should not be null"); assertNotNull(nonce2, "Second secure nonce should not be null"); assertFalse(Arrays.equals(nonce1, nonce2), "Secure nonces should be different"); assertTrue(nonce1.length > 0, "Secure nonce should have proper length"); } @Test @DisplayName("Should handle concurrent secure nonce generation safely")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
assertNotNull(pairs, "Decoded pairs should not be null"); assertEquals(1, pairs.size(), "Should have decoded one pair"); AvPair pair = pairs.get(0); assertEquals(unknownType, pair.getType(), "Pair type should match unknown type"); assertFalse(pair instanceof AvFlags, "Should not be decoded as specific type"); assertFalse(pair instanceof AvTimestamp, "Should not be decoded as specific type"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
"Dialect " + String.format("0x%04X", dialect) + " should be >= SMB 2.0.2"); } @Test @DisplayName("Dialects should be in ascending order") void testDialectOrdering() { assertTrue(Smb2Constants.SMB2_DIALECT_0202 < Smb2Constants.SMB2_DIALECT_0210, "SMB 2.0.2 should be less than SMB 2.1");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
assertFalse(file.exists(), "File should not exist initially"); file.createNewFile(); assertTrue(file.exists(), "File should exist after creation"); assertTrue(file.isFile(), "Should be identified as a file"); assertFalse(file.isDirectory(), "Should not be identified as a directory"); assertEquals(0, file.length(), "New file should have zero length"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
} @Test @DisplayName("Constructor should initialize TransPeekNamedPipeResponse") void testConstructor() { // Assert assertNotNull(response); assertTrue(response instanceof SmbComTransactionResponse); assertEquals(0, response.getAvailable()); } @Test @DisplayName("Should verify status constants are correctly defined") void testStatusConstants() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
assertTrue("Thread dump file should not be empty", Files.size(tempFile) > 0); // Verify the content contains thread information String content = new String(Files.readAllBytes(tempFile), Constants.CHARSET_UTF_8); assertTrue("Content should contain 'Thread:'", content.contains("Thread:"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 15.5K bytes - Viewed (0)