- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 32 for stubs (0.02 seconds)
-
src/test/java/jcifs/http/NtlmHttpFilterTest.java
@Mock private ServletOutputStream servletOutputStream; @BeforeEach void setUp() throws Exception { filter = new NtlmHttpFilter(); // Setup lenient stubs for common mock interactions lenient().when(request.getSession()).thenReturn(httpSession); lenient().when(request.getSession(anyBoolean())).thenReturn(httpSession);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
} @Test @DisplayName("getInput/getOutput return cached streams when open; throw when closed") void getInputOutput_caching_and_closed() throws Exception { // Arrange: minimal stubs so stream construction works SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\foo"); when(pipe.ensureTreeConnected()).thenReturn(tree); when(tree.acquire()).thenReturn(tree);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy
def jApiClassifier = Stub(JApiClass) // represents interfaces, enums and annotations def jApiMethod = Stub(JApiMethod) def jApiField = Stub(JApiField) // represents fields and enum literals def jApiConstructor = Stub(JApiConstructor) def incubatingAnnotation = Stub(JApiAnnotation) def deprecatedAnnotation = Stub(JApiAnnotation) def overrideAnnotation = Stub(JApiAnnotation)Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 06 17:52:09 GMT 2025 - 16K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDTest.java
private static rpc.sid_t buildSidT(byte revision, byte[] identAuth, int... subs) { rpc.sid_t s = new rpc.sid_t(); s.revision = revision; s.sub_authority_count = (byte) subs.length; s.identifier_authority = Arrays.copyOf(identAuth, 6); s.sub_authority = Arrays.copyOf(subs, subs.length); return s; } @Nested
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
docs/smb3-features/06-witness-protocol-design.md
} } public WitnessRegisterResponse register(WitnessRegisterRequest request) throws IOException { try { WitnessRegisterStub stub = new WitnessRegisterStub(request); handle.sendrecv(stub); return stub.getResponse(); } catch (Exception e) { throw new IOException("Witness register RPC failed", e); } }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java
*/ @Nonnull Optional<Source> getSource(); /** * Determines whether a stub model should be allowed when the POM is missing or unreadable. * A stub model contains only minimal information derived from the project's coordinates. * * @return true if a stub model should be allowed, false otherwise */ boolean isAllowStubModel(); /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
/** * JUnit 5 tests for AndXServerMessageBlock in legacy smb1 package. * * The tests use small stub subclasses to drive encode/decode paths and * validate batching, chaining, signing, and NT_CREATE_ANDX extended handling. */ class AndXServerMessageBlockTest { /** * Test stub for AndXServerMessageBlock to control read/write logic. */ static class DummyAndXBlock extends AndXServerMessageBlock {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
import java.lang.reflect.Field; import org.junit.jupiter.api.Test; /** * Unit tests for {@link SmbComTransactionResponse}. * * <p>The class is abstract, so a concrete stub implementation is * provided purely to expose protected state and to satisfy the abstract * method contract. The tests focus on public API behaviour and the * parsing logic in {@code readParameterWordsWireFormat} andCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java
when(project.getArtifactId()).thenReturn("standalone-pom"); when(project.getPackaging()).thenReturn("pom"); when(project.getName()).thenReturn("Maven Stub Project (No POM)"); when(project.getVersion()).thenReturn("1"); when(event.getProject()).thenReturn(project); when(project.getFile()).thenReturn(null);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Dec 01 19:41:22 GMT 2024 - 12.3K bytes - Click Count (0)