Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for getDebugOptions (0.22 sec)

  1. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/TestExecutionBuildTaskSchedulerTest.groovy

            testTask = Mock()
            testFilter = Mock()
            context = Stub()
    
            debugOptions = Mock()
            debugOptions.isDebugMode() >> false
            testExecutionRequest.getDebugOptions() >> debugOptions
            testExecutionRequest.getTaskSpecs() >> []
    
            setupProject()
            setupTestTask()
        }
    
        private void setupProject() {
            _ * gradleInternal.owner >> buildState
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/JavaExec.java

        public void setDebug(boolean enabled) {
            javaExecSpec.setDebug(enabled);
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        public JavaDebugOptions getDebugOptions() {
            return javaExecSpec.getDebugOptions();
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        public void debugOptions(Action<JavaDebugOptions> action) {
            javaExecSpec.debugOptions(action);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecActionFactory.java

            @Override
            public void setDebug(boolean enabled) {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public JavaDebugOptions getDebugOptions() {
                return delegate.getDebugOptions();
            }
    
            @Override
            public void debugOptions(Action<JavaDebugOptions> action) {
                throw new UnsupportedOperationException();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 10 06:16:11 UTC 2023
    - 24K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/TestExecutionBuildConfigurationAction.java

            test.getFilter().setFailOnNoMatchingTests(false);
            test.getOutputs().upToDateWhen(Specs.SATISFIES_NONE);
            if (test instanceof Test) {
                InternalDebugOptions debugOptions = testExecutionRequest.getDebugOptions();
                if (debugOptions.isDebugMode()) {
                    ((Test) test).debugOptions(javaDebugOptions -> {
                        DefaultJavaDebugOptions options = (DefaultJavaDebugOptions) javaDebugOptions;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/process/internal/JvmOptionsTest.groovy

            then:
            1 * target.systemProperties({
                it == new TreeMap(["file.encoding": "UTF-16"] + localeProperties())
            })
            1 * target.getDebugOptions() >> new DefaultJavaDebugOptions()
        }
    
        def "copyTo copies debugOptions"() {
            JavaDebugOptions debugOptions = new DefaultJavaDebugOptions();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/process/JavaForkOptions.java

         * will be appended to the JVM arguments with the configuration from the parameter.
         *
         * @since 5.6
         */
        @Nested
        JavaDebugOptions getDebugOptions();
    
        /**
         * Configures Java Debug Wire Protocol properties for the process. If {@link #setDebug(boolean)} is enabled then
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  7. platforms/jvm/language-jvm/src/main/java/org/gradle/api/tasks/compile/CompileOptions.java

        public void setDebug(boolean debug) {
            this.debug = debug;
        }
    
        /**
         * Returns options for generating debugging information.
         */
        @Nested
        public DebugOptions getDebugOptions() {
            return debugOptions;
        }
    
        /**
         * Sets options for generating debugging information.
         */
        public void setDebugOptions(DebugOptions debugOptions) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/Test.java

        public void setDebug(boolean enabled) {
            forkOptions.setDebug(enabled);
        }
    
    
        /**
         * {@inheritDoc}
         */
        @Override
        public JavaDebugOptions getDebugOptions() {
            return forkOptions.getDebugOptions();
        }
    
        /**
         * {@inheritDoc}
         */
        @Override
        public void debugOptions(Action<JavaDebugOptions> action) {
            forkOptions.debugOptions(action);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 42.6K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/util/DefaultJavaForkOptionsTest.groovy

            1 * target.setMinHeapSize('64m')
            1 * target.setMaxHeapSize('1g')
            1 * target.bootstrapClasspath(_)
            1 * target.setEnableAssertions(false)
            1 * target.getDebugOptions() >> new DefaultJavaDebugOptions()
    
            then:
            1 * target.jvmArgs(['argFromProvider'])
        }
    
        def "defaults are compatible"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/action/BuildActionSerializer.java

                    value.getTestExecutionDescriptors(),
                    value.getTestClassNames(),
                    value.getInternalJvmTestRequests(),
                    value.getDebugOptions(),
                    value.getTaskAndTests(),
                    value.isRunDefaultTasks()
                ));
    
                encoder.writeSmallInt(value.getTaskSpecs().size());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 30.1K bytes
    - Viewed (0)
Back to top