Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for stubs (0.01 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/AboutTheStubs.html

    and can be asserted as desired.
    
    You can change/extend these stubs, and tests should not be breaking too much, since most tests
    assert using expected values from the stubs. Normally, when you try to use data from the stubs that
    have not been properly populated, you'll get a nullpointer in your test and you then have to
    identify which stub creates that specific piece of data.
    
    The most important stubs are:
    LifecycleExecutionPlanCalculatorStub
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. android-test/src/test/kotlin/okhttp/android/test/NonRobolectricOkHttpClientTest.kt

    import assertk.assertions.isNotNull
    import java.io.IOException
    import org.junit.Test
    import org.junit.runner.RunWith
    import org.junit.runners.JUnit4
    
    /**
     * Android test running with only stubs.
     */
    @RunWith(JUnit4::class)
    class NonRobolectricOkHttpClientTest : BaseOkHttpClientUnitTest() {
      @Test
      override fun testPublicSuffixDb() {
        assertFailure { super.testPublicSuffixDb() }.all {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            lenient().when(mockNdrBuffer.derive(anyInt())).thenReturn(mockDeferredNdrBuffer);
            lenient().when(mockDeferredNdrBuffer.derive(anyInt())).thenReturn(mockDeferredNdrBuffer);
    
            // Set up lenient stubs for common operations to avoid unnecessary stubbing exceptions
            lenient().when(mockNdrBuffer.getIndex()).thenReturn(0);
            lenient().when(mockDeferredNdrBuffer.getIndex()).thenReturn(0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/resources/dag.txt

    	quarkus/core/runtime/pom.xml
    	quarkus/extensions/arc/runtime/pom.xml
    	quarkus/extensions/smallrye-stork/runtime/pom.xml
    	quarkus/extensions/vertx-http/dev-console-runtime-spi/pom.xml
    	quarkus/extensions/grpc/stubs/pom.xml
    	quarkus/extensions/mutiny/runtime/pom.xml
    	quarkus/extensions/smallrye-health/runtime/pom.xml
    	quarkus/test-framework/junit5-internal/pom.xml
    quarkus/extensions/elasticsearch-rest-client-common/deployment/pom.xml
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 224K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ProjectDependencyGraphStubTest.java

        @Test
        void testADependencies() {
            final List<MavenProject> mavenProjects = stub.getUpstreamProjects(ProjectDependencyGraphStub.A, false);
            assertEquals(0, mavenProjects.size());
        }
    
        @Test
        void testBDependencies() {
            final List<MavenProject> bProjects = stub.getUpstreamProjects(ProjectDependencyGraphStub.B, false);
            assertEquals(1, bProjects.size());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistant.java

        public DBDef assistCurrentDBDef() {
            // TODO Auto-generated method stub
            return null;
        }
    
        @Override
        public DataSource assistDataSource() {
            // TODO Auto-generated method stub
            return null;
        }
    
        @Override
        public DBMetaProvider assistDBMetaProvider() {
            // TODO Auto-generated method stub
            return null;
        }
    
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/ConcurrencyDependencyGraphTest.java

    import static org.apache.maven.lifecycle.internal.stub.ProjectDependencyGraphStub.A;
    import static org.apache.maven.lifecycle.internal.stub.ProjectDependencyGraphStub.B;
    import static org.apache.maven.lifecycle.internal.stub.ProjectDependencyGraphStub.C;
    import static org.apache.maven.lifecycle.internal.stub.ProjectDependencyGraphStub.X;
    import static org.apache.maven.lifecycle.internal.stub.ProjectDependencyGraphStub.Y;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleTaskSegmentCalculatorImplTest.java

     */
    package org.apache.maven.lifecycle.internal;
    
    import java.util.List;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.lifecycle.internal.stub.LifecycleTaskSegmentCalculatorStub;
    import org.apache.maven.lifecycle.internal.stub.ProjectDependencyGraphStub;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top