Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 148 for defn (0.04 sec)

  1. platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy

        }
    
        def "the lock holder starts the release request only once and discards additional requests in the meantime"() {
            given:
            def requestReceived = false
            def terminate = false
            setupLockOwner {
                requestReceived = true
                while(!terminate) { Thread.sleep(100) } //block the release action thread
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/MissingTaskDependenciesIntegrationTest.groovy

        }
    
        def "ignores missing dependency if there is an #relation relation in the other direction"() {
            def sourceDir = "src"
            file(sourceDir).createDir()
            def outputDir = "build/output"
    
            buildFile """
                task firstTask {
                    inputs.dir("${sourceDir}")
                    def outputDir = file("${outputDir}")
                    outputs.dir(outputDir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 08:14:44 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiSpec.groovy

                    }
                }
            """
        }
    
        def <T> T fetchModel(Class<T> type = SomeToolingModel.class, String... tasks = null) {
            def model = null
            result = toolingApiExecutor.runBuildWithToolingConnection { connection ->
                def output = new ByteArrayOutputStream()
                def error = new ByteArrayOutputStream()
                def args = executer.allArgs
                args.remove("--no-daemon")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecationMessagesTest.groovy

        private identifier = new OperationIdentifier(2)
    
        def setup() {
            def diagnosticsFactory = new NoOpProblemDiagnosticsFactory()
    
            problemEmitter = Mock(ProblemEmitter)
            def currentBuildRef = Mock(CurrentBuildOperationRef)
    
            currentBuildRef.getId() >> identifier
    
            def buildOperationProgressEventEmitter = Mock(BuildOperationProgressEventEmitter)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r48/PhasedBuildActionCrossVersionSpec.groovy

            buildFinishedHandler.getResult() == "build"
        }
    
        def "failures from action are received and future actions not run"() {
            def projectsLoadedHandler = new IntermediateResultHandlerCollector()
            def buildFinishedHandler = new IntermediateResultHandlerCollector()
    
            when:
            withConnection { connection ->
                def action = connection.action()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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