Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ApplyInstrumentationAgentOption (0.26 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/configuration/DaemonBuildOptions.java

         */
        public static class ApplyInstrumentationAgentOption extends BooleanBuildOption<DaemonParameters> {
            public static final String GRADLE_PROPERTY = "org.gradle.internal.instrumentation.agent";
    
            public ApplyInstrumentationAgentOption() {
                super(GRADLE_PROPERTY);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 19:00:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/instrumentation-agent-services/src/integTest/groovy/org/gradle/internal/instrumentation/agent/AgentApplicationTest.groovy

        }
    
        private void withAgent() {
            withAgentApplied(true)
        }
    
        private void withAgentApplied(boolean shouldApply) {
            executer.withArgument("-D${DaemonBuildOptions.ApplyInstrumentationAgentOption.GRADLE_PROPERTY}=$shouldApply")
        }
    
        private void withoutAgent() {
            withAgentApplied(false)
        }
    
        DaemonLogsAnalyzer getDaemons() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

            }
    
            boolean hasAgentArgument = args.stream().anyMatch(s -> s.contains(DaemonBuildOptions.ApplyInstrumentationAgentOption.GRADLE_PROPERTY));
            if (!hasAgentArgument && !isAgentInstrumentationEnabled()) {
                allArgs.add("-D" + DaemonBuildOptions.ApplyInstrumentationAgentOption.GRADLE_PROPERTY + "=false");
            }
    
            allArgs.addAll(args);
            allArgs.addAll(tasks);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java

            boolean isInstrumentationEnabledForProcess = isAgentInstrumentationEnabled();
            boolean differentInstrumentationRequested = getAllArgs().stream().anyMatch(
                ("-D" + DaemonBuildOptions.ApplyInstrumentationAgentOption.GRADLE_PROPERTY + "=" + !isInstrumentationEnabledForProcess)::equals);
            return differentInstrumentationRequested;
        }
    
        private <T extends ExecutionResult> T assertResult(T result) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top