Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for SplitN (1.03 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationIntegrationTest.groovy

        // Note that all tests use a relative path to the script because its absolute path may contain
        // spaces and it breaks logic String.execute which splits the given string at spaces without
        // any options to escape the space.
        ShellScript baseScript = ShellScript.builder().printEnvironmentVariable('FOOBAR').printWorkingDir().writeTo(testDirectory, "test")
    
        def setup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/tasks/PerformanceTest.groovy

            projectName.set(project.name)
        }
    
        private boolean containsSpecialVersions() {
            return baselines.getOrElse("")
                .split(",")
                .collect { it.toString().trim() }
                .any { NON_CACHEABLE_VERSIONS.contains(it) }
        }
    
        private boolean isFlakinessDetection() {
            return channel.startsWith("flakiness-detection")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Dec 03 03:46:18 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSkipCacheIntegrationTest.groovy

            and:
            configurationCacheRun "myTask"
    
            then:
            outputContains("foo")
            configurationCache.assertStateLoaded()
    
            when:
            def commandLineArgs = commandLine.split("\\s+")
            executer.withArguments(commandLineArgs)
            configurationCacheRun "myTask"
    
            then:
            outputContains("bar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiBuildActionIntegrationTest.groovy

            buildFile << """
                plugins.apply(my.MyPlugin)
            """
            file("a/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
            // Intentionally don't apply to project b. Should split this case (some projects don't have the model available) out into a separate test
    
            when:
            executer.withArguments(ENABLE_CLI)
            def model = runBuildAction(new FetchCustomModelForEachProject())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFeaturesIntegrationTest.groovy

        }
    
        enum DynamicVersionScenario {
            SINGLE_REPO, MATCHING_REPO_PLUS_404
    
            @Override
            String toString() {
                super.toString().split('_').collect { it.toLowerCase() }.join(' ')
            }
        }
    
        private static String repositoriesBlockFor(List<RepoFixture> fixtures) {
            """
                repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 33K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy

            "<ul><li><ul><li>text<li>text"            | "<ul><li><ul><li>text</li><li>text</li></ul></li></ul>"
        }
    
        def "splits para on block content"() {
            expect:
            parse(source) == transformed
    
            where:
            source                      | transformed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.5K bytes
    - Viewed (0)
  7. .github/workflows/CheckBadMerge.groovy

                .collect { it.trim() }
                .grep { !it.isEmpty() }
        }
    
        static List<String> parentCommitsOf(String commit) {
            return getStdout("git show --format=%P --no-patch $commit")
                .split(" ").collect { it.trim() }.grep { !it.isEmpty() }
        }
    
        @groovy.transform.ToString
        static class ExecResult {
            String stdout
            String stderr
            int returnCode
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 10:35:44 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            def blocksTable = withCategories { blocksSection ? blocksSection.table[0] : parse('<table/>') }
            _ * classDoc.simpleName >> name.split('\\.').last()
            _ * classDoc.name >> name
            _ * classDoc.id >> (args.id ?: name)
            _ * classDoc.classSection >> content
            _ * classDoc.propertiesSection >> propertiesSection
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsFixture.groovy

        }
    
        private void assertModelsQueried(HasIntermediateDetails details) {
            def models = modelRequests().toSorted { it.buildTreePath }
            def (buildScopedModels, projectScopedModels) = models.split { it.buildScoped }
            assert buildScopedModels.size() == details.buildModelQueries
    
            // Count of 0 is a special case used by `modelsQueriedAndNotPresent`
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. build-logic/performance-testing/src/main/groovy/gradlebuild/performance/generator/DependencyGenerator.groovy

     */
    
    package gradlebuild.performance.generator
    /**
     * Generates project dependencies for generated test projects used in performance tests
     *
     * In order to generate realistic project dependencies, we split the projects to layers and generate
     * dependencies to projects in lower layers. The sizes of different layers are created so that
     * the first and last layers are the smallest and the layers in the middle are the largest.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.2K bytes
    - Viewed (0)
Back to top