- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 591 for mock (0.16 sec)
-
maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
import org.codehaus.plexus.testing.PlexusTest; import org.eclipse.aether.DefaultRepositorySystemSession; import org.junit.jupiter.api.BeforeEach; import static org.junit.jupiter.api.Assertions.fail; import static org.mockito.Mockito.mock; /** */ @PlexusTest public abstract class AbstractMavenProjectTestCase { protected ProjectBuilder projectBuilder; @Inject protected RepositorySystem repositorySystem; @Inject
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
*/ package com.google.common.collect; import static java.lang.reflect.Modifier.STATIC; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.atLeast; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; import com.google.common.base.Function; import com.google.common.collect.testing.MapTestSuiteBuilder;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingMapTest.java
*/ package com.google.common.collect; import static java.lang.reflect.Modifier.STATIC; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.atLeast; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNoMoreInteractions; import com.google.common.base.Function; import com.google.common.collect.testing.MapTestSuiteBuilder;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 12.7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java
import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.arrayWithSize; import static org.hamcrest.Matchers.hasSize; import static org.hamcrest.Matchers.is; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; /** */ @PlexusTest class DefaultLifecyclesTest { @Inject private DefaultLifecycles defaultLifeCycles; @Test void testDefaultLifecycles() {
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.3K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java
import static org.codehaus.plexus.testing.PlexusExtension.getBasedir; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; /** */ class ArtifactDeployerTest extends AbstractArtifactComponentTestCase { @Inject private ArtifactDeployer artifactDeployer; @Inject private SessionScope sessionScope;
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.8K bytes - Viewed (0) -
cni/pkg/nodeagent/server_test.go
UID: types.UID("test"), Annotations: map[string]string{ constants.AmbientRedirection: constants.AmbientRedirectionEnabled, }, }, } } type fakeServer struct { mock.Mock testWG *WaitGroup // optional waitgroup, if code under test makes a number of async calls to fakeServer } func (f *fakeServer) AddPodToMesh(ctx context.Context, pod *corev1.Pod, podIPs []netip.Addr, netNs string) error {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 7.8K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
TestDomainObject value1 = new TestDomainObject('a') TestDomainObject value2 = new TestDomainObject('a') repository.put('class1', value1) repository.put('class2', value2) Closure cl = Mock() when: repository.each(cl) then: 1 * cl.call(['class1', value1] as Object[]) 1 * cl.call(['class2', value2] as Object[]) 0 * cl._ }
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Sat Apr 06 02:21:33 GMT 2024 - 3.8K bytes - Viewed (0) -
docs/en/docs/advanced/testing-dependencies.md
This provider might be charging you per request, and calling it might take some extra time than if you had a fixed mock user for tests. You probably want to test the external provider once, but not necessarily call it for every test that runs. In this case, you can override the dependency that calls that provider, and use a custom dependency that returns a mock user, only for your tests. ### Use the `app.dependency_overrides` attribute
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Tue Oct 17 05:59:11 GMT 2023 - 2.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt
King, the Queen, and Alice, were in custody and under sentence of execution. Then the Queen left off, quite out of breath, and said to Alice, `Have you seen the Mock Turtle yet?' `No,' said Alice. `I don't even know what a Mock Turtle is.' `It's the thing Mock Turtle Soup is made from,' said the Queen. `I never saw one, or heard of one,' said Alice. `Come on, then,' said the Queen, `and he shall tell you his
Plain Text - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 145.2K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java
import org.codehaus.plexus.testing.PlexusTest; import org.eclipse.sisu.Typed; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNotSame;
Java - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Mon Feb 05 09:45:47 GMT 2024 - 3.9K bytes - Viewed (0)