- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 2,214 for correct (0.04 sec)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java
/** * Unit tests for DirectoryLeaseState */ public class DirectoryLeaseStateTest { @Test public void testDirectoryLeaseConstants() { // Test that directory lease states use correct base values assertEquals(Smb2LeaseState.SMB2_LEASE_READ_CACHING | Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING, DirectoryLeaseState.DIRECTORY_READ_HANDLE);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
}; // Act & Assert: test with different file names assertTrue(filter.accept(mockDir, "document.txt"), "Should accept .txt files in the correct path"); assertFalse(filter.accept(mockDir, "image.png"), "Should reject non-.txt files"); assertFalse(filter.accept(mockDir, null), "Should reject null names");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
docs/en/docs/advanced/response-cookies.md
/// tip Keep in mind that if you return a response directly instead of using the `Response` parameter, FastAPI will return it directly. So, you will have to make sure your data is of the correct type. E.g. it is compatible with JSON, if you are returning a `JSONResponse`. And also that you are not sending any data that should have been filtered by a `response_model`. /// ### More info { #more-info }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlTest.java
// ## Arrange ## final String url = "http://example.com"; // ## Act ## final CurlRequest request = Curl.connect(url); // ## Assert ## assertNotNull(request); assertEquals(Method.CONNECT, request.method()); } @Test public void test_TmpDirInitialization() { // ## Act ## final File tmpDir = Curl.tmpDir;
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 8.8K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
/// Whenever a new request arrives, **FastAPI** will take care of: * Calling your dependency ("dependable") function with the correct parameters. * Get the result from your function. * Assign that result to the parameter in your *path operation function*. ```mermaid graph TB common_parameters(["common_parameters"]) read_items["/items/"]
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
assertEquals("\\", request.getPath()); // Test empty path request.setPath(""); assertEquals("\\", request.getPath()); } @Test @DisplayName("Test getPath returns correct formatted path") void testGetPath() { request = new Smb2CreateRequest(mockConfig, "share\\file.txt"); assertEquals("\\share\\file.txt", request.getPath()); request.setPath("newpath\\newfile.txt");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java
} public void test_constructor() { assertNotNull("Constructor should create instance", target); assertTrue("Instance should be of correct type", target instanceof HotThreadMonitorTarget); assertTrue("Instance should be a MonitorTarget", target instanceof MonitorTarget); assertTrue("Instance should be a TimeoutTarget", target instanceof TimeoutTarget);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTest.java
void testSetRequestCredits() { // Test case for setRequestCredits method int credits = 5; mockRequest.setRequestCredits(credits); // Verify that setRequestCredits was called with the correct argument verify(mockRequest, times(1)).setRequestCredits(credits); } @Test void testIsCancelTrue() { // Test case for isCancel method when it returns true
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java
String inner = s.substring("SmbComLogoffAndX[".length(), s.length() - 1); assertFalse(inner.isEmpty(), "inner part of toString should not be empty"); } @Test @DisplayName("constructor sets correct command value") void constructorSetsCorrectCommand() { SmbComLogoffAndX msg = new SmbComLogoffAndX(null); assertNotNull(msg, "Message should not be null"); // SMB_COM_LOGOFF_ANDX = 0x74
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java
*/ public void setHeartbeatInterval(long heartbeatInterval) { this.heartbeatInterval = heartbeatInterval; } /** * Validates that the heartbeat response is correct. * The response sequence number should match the request sequence number. * * @return true if the response is valid */ public boolean isValidResponse() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5.8K bytes - Viewed (0)