Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for normaliseFileAndLineSeparators (0.32 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/integtests/ExecIntegrationTest.groovy

                    standardOutput = output
                    doLast {
                        assert testFile.exists()
                        assert normaliseFileAndLineSeparators(output.toString()) == "Created file \${normaliseFileAndLineSeparators(testFile.canonicalPath)}\\n"
                    }
                    assert delegate instanceof ExtensionAware
                }
    
                task execProjectMethod {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousWorkerDaemonServiceIntegrationTest.groovy

                abstract class DaemonTask extends DefaultTask {
                    @InputFile
                    File inputFile = new File("${TextUtil.normaliseFileAndLineSeparators(inputFile.absolutePath)}")
    
                    @OutputFile
                    File outputFile = new File("${TextUtil.normaliseFileAndLineSeparators(workerDaemonIdentityFile.absolutePath)}")
    
                    @Inject
                    abstract WorkerExecutor getWorkerExecutor()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/plugins/JavaGradlePluginPluginTestKitSetupIntegrationTest.groovy

    import static org.gradle.plugin.devel.tasks.PluginUnderTestMetadata.METADATA_FILE_NAME
    import static org.gradle.util.internal.TextUtil.normaliseFileAndLineSeparators
    
    class JavaGradlePluginPluginTestKitSetupIntegrationTest extends AbstractIntegrationSpec {
    
        private static final String PLUGIN_UNDER_TEST_METADATA_TASK_PATH = ":$PLUGIN_UNDER_TEST_METADATA_TASK_NAME"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/util/TextUtil.java

            if (s.length() > end) {
                return s.substring(0, index) + s.substring(end);
            }
            return s.substring(0, index);
        }
    
        public static String normaliseFileAndLineSeparators(String in) {
            logDeprecation();
            return normaliseLineSeparatorsInternal(normaliseFileSeparatorsInternal(in));
        }
    
        public static String camelToKebabCase(String camelCase) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java

            if (s.length() > end) {
                return s.substring(0, index) + s.substring(end);
            }
            return s.substring(0, index);
        }
    
        public static String normaliseFileAndLineSeparators(String in) {
            return normaliseLineSeparators(normaliseFileSeparators(in));
        }
    
        public static String camelToKebabCase(String camelCase) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/validation/ValidationMessageCheckerTest.groovy

            }
        }
    
        private void render(String message) {
            condition = new VerificationFixture(message)
        }
    
        static String normalize(String input) {
            TextUtil.normaliseFileAndLineSeparators(input)
                .replaceAll(Pattern.quote(GradleVersion.current().version), "current")
                .trim()
        }
    
        @CompileStatic
        private static class VerificationFixture {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 25.5K bytes
    - Viewed (0)
Back to top