Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 174 for normalizer (0.13 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/UserInputReceiver.java

         */
        void readAndForwardText(Normalizer normalizer);
    
        /**
         * Requests that bytes should be read from this process' stdin and forwarded to the daemon.
         * Does not block waiting for the input.
         */
        void readAndForwardStdin();
    
        interface Normalizer {
            /**
             * Validates and normalizes the given text received from the user.
             *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 05:03:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/ConfigurationCacheOutputCleaner.java

     * its output much. This normalizer allows to reuse the same "golden" output files when testing such
     * samples with the configuration cache enabled.
     */
    public class ConfigurationCacheOutputCleaner implements OutputNormalizer {
        // The configuration of the normalizers is static (defined in the annotations), so this
        // normalizer is going to be applied everywhere. We don't want, however, to remove configuration
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/DependencyInsightOutputNormalizerTest.groovy

     */
    
    package org.gradle.integtests.fixtures.logging
    
    import spock.lang.Specification
    
    class DependencyInsightOutputNormalizerTest extends Specification {
    
        def normalizer = new DependencyInsightOutputNormalizer()
    
        def 'normalizes single-digit requested JDK version in "new" dependencyInsight report'() {
            given:
            def originalOutput = '''
        | Attribute Name                 | Provided | Requested    |
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/PlatformInOutputNormalizer.groovy

     */
    package org.gradle.integtests.fixtures.logging
    
    import org.gradle.exemplar.executor.ExecutionMetadata
    import org.gradle.exemplar.test.normalizer.OutputNormalizer
    import org.gradle.internal.os.OperatingSystem
    import org.gradle.platform.internal.DefaultBuildPlatform
    
    /**
     * This normalizer converts toolchain error message so it doesn't contain platform-specific information.
     */
    class PlatformInOutputNormalizer implements OutputNormalizer {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/AbstractLineEndingSensitivityIntegrationSpec.groovy

            } else if (api == Api.RUNTIME_API) {
                Class<?> normalizer;
                if (inputAnnotation == Classpath) {
                    normalizer = ClasspathNormalizer
                } else if (inputAnnotation == CompileClasspath) {
                    normalizer = CompileClasspathNormalizer
                } else {
                    normalizer = null
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy

            ignoreEmptyDirectories && !normalizer && pathSensitivity != PathSensitivity.NONE ? "DIRECTORY_SENSITIVITY_IGNORE_DIRECTORIES" : "DIRECTORY_SENSITIVITY_DEFAULT"
        }
    
        static String attributeFromPathSensitivity(PathSensitivity pathSensitivity, Class<? extends FileNormalizer> normalizer) {
            if (normalizer) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarder.java

                            maybeClosed();
                            break;
                        } else {
                            String normalized = normalizer.normalize(input);
                            if (normalized != null) {
                                dispatch.dispatch(new UserResponse(normalized));
                                break;
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/NativeComponentReportOutputNormalizer.groovy

     * limitations under the License.
     */
    package org.gradle.integtests.fixtures.logging
    
    import org.gradle.exemplar.executor.ExecutionMetadata
    import org.gradle.exemplar.test.normalizer.OutputNormalizer
    
    /**
     * This normalizer converts native component paths and environment
     * information to look like macOS because samples output currently shows
     * the output for macOS and is not yet capable of adapting dynamically
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docsTest/java/org/gradle/docs/samples/BaseSamplesTest.java

     * limitations under the License.
     */
    
    package org.gradle.docs.samples;
    
    import org.gradle.exemplar.test.normalizer.FileSeparatorOutputNormalizer;
    import org.gradle.exemplar.test.normalizer.GradleOutputNormalizer;
    import org.gradle.exemplar.test.normalizer.JavaObjectSerializationOutputNormalizer;
    import org.gradle.exemplar.test.runner.SampleModifiers;
    import org.gradle.exemplar.test.runner.SamplesOutputNormalizers;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/TaskNodeCodec.kt

            val propertyName: String,
            val propertyValue: PropertyValue,
            val optional: Boolean,
            val filePropertyType: InputFilePropertyType,
            val behavior: InputBehavior,
            val normalizer: FileNormalizer?,
            val directorySensitivity: DirectorySensitivity,
            val lineEndingSensitivity: LineEndingSensitivity
        ) : RegisteredProperty()
    
        data class OutputFile(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top