Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 68 for stubs (0.14 seconds)

  1. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

        }
    
        @Test
        @DisplayName("auth type is always NTLM")
        void testAuthTypeConstant(@Mock HttpServletRequest mockRequest, @Mock Principal mockPrincipal) {
            // No need to stub getName() since we're not calling getRemoteUser()
            NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, mockPrincipal);
            assertEquals("NTLM", request.getAuthType());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. build-logic-settings/settings.gradle.kts

            mavenCentral()
            gradlePluginPortal()
        }
        versionCatalogs {
            create("buildLibs") {
                from(files("../gradle/dependency-management/build.versions.toml"))
                version("errorProne", "stub") // not used in this project
            }
        }
    }
    
    pluginManagement {
        repositories {
            maven {
                url = uri("https://repo.gradle.org/gradle/enterprise-libs-release-candidates")
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:57 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ForwardingImmutableList.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Unused stub class, unreferenced under Java and manually emulated under GWT.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    abstract class ForwardingImmutableList<E> {
      private ForwardingImmutableList() {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 905 bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

        void mockTransportInteraction() {
            // Create a mock of SmbTransport from jcifs package
            jcifs.SmbTransport mock = mock(jcifs.SmbTransport.class);
            // Stub the getRemoteHostName method
            when(mock.getRemoteHostName()).thenReturn("test-host");
            // Verify the stubbing
            assertEquals("test-host", mock.getRemoteHostName());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

    import org.apache.maven.lifecycle.MavenExecutionPlan;
    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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                terminal = ft.getTerminal();
            }
            List<String> subs = new ArrayList<>();
            subs.add("type=" + terminal.getType());
            if (terminal instanceof TerminalExt te) {
                subs.add("provider=" + te.getProvider().name());
            }
            if (terminal instanceof AbstractPosixTerminal pt) {
                subs.add("pty=" + pt.getPty().getClass().getName());
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  7. src/cmd/asm/internal/asm/testdata/arm64error.s

    	SUBS	$0xff, R6, RSP                                   // ERROR "illegal destination register"
    	SUBS	$0xffff0, R6, RSP                                // ERROR "illegal destination register"
    	SUBS	$0x1000100010001000, R6, RSP                     // ERROR "illegal destination register"
    	SUBS	$0x10001000100011, R6, RSP                       // ERROR "illegal destination register"
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Feb 24 21:29:25 GMT 2026
    - 38.5K bytes
    - Click Count (0)
  8. 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();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 12K bytes
    - Click Count (0)
  9. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * SettableFuture} or one of the methods in the {@link Futures#immediateFuture Futures.immediate*}
     * family. <b>Avoid</b> creating a mock or stub {@code Future}. Mock and stub implementations are
     * fragile because they assume that only certain methods will be called and because they often
     * implement subtleties of the API improperly.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 8K bytes
    - Click Count (0)
  10. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top