Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 471 for defn (0.07 sec)

  1. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/FullExceptionFormatterTest.groovy

    import org.gradle.internal.serialize.PlaceholderException
    import spock.lang.Specification
    
    class FullExceptionFormatterTest extends Specification {
        def testDescriptor = new SimpleTestDescriptor()
        def testLogging = Mock(TestLogging)
        def formatter = new FullExceptionFormatter(testLogging)
    
        def "shows all exceptions that have occurred for a test"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonFactoryTest.groovy

        def workingDir = new File("some-dir")
        def projectCacheDir = new File("some-cache-dir")
        def options = Stub(DaemonForkOptions)
        def requirement = new ForkedWorkerRequirement(workingDir, projectCacheDir, options)
        def spec = Stub(IsolatedParametersActionExecutionSpec)
    
        def setup() {
            _ * buildOperationRunner.getCurrentOperation() >> buildOperation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiStreamingBuildActionIntegrationTest.groovy

        def setup() {
            file("settings.gradle") << 'rootProject.name="hello-world"'
        }
    
        def "models are streamed on build action cache hit"() {
            def listener1 = new TestStreamedValueListener()
            def listener2 = new TestStreamedValueListener()
    
            when:
            withIsolatedProjects()
            def model = runBuildAction(new ModelStreamingBuildAction()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r51/TransformProgressEventCrossVersionSpec.groovy

    class TransformProgressEventCrossVersionSpec extends ToolingApiSpecification {
    
        def events = ProgressEvents.create()
    
        def setup() {
            settingsFile << """
                include 'lib', 'app'
            """
            buildFile << """
                import org.gradle.api.artifacts.transform.TransformParameters
    
                def artifactType = Attribute.of('artifactType', String)
                subprojects {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/logging/LoggingBuildOperationProgressIntegTest.groovy

                }
    
                def threaded(Closure action) {
                    Thread.start(action).join()
                }
            """
    
            when:
            succeeds("all")
    
            then:
            10.times { projectCount ->
                def allExecutionOp = operations.only("Execute doLast {} action for :project-${projectCount}:all")
                def allExecutionOpTaskProgresses = allExecutionOp.progress
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy

            "explicitly enabled"        | true
        }
    
        def "cleans up entries even if gradle user home cache cleanup is disabled via #cleanupMethod"() {
            def lastCleanupCheck = initializeHome()
    
            disableCacheCleanup(cleanupMethod)
    
            when:
            def newTrashFile = temporaryFolder.file("0" * hashStringLength).createFile()
            def oldTrashFile = temporaryFolder.file("1" * hashStringLength).createFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r213/ModelsWithGradleProjectIdentifierCrossVersionSpec.groovy

        TestFile rootMulti
    
        def setup() {
            rootSingle = singleProjectBuild("A")
            rootMulti = multiProjectBuild("B", ['x', 'y'])
        }
    
        @TargetGradleVersion(">=3.0")
        def "ProjectConnection provides identified models for single project build"() {
            when:
            def gradleProject = getModelWithProjectConnection(rootSingle, GradleProject)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileToolchainIntegrationTest.groovy

        }
    
        def "uses #what toolchain #when (without java base plugin)"() {
            def currentJdk = Jvm.current()
            def otherJdk = AvailableJavaHomes.differentVersion
            def selectJdk = { it == "other" ? otherJdk : it == "current" ? currentJdk : null }
    
            def compileWithVersion = [currentJdk, otherJdk].collect { it.javaVersion }.min()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/ProblemProgressEventCrossVersionTest.groovy

                    void run() {
                        $taskActionMethodBody
                    }
                }
    
                tasks.register("reportProblem", ProblemReportingTask)
            """
        }
    
        def runTask() {
            def listener = new ProblemProgressListener()
            withConnection { connection ->
                connection.newBuild().forTasks('reportProblem')
                    .addProgressListener(listener)
                    .run()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 11:36:58 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/ErrorHandlingModuleComponentRepositoryTest.groovy

        private static final String REPOSITORY_ID = 'abc'
        def delegate = Mock(ModuleComponentRepositoryAccess)
        def repositoryBlacklister = Mock(RepositoryDisabler)
    
        @Shared
        def runtimeError = new RuntimeException('Something went wrong')
        @Shared
        def socketError = new SocketException()
        @Shared
        def connectTimeout = new SocketTimeoutException()
        @Shared
        def cannotConnect = new HttpHostConnectException(null, null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top