- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 2,189 for whet (0.02 sec)
-
.github/ISSUE_TEMPLATE/00-bug.yml
- type: textarea id: what-did-you-do attributes: label: "What did you do?" description: "If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is best." validations: required: true - type: textarea id: actual-behavior attributes: label: "What did you see happen?"
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jan 04 23:31:17 UTC 2024 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
} @Test @DisplayName("Should return tree ID") void testGetTid() { // Given when(mockResponse.getTid()).thenReturn(12345); // When int tid = mockResponse.getTid(); // Then assertEquals(12345, tid, "Should return the configured tree ID"); verify(mockResponse).getTid();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java
rpc.retval = 0; return null; }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class)); LsaPolicyHandle handle = new LsaPolicyHandle(mockDcerpcHandle, "server", 123); // Now, mock the behavior for MsrpcLsarClose to throw IOException doThrow(new IOException("Close network error")).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarClose.class)); // Act & Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.2K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt
package okhttp3.sse import okhttp3.Response abstract class EventSourceListener { /** * Invoked when an event source has been accepted by the remote peer and may begin transmitting * events. */ open fun onOpen( eventSource: EventSource, response: Response, ) { } /** * Invoked when a new event has been sent to the client. * * @param id The `id` line of the event, might be null.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 1.7K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/03-gopls.yml
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri May 24 17:09:04 UTC 2024 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
when(fileNotifyInfo1.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_ADDED); when(fileNotifyInfo1.getFileName()).thenReturn("newfile.txt"); when(fileNotifyInfo2.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_MODIFIED); when(fileNotifyInfo2.getFileName()).thenReturn("existingfile.txt");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTreeDisconnectTest.java
/** * Test class for SmbComTreeDisconnect. */ class SmbComTreeDisconnectTest { /** * Test the constructor of SmbComTreeDisconnect. */ @Test void testConstructor() { // When SmbComTreeDisconnect smbComTreeDisconnect = new SmbComTreeDisconnect(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
tests/associations_has_one_test.go
if err := DB.Model(&user2).Association("Account").Delete(&Account{}); err != nil { t.Fatalf("Error happened when delete account, got %v", err) } AssertAssociationCount(t, user2, "Account", 1, "after delete non-existing data") if err := DB.Model(&user2).Association("Account").Delete(&account2); err != nil { t.Fatalf("Error happened when delete Account, got %v", err) } AssertAssociationCount(t, user2, "Account", 0, "after delete")
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
SmbSession unwrapResult = mock(SmbSession.class); when(mockSession.getConfig()).thenReturn(mockConfig); when(mockSession.getContext()).thenReturn(mockContext); when(mockSession.unwrap(SmbSession.class)).thenReturn(unwrapResult); doNothing().when(mockSession).close(); assertEquals(mockConfig, mockSession.getConfig());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
smbPipeHandle = mock(SmbPipeHandle.class); // Define behavior for the mock handle when(smbPipeHandle.getPipe()).thenReturn(mockPipeResource); when(smbPipeHandle.getInput()).thenReturn(mockInputStream); when(smbPipeHandle.getOutput()).thenReturn(mockOutputStream); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0)