- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 234 for interactions (0.39 sec)
-
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
}); assertEquals("Operation is not supported with the negotiated capabilities", ex.getMessage()); } @Test @DisplayName("Mockito: stubbed collaborator throws RuntimeException wrapper and interactions are verified") void mockInteraction_stubsThrow_andVerifiesInvocation() { // Arrange: Since SmbUnsupportedOperationException is a checked exception (extends IOException),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
// Act pipe.customizeCreate(req, resp); // Assert: verify interactions with dependencies verify(req, times(1)).addFlags0(0x16); verify(resp, times(1)).setExtended(true); verify(resp, never()).setExtended(false); } @Test @DisplayName("openPipe returns a handle bound to this pipe")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
CODE_OF_CONDUCT.md
address, without explicit permission. * Conduct which could reasonably be considered inappropriate for the forum in which it occurs. All TensorFlow forums and spaces are meant for professional interactions, and any behavior which could reasonably be considered inappropriate in a professional setting is unacceptable. ## Our Responsibilities
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Fri Feb 05 18:43:16 UTC 2021 - 5.2K bytes - Viewed (0) -
docs/en/docs/project-generation.md
- ⚡ [**FastAPI**](https://fastapi.tiangolo.com) for the Python backend API. - 🧰 [SQLModel](https://sqlmodel.tiangolo.com) for the Python SQL database interactions (ORM). - 🔍 [Pydantic](https://docs.pydantic.dev), used by FastAPI, for the data validation and settings management. - 💾 [PostgreSQL](https://www.postgresql.org) as the SQL database.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2K bytes - Viewed (0) -
CODE_OF_CONDUCT.md
of actions. **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period. This includes avoiding interactions in community spaces and external channels like social media. Violating these terms may lead to a temporary or permanent ban.
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Oct 17 06:18:13 UTC 2024 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSException; import jcifs.SmbSession; /** * Tests for SmbTreeHandleInternal interface using Mockito to verify * interactions and observable behavior of collaborators. */ @ExtendWith(MockitoExtension.class) public class SmbTreeHandleInternalTest { @Mock private SmbTreeHandleInternal handle; @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
// Act: invoke renew() CredentialsInternal result = renewable.renew(); // Assert: verify interaction and returned value verify(renewable, times(1)).renew(); assertSame(returned, result, "renew() should return the stubbed value"); // Negative interaction check: no further interactions with the mock verifyNoMoreInteractions(renewable); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb/RequestParamTest.java
assertSame(rp, Enum.valueOf(RequestParam.class, rp.name())); } } // Interaction: Demonstrate no external interactions occur (no collaborators to call) // We use Mockito in a minimal, meaningful way: pass the enum to a mocked consumer and verify interaction. interface EnumConsumer { void accept(RequestParam rp); } @Mock EnumConsumer consumer;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
} @Test void messageAndCauseConstructor_setsMessageAndCause_withoutInteractingWithCause() { // Arrange - mock cause to verify no interactions are needed to construct Throwable cause = Mockito.mock(Throwable.class); String message = "forced downgrade detected"; // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
import jcifs.smb1.UniAddress; /** * Very small test suite that exercises the most important state-changing * behaviour of {@link SmbSession}. The tests use Mockito to stub the * heavy network interactions through {@link SmbTransport}. */ @ExtendWith(MockitoExtension.class) public class SmbSessionTest { @Mock UniAddress addr; @Mock InetAddress inet; NtlmPasswordAuthentication auth;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)