- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for textWithLineEndings (0.23 sec)
-
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingInputStreamHasherTest.groovy
def "can normalize line endings in files (eol = '#description')"() { def unnormalized = file('unnormalized.txt') << content.textWithLineEndings(eol) def normalized = file('normalized.txt') << content.textWithLineEndings('\n') expect: hasher.hashContent(unnormalized).get() == hasher.hashContent(normalized).get() where: eol | description
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 3K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingContentFixture.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingFileSystemLocationSnapshotHasherTest.groovy
"java class file content" | content.CLASS_FILE_CONTENT } def "always calls delegate when line ending sensitivity is set to DEFAULT"() { def file = file('foo') << content.textWithLineEndings('\r\n') def delegate = Mock(LineEndingNormalizingFileSystemLocationSnapshotHasher) def hasher = LineEndingNormalizingFileSystemLocationSnapshotHasher.wrap(delegate, LineEndingSensitivity.DEFAULT)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingResourceHasherTest.groovy
"java class file content" | content.CLASS_FILE_CONTENT } def "always calls delegate when line ending sensitivity is set to DEFAULT"() { def file = file('foo') << content.textWithLineEndings('\r\n') def delegate = Mock(ResourceHasher) def hasher = LineEndingNormalizingResourceHasher.wrap(delegate, LineEndingSensitivity.DEFAULT) def snapshotContext = snapshotContext(file)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 7.9K bytes - Viewed (0)