Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for toPlatformLineSeparators (0.44 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/TreeFormatterTest.groovy

            formatter.node(toPlatformLineSeparators("multiple\nlines"))
            formatter.node(toPlatformLineSeparators("another\nchild"))
            formatter.endChildren()
            formatter.node(toPlatformLineSeparators("one\ntwo"))
            formatter.endChildren()
    
            then:
            formatter.toString() == toPlatformLineSeparators("""Multiple
    lines:
      - child 1:
          - multiple
            lines
          - another
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/ModuleVersionNotFoundExceptionTest.groovy

    import static org.gradle.api.internal.artifacts.DefaultModuleVersionIdentifier.newId
    import static org.gradle.internal.component.external.model.DefaultModuleComponentSelector.newSelector
    import static org.gradle.util.internal.TextUtil.toPlatformLineSeparators
    
    class ModuleVersionNotFoundExceptionTest extends Specification {
        static ModuleIdentifier mid(String group, String name) {
            DefaultModuleIdentifier.newId(group, name)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/process/internal/WorkerProcessIntegrationTest.groovy

            then:
            outputEventListener.toString().contains(TextUtil.toPlatformLineSeparators("[ERROR] [system.err] <Normal>this is stderr\n</Normal>]"))
            outputEventListener.toString().contains(TextUtil.toPlatformLineSeparators("[QUIET] [system.out] <Normal>this is stdout\n</Normal>]"))
        }
    
        def "log level and categories are preserved when forwarded to main process"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  4. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MavenConversionIntegrationTest.groovy

            conventionPluginScript.text.contains(TextUtil.toPlatformLineSeparators('''
    java {
        withSourcesJar()
    }'''))
    
            implSubprojectBuildFile.text.contains("publishing.publications.maven.artifact(testsJar)") || implSubprojectBuildFile.text.contains('(publishing.publications["maven"] as MavenPublication).artifact(testsJar)')
            implSubprojectBuildFile.text.contains(TextUtil.toPlatformLineSeparators('''
    java {
        withJavadocJar()
    }'''))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 15:23:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/LoggingDeprecatedFeatureHandlerTest.groovy

            events.size() == 2
    
            and:
            events[0].message == TextUtil.toPlatformLineSeparators("""feature1 removal
    \tat some.KotlinGradleScript.foo(GradleScript.gradle.kts:31337)
    \t(Run with --stacktrace to get the full stack trace of this deprecation warning.)""")
            events[1].message == TextUtil.toPlatformLineSeparators("""feature1 removal
    \tat some.KotlinGradleScript.foo(GradleScript.gradle.kts:7)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 16:09:54 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ManagedModelInitializerTest.groovy

            when:
            realizeNodeOfType(ManagedWithInvalidModelMap)
    
            then:
            def ex = thrown(ModelRuleExecutionException)
            ex.cause.message == TextUtil.toPlatformLineSeparators("""A model element of type: '${fullyQualifiedNameOf(ManagedWithInvalidModelMap)}' can not be constructed.
    Its property 'org.gradle.model.ModelMap<java.io.FileInputStream> map' is not a valid managed collection
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/DefaultArtifactVariantSelectorFactoryTest.groovy

    import org.gradle.util.AttributeTestUtil
    import spock.lang.Specification
    
    import static org.gradle.api.artifacts.type.ArtifactTypeDefinition.ARTIFACT_TYPE_ATTRIBUTE
    import static org.gradle.util.internal.TextUtil.toPlatformLineSeparators
    
    class DefaultArtifactVariantSelectorFactoryTest extends Specification {
        def matchingCache = Mock(ConsumerProvidedVariantFinder)
        def producerSchema = Mock(AttributesSchemaInternal)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 13:08:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/LocalComponentDependencyMetadataTest.groovy

    import org.gradle.util.TestUtil
    import spock.lang.Specification
    import spock.lang.Unroll
    
    import static com.google.common.collect.ImmutableList.copyOf
    import static org.gradle.util.internal.TextUtil.toPlatformLineSeparators
    
    class LocalComponentDependencyMetadataTest extends Specification {
        AttributesSchemaInternal attributesSchema = new DefaultAttributesSchema(TestUtil.instantiatorFactory(), SnapshotTestUtil.isolatableFactory())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DefaultMetadataProviderTest.groovy

    import org.gradle.util.AttributeTestUtil
    import org.gradle.util.TestUtil
    import org.gradle.util.internal.BuildCommencedTimeProvider
    import spock.lang.Specification
    
    import static org.gradle.util.internal.TextUtil.toPlatformLineSeparators
    
    class DefaultMetadataProviderTest extends Specification {
        def id = Stub(ModuleComponentIdentifier) {
            getGroup() >> 'group'
            getName() >> 'name'
            getVersion() >> "1.2"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanTest.groovy

    import spock.lang.Issue
    
    import java.util.function.Consumer
    
    import static org.gradle.internal.snapshot.CaseSensitivity.CASE_SENSITIVE
    import static org.gradle.util.internal.TextUtil.toPlatformLineSeparators
    import static org.gradle.util.internal.WrapUtil.toList
    
    class DefaultExecutionPlanTest extends AbstractExecutionPlanSpec {
        DefaultExecutionPlan executionPlan
        DefaultFinalizedExecutionPlan finalizedPlan
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 35.5K bytes
    - Viewed (0)
Back to top