- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 506 for interaction (0.24 seconds)
-
src/test/java/jcifs/smb/Kerb5ContextTest.java
void supportsIntegrity_alwaysTrue() { assertTrue(ctx.supportsIntegrity()); } @Test @DisplayName("calculateMIC returns value from GSS and verifies interaction") void calculateMIC_success() throws Exception { byte[] data = new byte[] { 1, 2, 3 }; byte[] mic = new byte[] { 9, 8 }; when(gssContext.getMIC(eq(data), eq(0), eq(3), any())).thenReturn(mic);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
} static Stream<Arguments> messageProvider() { return Stream.of(Arguments.of((String) null), Arguments.of("")); } /** * Validate message+cause constructor and that no interaction with cause occurs during construction. */ @Test @DisplayName("String+Throwable ctor: sets message, cause and unsuccessful status") void messageAndCauseConstructor_setsFields(@Mock Throwable mockCause) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
@DisplayName("customizeCreate sets required flags and extended mode") void customizeCreateSetsFlagsAndExtended() throws Exception { // Arrange: real instance to call protected method; collaborators mocked for interaction verification SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", SmbPipeResource.PIPE_TYPE_RDWR, ctx()); SmbComNTCreateAndX req = mock(SmbComNTCreateAndX.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
docs/works_with_okhttp.md
* [OkHttp Profiler](https://plugins.jetbrains.com/plugin/11249-okhttp-profiler): An IntelliJ plugin for monitoring OkHttp calls. * [OkReplay](https://github.com/airbnb/okreplay): Record and replay OkHttp network interaction in your tests. * [okhttp-signpost](https://github.com/pakerfeldt/okhttp-signpost): OAuth signing with signpost and OkHttp. * [okhttp-spring-boot](https://github.com/freefair/okhttp-spring-boot): Spring Boot starters for OkHttp
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 26 07:59:38 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/DosErrorTest.java
assertThrows(ArrayIndexOutOfBoundsException.class, () -> { @SuppressWarnings("unused") String s = msgs[msgs.length]; }); } @Test @DisplayName("Interaction: consumer is invoked for each found mapping") void interactionWithConsumerIsAsExpected() { // Arrange: choose a small set of known DOS codes
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java
MsrpcSamrOpenAlias capturedRpc = rpcCaptor.getValue(); // We cannot directly access private fields of MsrpcSamrOpenAlias or its superclass // Instead, we verify the interaction with the DcerpcHandle and the return value. // The fact that the constructor completes without exception and sets 'opened' to true // implies the correct parameters were used internally. } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
} @Spy SecurityBlob spyBlob = new SecurityBlob(); // Illustrates Mockito interaction verification by spying on set() and validating behavior @Test @DisplayName("Mockito spy: verify set() interaction and resulting behavior") void spy_verifySetInteraction() { // Arrange byte[] payload = new byte[] { 5, 6 }; // ActCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java
import org.apache.maven.model.Plugin; import org.apache.maven.model.PluginExecution; import org.apache.maven.plugin.MojoExecution; /** * A stub implementation that assumes an empty lifecycle to bypass interaction with the plugin manager and to avoid * plugin artifact resolution from repositories. * */ @Deprecated public class EmptyLifecycleExecutor implements LifecycleExecutor { @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/InfoTest.java
import org.mockito.Mock; /** * Unit tests for the {@link Info} implementations used by the SMB1 * protocol handling code. */ class InfoTest { // A tiny mock to illustrate Mockito interaction patterns. @Mock private SmbComTransactionResponse transactionMock; @BeforeEach void setUp() { transactionMock = mock(SmbComTransactionResponse.class); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
protected Executor executor() { transitionStates.add(state()); return directExecutor(); } } // Functional tests using real thread. We only verify publicly visible state. // Interaction assertions are done by the single-threaded unit tests. private static class DefaultService extends AbstractIdleService { @Override protected void startUp() throws Exception {} @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 7.7K bytes - Click Count (0)