- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 119 for mockk (0.04 sec)
-
cni/pkg/nodeagent/informers_test.go
client := kube.NewFakeClient(ns, pod) // We are expecting at most 1 calls to the mock, wait for them wg, waitForMockCalls := NewWaitForNCalls(t, 1) fs := &fakeServer{testWG: wg} fs.On("AddPodToMesh", ctx, mock.IsType(pod), util.GetPodIPsIfPresent(pod), "", ).Return(nil) server := getFakeDP(fs, client.Kube())
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 22.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jan 05 19:41:03 UTC 2023 - 2.5K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy
import gradlebuild.docs.dsl.source.model.MethodMetaData class JavadocConverterTest extends XmlSpecification { final ClassMetaData classMetaData = Mock() final JavadocLinkConverter linkConverter = Mock() final GenerationListener listener = Mock() final JavadocConverter parser = new JavadocConverter(document, linkConverter) def respectsLineIndentation() { _ * classMetaData.rawCommentText >> '''
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 14.2K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy
def doc = new ClassDoc('org.gradle.Class', content, document, classMetaData, null) new ClassDocPropertiesBuilder(javadocConverter, Mock(GenerationListener)).build(doc) new ClassDocMethodsBuilder(javadocConverter, Mock(GenerationListener)).build(doc) doc } then: doc.classProperties.size() == 2 doc.classProperties[0].name == 'block'
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 8.4K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy
} def visitsSignature() { TypeMetaData.SignatureVisitor visitor = Mock() when: type.visitSignature(visitor) then: 1 * visitor.visitType('org.gradle.SomeType') 0 * visitor._ } def visitsSignatureForArrayType() { TypeMetaData.SignatureVisitor visitor = Mock() type.arrayDimensions = 2 when:
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
private ByteArrayInputStream buffer; @SuppressWarnings("DoNotMock") @Override protected void setUp() throws Exception { super.setUp(); hasher = mock(Hasher.class); hashFunction = mock(HashFunction.class); buffer = new ByteArrayInputStream(testBytes); when(hashFunction.newHasher()).thenReturn(hasher); } public void testRead_putSingleByte() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 02 16:24:50 UTC 2020 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
private ByteArrayInputStream buffer; @SuppressWarnings("DoNotMock") @Override protected void setUp() throws Exception { super.setUp(); hasher = mock(Hasher.class); hashFunction = mock(HashFunction.class); buffer = new ByteArrayInputStream(testBytes); when(hashFunction.newHasher()).thenReturn(hasher); } public void testRead_putSingleByte() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 02 16:24:50 UTC 2020 - 5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java
import org.apache.maven.session.scope.internal.SessionScope; import org.junit.jupiter.api.Test; import static org.codehaus.plexus.testing.PlexusExtension.getBasedir; import static org.mockito.Mockito.mock; /** */ @Deprecated class ArtifactInstallerTest extends AbstractArtifactComponentTestCase { @Inject private ArtifactInstaller artifactInstaller; @Inject private SessionScope sessionScope;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java
/** * Get the value for the key 'mail.send.mock'. <br> * The value is, e.g. true <br> * comment: Does it send mock mail? (true: no send actually, logging only) * @return The value of found property. (NotNull: if not found, exception but basically no way) */ String getMailSendMock(); /** * Is the property for the key 'mail.send.mock' true? <br> * The value is, e.g. true <br>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.9K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 7.5K bytes - Viewed (0)