Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 142 for forTask (0.15 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r21/CancellationCrossVersionSpec.groovy

            def resultHandler = new TestResultHandler()
    
            when:
            cancel.cancel()
            withConnection { ProjectConnection connection ->
                def build = connection.newBuild()
                build.forTasks('hang')
                build.withCancellationToken(cancel.token())
                build.run(resultHandler)
                resultHandler.finished()
            }
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/ProblemProgressEventCrossVersionTest.groovy

            """
        }
    
        def runTask() {
            def listener = new ProblemProgressListener()
            withConnection { connection ->
                connection.newBuild().forTasks('reportProblem')
                    .addProgressListener(listener)
                    .run()
            }
            return listener.problems.collect { it.descriptor }
        }
    
    
        @TargetGradleVersion("=8.3")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 11:36:58 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/security/index.md

    # Segurança
    
    Há várias formas de lidar segurança, autenticação e autorização.
    
    E isso normalmente é um tópico “difícil” e complexo.
    
    Em muitos frameworks e sistemas, apenas lidar com segurança e autenticação exige muito esforço e código (em muitos casos isso pode ser 50% ou mais de todo o código escrito).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jun 24 14:47:15 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r40/StandardStreamsCrossVersionSpec.groovy

            withConnection { ProjectConnection connection ->
                def build = connection.newBuild()
                build.standardOutput = output
                build.colorOutput = true
                build.forTasks("log")
                build.run()
            }
    
            then:
            output.toString().contains(escapeHeader)
    
            and:
            !stdOutAndErr.stdOut.contains(escapeHeader)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultModelBuilder.java

                    return model;
                }
            }, new ResultHandlerAdapter<T>(handler));
        }
    
        @Override
        public DefaultModelBuilder<T> forTasks(String... tasks) {
            // only set a non-null task list on the operationParamsBuilder if at least one task has been given to this method,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m3/ToolingApiLoggingCrossVersionSpec.groovy

            def output = new TestOutputStream()
            withConnection { ProjectConnection connection ->
                def build = connection.newBuild()
                build.standardOutput = output
                build.forTasks("log")
                build.run(resultHandler)
                sync.waitForAllPendingCalls(resultHandler)
                ConcurrentTestUtil.poll {
                    // Need to poll, as logging output is delivered asynchronously to client
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildBuildActionExecuterCrossVersionSpec.groovy

            toolingApi.withConnection { ProjectConnection connection ->
                def buildAction = connection.action(new LoadCompositeModel(GradleProject))
                collectOutputs(buildAction)
                buildAction.forTasks([':other-build:sub:doSomething'])
                buildAction.run()
            }
    
            then:
            stdout.toString().contains("do something")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ConcurrentToolingApiIntegrationSpec.groovy

                try {
                    def model = connection.getModel(IdeaProject)
                    assert model != null
                    //a bit more stress:
                    connection.newBuild().forTasks('tasks').run()
                } catch (Exception e) {
                    throw new RuntimeException("""We might have hit a concurrency problem.
    See the full stacktrace and the list of causes to investigate""", e);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r75/CustomTestTaskProgressEventCrossVersionTest.groovy

            ValidatingProgressEventListener validatingListener = new ValidatingProgressEventListener()
    
            when:
            withConnection {
                it.newBuild().forTasks('myTestTask').addProgressListener(validatingListener).run()
            }
    
            then:
            validatingListener.receivedCustomTestTaskProgressEvents()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r32/NonSerializableExceptionCrossVersionSpec.groovy

            when:
            createBuildFileForConfigurationPhaseCheck(exceptionNestingLevel)
            withConnection { connection ->
                connection.newBuild().forTasks("assemble").run()
            }
    
            then:
            def e = thrown(GradleConnectionException)
            def exceptionString = getStackTraceAsString(e)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top