Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 54 for stubs (0.02 seconds)

  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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (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 {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. internal/kms/stub.go

    	}, nil
    }
    
    // Decrypt is a non-functional stub.
    func (s StubKMS) Decrypt(_ context.Context, req *DecryptRequest) ([]byte, error) {
    	return req.Ciphertext, nil
    }
    
    // MAC is a non-functional stub.
    func (s StubKMS) MAC(_ context.Context, m *MACRequest) ([]byte, error) {
    	return m.Message, nil
    }
    
    // containsKeyName returns true if the given key name exists in the stub KMS.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Aug 18 06:43:03 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  4. 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
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  5. internal/pubsub/pubsub.go

    			if wg != nil {
    				wg.Done()
    			}
    			// Clean up and de-register the subscriber
    			ps.Lock()
    			defer ps.Unlock()
    			var remainTypes Mask
    			for i, s := range ps.subs {
    				if s == sub {
    					ps.subs = append(ps.subs[:i], ps.subs[i+1:]...)
    				} else {
    					remainTypes.Merge(s.types)
    				}
    			}
    			atomic.StoreUint64(&ps.types, uint64(remainTypes))
    			atomic.AddInt32(&ps.numSubscribers, -1)
    		}()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 06 16:57:30 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  6. 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());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. 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;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5K bytes
    - Click Count (0)
  8. 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;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/BuildListCalculatorTest.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;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/DefaultLifecyclesStub.java

    import static org.apache.maven.lifecycle.internal.stub.LifecycleExecutionPlanCalculatorStub.POST_CLEAN;
    import static org.apache.maven.lifecycle.internal.stub.LifecycleExecutionPlanCalculatorStub.POST_SITE;
    import static org.apache.maven.lifecycle.internal.stub.LifecycleExecutionPlanCalculatorStub.PRE_CLEAN;
    import static org.apache.maven.lifecycle.internal.stub.LifecycleExecutionPlanCalculatorStub.PRE_SITE;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
Back to Top