Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,382 for tolist (0.11 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r32/NonSerializableExceptionCrossVersionSpec.groovy

            exceptionNestingLevel << (0..2).toList()
        }
    
        def createBuildFileForExecutionPhaseCheck(int exceptionNestingLevel) {
            file('build.gradle') << """
    class CustomException extends Exception {
        Thread thread = Thread.currentThread() // non-serializable field
        CustomException(String msg) {
            super(msg)
        }
    }
    
    task run {
        doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/IndexPageGenerator.java

                }
    
                @Override
                protected List<PerformanceReportScenario> getCrossVersionScenarios() {
                    return executionDataProvider.getReportScenarios().stream().filter(PerformanceReportScenario::isCrossVersion).collect(toList());
                }
    
                @Override
                protected List<PerformanceReportScenario> getCrossBuildScenarios() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributeSelectionSchemaTest.groovy

            AttributeContainer requested = attribute(attr1, "v3")
    
            when:
            def extraAttributes = schema.collectExtraAttributes(candidates, requested).toList()
    
            then:
            extraAttributes.contains(attr2)
            !extraAttributes.contains(attr1)
        }
    
        def "collects extra attributes, two candidates"() {
            def attr1 = Attribute.of("foo", String)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 20:17:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/JSSETest.kt

        when {
          PlatformVersion.majorVersion > 11 ->
            assertThat(s.enabledProtocols.toList()).containsExactly(
              "TLSv1.3",
              "TLSv1.2",
            )
          // Not much we can guarantee on JDK 11.
          PlatformVersion.majorVersion == 11 ->
            assertThat(s.enabledProtocols.toList()).contains(
              "TLSv1.2",
            )
          // JDK 8 291 removed older versions
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/IsolatedProjectsSafeGradleProjectBuilder.java

            Collection<Project> children,
            List<IsolatedGradleProjectInternal> isolatedChildrenModels
        ) {
            return Streams.zip(children.stream(), isolatedChildrenModels.stream(), (c, ic) -> build(rootProject, (ProjectInternal) c, ic, parameter))
                .map(it -> it.setParent(parent))
                .collect(toList());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 19:17:44 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/FileToRawModelMerger.java

            builder.dependencies(target.getDependencies().stream()
                    .map(d -> mergeDependency(d, sourceIterator.next(), sourceDominant, context))
                    .collect(Collectors.toList()));
        }
    
        @Override
        protected void mergeDependency_Exclusions(
                Dependency.Builder builder,
                Dependency target,
                Dependency source,
                boolean sourceDominant,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

                    })
                    .map(Method::getName)
                    .collect(Collectors.toList());
    
            List<String> overriddenMethods = Stream.of(FileToRawModelMerger.class.getDeclaredMethods())
                    .map(Method::getName)
                    .filter(m -> m.startsWith("merge"))
                    .collect(Collectors.toList());
    
            assertThat(overriddenMethods, hasItems(methodNames.toArray(new String[0])));
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractFileSystemNodeWithChildrenTest.groovy

            ['name/some', 'name2/other'],
            ['name', 'name1/some', 'name2/other/third'],
            ['aa/b1', 'ab/a1', 'name', 'name1/some', 'name2/other/third'],
            ("a".."z").toList(),
            ("a".."z").collect { "$it/$it".toString() }.toList(),
        ]
    
        /**
         * The queried/updated path has no common prefix with any of the initial children of the node under test.
         *
         * E.g.
         *   path: 'name0/some
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleSourceDetectorTest.groovy

            static class B extends RuleSource {}
    
            static class A extends RuleSource {}
        }
    
        def "find model rule sources - #clazz"() {
            expect:
            detector.getDeclaredSources(clazz).toList() == expected
    
            where:
            clazz         | expected
            String        | []
            HasOneSource  | [HasOneSource.Source]
            HasTwoSources | [HasTwoSources.SourceOne, HasTwoSources.SourceTwo]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/execution/DryRunBuildExecutionActionTest.groovy

    import org.gradle.internal.SystemProperties
    import org.gradle.internal.logging.text.TestStyledTextOutputFactory
    import org.gradle.util.Path
    import spock.lang.Specification
    
    import static org.gradle.util.internal.WrapUtil.toList
    
    class DryRunBuildExecutionActionTest extends Specification {
        private static final String EOL = SystemProperties.instance.lineSeparator
        def delegate = Mock(BuildWorkExecutor)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 26 20:13:45 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top