Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 117 for mockito (0.2 sec)

  1. platforms/documentation/docs/src/snippets/testing/test-suite-multi-configure-each-matching/kotlin/build.gradle.kts

        doLast {
            assert(testRuntimeClasspath.files.size == 13)
            assert(testRuntimeClasspath.files.any { it.name == "mockito-junit-jupiter-4.6.1.jar" })
            assert(integrationTestRuntimeClasspath.files.size == 13)
            assert(integrationTestRuntimeClasspath.files.any { it.name == "mockito-junit-jupiter-4.6.1.jar" })
            assert(functionalTestRuntimeClasspath.files.size == 3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/graph/ProjectSelectorTest.java

    import static org.hamcrest.Matchers.notNullValue;
    import static org.hamcrest.Matchers.nullValue;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    class ProjectSelectorTest {
        private final ProjectSelector sut = new ProjectSelector();
        private final MavenExecutionRequest mavenExecutionRequest = mock(MavenExecutionRequest.class);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheBuildOperationsTest.kt

    import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider
    import org.hamcrest.CoreMatchers.equalTo
    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Rule
    import org.junit.Test
    import org.mockito.ArgumentCaptor
    import org.mockito.ArgumentMatchers.any
    import java.util.UUID
    
    
    class ConfigurationCacheBuildOperationsTest {
        @JvmField
        @Rule
        val testDirectoryProvider = TestNameTestDirectoryProvider(javaClass)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/integTest/groovy/org/gradle/internal/serialize/ExceptionPlaceholderIntegrationTest.groovy

            """
    
            file('src/test/java/example/Issue1618Test.java') << '''
                package example;
    
                import org.junit.Test;
    
                import static org.mockito.Mockito.doThrow;
                import static org.mockito.Mockito.mock;
    
                public class Issue1618Test {
    
                    public static class Bugger {
                        public void run() {
                        }
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:58:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractCrossTaskIncrementalCompilationIntegrationTest.groovy

            then:
            file("impl/classpath.txt").text == wrapClassDirs("mockito-core-1.9.5.jar, junit-4.13.jar, hamcrest-core-1.3.jar, objenesis-1.0.jar")
    
            when: //project dependency changes
            source api: ["class A { String change; }"]
            run("impl:${language.compileTaskName}")
    
            then:
            file("impl/classpath.txt").text == wrapClassDirs("mockito-core-1.9.5.jar, junit-4.13.jar, hamcrest-core-1.3.jar, objenesis-1.0.jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:55:46 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/testing/test-suite-multi-configure-each-extracted/kotlin/build.gradle.kts

        doLast {
            assert(testRuntimeClasspath.files.size == 13)
            assert(testRuntimeClasspath.files.any { it.name == "mockito-junit-jupiter-4.6.1.jar" })
            assert(integrationTestRuntimeClasspath.files.size == 13)
            assert(integrationTestRuntimeClasspath.files.any { it.name == "mockito-junit-jupiter-4.6.1.jar" })
            assert(functionalTestRuntimeClasspath.files.size == 3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. maven-api-impl/pom.xml

          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.mockito</groupId>
          <artifactId>mockito-core</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.mockito</groupId>
          <artifactId>mockito-junit-jupiter</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 14:07:09 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/testing/test-suite-multi-configure-each-matching/groovy/build.gradle

        doLast {
            assert testRuntimeClasspath.files.size() == 13
            assert testRuntimeClasspath.files.any { it.name == "mockito-junit-jupiter-4.6.1.jar" }
            assert integrationTestRuntimeClasspath.files.size() == 13
            assert integrationTestRuntimeClasspath.files.any { it.name == "mockito-junit-jupiter-4.6.1.jar" }
            assert functionalTestRuntimeClasspath.files.size() == 3
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.mockito.ArgumentMatchers.any;
    import static org.mockito.ArgumentMatchers.anyBoolean;
    import static org.mockito.ArgumentMatchers.anyList;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    class DefaultGraphBuilderTest {
        /*
        The multi-module structure in this project is displayed as follows:
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 05 09:23:26 UTC 2023
    - 27.8K bytes
    - Viewed (0)
  10. 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;
    
    /**
     */
    @Deprecated
    class ArtifactDeployerTest extends AbstractArtifactComponentTestCase {
        @Inject
        private ArtifactDeployer artifactDeployer;
    
        @Inject
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top