Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for stubs (0.02 sec)

  1. 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);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. 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);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                    if (off + stub_frag_len > stub.length) {
                        // shouldn't happen if alloc_hint is correct or greater
                        final byte[] tmp = new byte[off + stub_frag_len];
                        System.arraycopy(stub, 0, tmp, 0, off);
                        stub = tmp;
                    }
    
                    System.arraycopy(frag, 24, stub, off, stub_frag_len);
                    off += stub_frag_len;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. 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);
            }
        }
        
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  5. 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();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. 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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. 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 {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. 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} and
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. 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);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Dec 01 19:41:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                ArtifactRepository repository, File source, String remotePath, ArtifactTransferListener transferListener)
                throws ArtifactTransferFailedException {
            // TODO Auto-generated method stub
    
        }
    
        @Override
        public ArtifactResolutionResult resolve(ArtifactResolutionRequest request) {
            ArtifactResolutionResult result = new ArtifactResolutionResult();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top