- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 593 for mock (0.14 sec)
-
maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java
import static org.hamcrest.Matchers.endsWith; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.mockito.Mockito.calls; import static org.mockito.Mockito.inOrder; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.when; /** * @author Sebastien Doyon */ class DefaultClassRealmManagerTest {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Jan 10 12:53:42 GMT 2024 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FlushablesTest.java
// 'swallowException' when the mock does not throw an exception. setupFlushable(false); doFlush(mockFlushable, false, false); setupFlushable(false); doFlush(mockFlushable, true, false); } public void testFlush_flushableWithEatenException() throws IOException { // make sure that no exception is thrown if 'swallowException' is true // when the mock does throw an exception on flush.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.3K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/internal/impl/DefaultSessionTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.Mockito.mock; public class DefaultSessionTest { @Test void testRootDirectoryWithNull() { RepositorySystemSession rss = new DefaultRepositorySystemSession(h -> false);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Jan 25 13:58:24 GMT 2024 - 2.6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy
class JavadocLinkConverterTest extends XmlSpecification { final LinkRenderer linkRenderer = Mock() final TypeNameResolver nameResolver = Mock() final ClassMetaData classMetaData = Mock() final ClassMetaDataRepository<ClassMetaData> repository = Mock() final GenerationListener listener = Mock() final JavadocLinkConverter converter = new JavadocLinkConverter(document, nameResolver, linkRenderer, repository)
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 8.7K 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 >> '''
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 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'
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 8.4K bytes - Viewed (0) -
src/main/resources/fess_env_crawler.properties
# ---------------------------------------------------------- # Mail # ------ # Does it send mock mail? (true: no send actually, logging only) mail.send.mock = false # SMTP server settings for main: host:port mail.smtp.server.main.host.and.port = localhost:25 # The prefix of subject to show test environment or not mail.subject.test.prefix =
Properties - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Mon Jan 29 07:34:32 GMT 2018 - 2.2K bytes - Viewed (0) -
src/main/resources/fess_env_suggest.properties
# ---------------------------------------------------------- # Mail # ------ # Does it send mock mail? (true: no send actually, logging only) mail.send.mock = false # SMTP server settings for main: host:port mail.smtp.server.main.host.and.port = localhost:25 # The prefix of subject to show test environment or not mail.subject.test.prefix =
Properties - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Mon Jan 29 07:34:32 GMT 2018 - 2.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloseablesTest.java
// 'swallowException' when the mock does not throw an exception. setupCloseable(false); doClose(mockCloseable, false, false); setupCloseable(false); doClose(mockCloseable, true, false); } public void testClose_closeableWithEatenException() throws IOException { // make sure that no exception is thrown if 'swallowException' is true // when the mock does throw an exception. setupCloseable(true);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/DefaultLifecyclesStub.java
import org.codehaus.plexus.component.repository.exception.ComponentLookupException; import static org.apache.maven.lifecycle.internal.stub.LifecycleExecutionPlanCalculatorStub.*; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; /** */ public class DefaultLifecyclesStub { public static DefaultLifecycles createDefaultLifecycles() throws ComponentLookupException {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 3.2K bytes - Viewed (0)