- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for toPlatformLineSeparators (0.29 sec)
-
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) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/process/ArgWriterTest.groovy
when: argWriter.args("-nologo") then: writer.toString() == toPlatformLineSeparators("-nologo\n") } def "writes multiple arguments to line"() { when: argWriter.args("-I", "some/dir") then: writer.toString() == toPlatformLineSeparators("-I some/dir\n") } def "quotes argument with whitespace"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/VersionCatalogGeneratorTest.groovy
import org.gradle.api.file.Directory import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider import org.junit.Rule import spock.lang.Specification import static org.gradle.util.internal.TextUtil.toPlatformLineSeparators class VersionCatalogGeneratorTest extends Specification { private static final String COMMON_START = """# This file was generated by the Gradle 'init' task.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 21 12:02:29 UTC 2023 - 5K bytes - Viewed (0) -
platforms/core-runtime/client-services/src/test/groovy/org/gradle/internal/daemon/client/clientinput/DaemonClientInputForwarderTest.groovy
when: userInputReceiver.readAndForwardText(event) source << toPlatformLineSeparators("def\njkl\n") then: receiveUserResponse "12" when: userInputReceiver.readAndForwardStdin(new ReadStdInEvent()) then: receiveStdin toPlatformLineSeparators("jkl\n") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 12:11:05 UTC 2024 - 5K bytes - Viewed (0) -
platforms/jvm/ear/src/test/groovy/org/gradle/plugins/ear/descriptor/internal/DefaultDeploymentDescriptorTest.groovy
import org.gradle.util.TestUtil import org.junit.Rule import spock.lang.Specification import javax.xml.parsers.DocumentBuilderFactory import static org.gradle.util.internal.TextUtil.toPlatformLineSeparators class DefaultDeploymentDescriptorTest extends Specification { private ObjectFactory objectFactory = TestUtil.objectFactory()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 19 22:06:51 UTC 2023 - 9.4K bytes - Viewed (0) -
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) -
subprojects/core-api/src/test/groovy/org/gradle/internal/typeconversion/ErrorHandlingNotationParserTest.groovy
*/ package org.gradle.internal.typeconversion import org.gradle.internal.exceptions.DiagnosticsVisitor import spock.lang.Specification import static org.gradle.util.internal.TextUtil.toPlatformLineSeparators class ErrorHandlingNotationParserTest extends Specification { def NotationParser<String, String> target = Mock() def parser = new ErrorHandlingNotationParser<String, String>("a thing", "<broken>", false, target)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:56:08 UTC 2021 - 2.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/NotationParserBuilderSpec.groovy
*/ package org.gradle.internal.typeconversion import org.gradle.internal.exceptions.DiagnosticsVisitor import spock.lang.Specification import static org.gradle.util.internal.TextUtil.toPlatformLineSeparators class NotationParserBuilderSpec extends Specification { def "adds just return parser as default"() { when: def parser = NotationParserBuilder.toType(String.class).toComposite()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:56:08 UTC 2021 - 6.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/ModuleVersionResolveExceptionTest.groovy
expect: exception.message == 'Could not resolve a:b:c.' onePath.message == toPlatformLineSeparators('''Could not resolve a:b:c. Required by: org:a:1.2 > org:b:5 > org:c:1.0''') onePath.stackTrace == exception.stackTrace onePath.cause == cause twoPaths.message == toPlatformLineSeparators('''Could not resolve a:b:c. Required by: org:a:1.2 > org:b:5 > org:c:1.0
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/slf4j/OutputEventListenerBackedLoggerDefaultConfigurationTest.groovy
then: err.empty out == TextUtil.toPlatformLineSeparators("""lifecycle warn quiet """) } def "messages logged at ERROR level are directed to default error stream"() { when: logger().error("error") then: out.empty err == TextUtil.toPlatformLineSeparators("""error """) } private String stacktrace(Exception e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 2.7K bytes - Viewed (0)