Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 360 for promv1 (0.16 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/events/UserInputValidationProblemEvent.java

        private final String prompt;
    
        public UserInputValidationProblemEvent(long timestamp, String prompt) {
            super(timestamp, "prompt", LogLevel.QUIET, null);
            this.prompt = prompt;
        }
    
        @Override
        public void render(StyledTextOutput output) {
            output.text(prompt);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 05:02:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt

            param("channel", "adhoc")
            param("checks", "all")
            text("runs", "10", display = ParameterDisplay.PROMPT, allowEmpty = false)
            text("warmups", "3", display = ParameterDisplay.PROMPT, allowEmpty = false)
            text(
                "scenario",
                "",
                display = ParameterDisplay.PROMPT,
                allowEmpty = false,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. testing/integ-test/src/integTest/groovy/org/gradle/integtests/environment/BuildEnvironmentIntegrationTest.groovy

        }
    
        def "system properties should be made available to build"() {
            file('build.gradle') << """
                println('prop1=' + providers.systemProperty('prop1').get())
                task show {
                    doLast {
                        println('prop1=' + System.getProperty('prop1'))
                    }
                }
            """
            if (!GradleContextualExecuter.configCache) {
                buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/util/RerunFlakyTest.kt

                display = ParameterDisplay.PROMPT,
                allowEmpty = false,
                description = "The test task you want to run"
            )
            text(
                testNameParameterName,
                """org.gradle.api.tasks.CachedTaskExecutionIntegrationTest.outputs*are*correctly*loaded*from*cache""",
                display = ParameterDisplay.PROMPT,
                allowEmpty = false,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/launcher/daemon/protocol/DaemonMessageSerializerTest.groovy

        }
    
        def "can serialize yes-no question prompt event"() {
            expect:
            def event = new YesNoQuestionPromptEvent(123, 'prompt')
            def result = serialize(event, serializer)
            result instanceof YesNoQuestionPromptEvent
            result.question == 'prompt'
            result.timestamp == 123
        }
    
        def "can serialize boolean question prompt event"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/Prompter.java

         * @return the string entered by the user
         * @throws PrompterException if an exception occurs
         */
        @Nonnull
        default String prompt(@Nullable String message) throws PrompterException {
            return prompt(message, null, null);
        }
    
        /**
         * Prompts the user for a string using a default value.
         *
         * @param message the message to display
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Nov 17 15:52:15 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/UserInputHandlingIntegrationTest.groovy

                }
            """
            def prompt = "what? (default: <default>):"
    
            when:
            runWithInput("generate", prompt, "value")
    
            then:
            result.assertTaskNotSkipped(":generate")
            file("build/out.txt").text == "value"
    
            when:
            runWithInput("generate", prompt, "value")
    
            then:
            result.assertTaskSkipped(":generate")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/UserInputConsoleRendererTest.groovy

            0 * listener.onOutput(_)
            0 * prompt._
            0 * textArea._
            0 * userInput._
            renderer.eventQueue.empty
    
            when:
            renderer.onOutput(prompt)
    
            then:
            1 * console.getBuildOutputArea() >> textArea
            1 * prompt.render(textArea)
            1 * console.flush()
            1 * userInput.readAndForwardText(prompt)
    
            and:
            0 * console._
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 05:02:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r43/CapturingUserInputCrossVersionSpec.groovy

            }
    
            then:
            output.contains(PROMPT)
            output.contains(answerOutput(true))
        }
    
        def "cannot capture user input if standard input was not provided"() {
            when:
            withConnection { ProjectConnection connection ->
                runBuildWithoutStandardInput(connection)
            }
    
            then:
            !output.contains(PROMPT)
            output.contains(answerOutput(null))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 19:25:32 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. pkg/registry/core/service/storage/storage_test.go

    			expectClusterIPs: true,
    			prove:            prove(proveNumFamilies(1)),
    		},
    		update: svcTestCase{
    			svc: svctest.MakeService("foo", svctest.SetTypeClusterIP,
    				svctest.SetIPFamilyPolicy(api.IPFamilyPolicySingleStack),
    				svctest.SetSelector(map[string]string{"k2": "v2"})),
    			expectClusterIPs: true,
    			prove:            prove(proveNumFamilies(1)),
    		},
    	}, {
    		name: "single-dual",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
Back to top