- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for asTest (0.18 sec)
-
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
import org.gradle.testkit.runner.GradleRunner import org.gradle.testkit.runner.UnexpectedBuildFailure import org.hamcrest.CoreMatchers import org.hamcrest.MatcherAssert.assertThat import org.junit.Assert.assertFalse import org.junit.Assert.assertTrue import org.junit.Rule import org.junit.rules.TemporaryFolder import java.io.File import java.nio.file.Files abstract class AbstractBinaryCompatibilityTest { @get:Rule
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Sep 25 13:49:37 GMT 2023 - 16.4K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt
if (OperatingSystem.current().isWindows) { commandLine = listOf("cmd", "/c") + commandLine } } return execOutput.result.zip(execOutput.standardOutput.asText) { result, outputText -> if (result.exitValue == 0) outputText.trim() else "<unknown>" // It's a source distribution, we don't know. } } // pre-test/master/queue/alice/feature -> master
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Feb 09 22:52:01 GMT 2024 - 5.7K bytes - Viewed (2) -
build-logic/buildquality/src/main/kotlin/gradlebuild.verify-build-environment.gradle.kts
* limitations under the License. */ import java.nio.charset.Charset tasks.register("verifyIsProductionBuildEnvironment") { doLast { val systemCharset = Charset.defaultCharset().name() assert(systemCharset == "UTF-8") { "Platform encoding must be UTF-8. Is currently $systemCharset. Set -Dfile.encoding=UTF-8" } }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Feb 01 09:48:30 GMT 2021 - 941 bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts
* Returns the trimmed contents of the file at the given [path] after * marking the file as a build logic input. */ fun Project.trimmedContentsOfFile(path: String): String = providers.fileContents(repoRoot().file(path)).asText.get().trim() // TODO Simplify the buildTimestamp() calculation if possible fun Project.buildTimestamp(): Provider<String> = providers.of(BuildTimestampValueSource::class) { parameters {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 4.9K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt
val subprojectRoots = platformsFolder.asFile.listFiles(File::isDirectory).plus(subprojectsFolder.asFile).plus(testingFolder.asFile) return subprojectRoots.map { it.listFiles(File::isDirectory).asList() }.flatten() } private fun generateSubprojects(): List<GradleSubproject> { return generateSubprojectsDirectories() .filter { File(it, "build.gradle.kts").exists() ||
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Apr 04 07:21:38 GMT 2024 - 2.9K bytes - Viewed (0) -
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
val subprojectRoots = File("../platforms").listFiles(File::isDirectory).plus(File("../subprojects")) val subProjectFolders = subprojectRoots.map { it.listFiles(File::isDirectory).asList() }.flatten().filter { dir -> // filter out the directories that have only a `build` subdirectory - this usually happens after branch switching
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Tue Jan 02 10:00:06 GMT 2024 - 13.3K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild.test-fixtures.gradle.kts
/** * Test Fixtures Plugin. * * Configures the Project as a test fixtures producer if `src/testFixtures` is a directory: * - adds a new `testFixtures` source set which should contain utilities/fixtures to assist in unit testing * classes from the main source set, * - the test fixtures are automatically made available to the test classpath. *
Plain Text - Registered: Wed Mar 27 11:36:08 GMT 2024 - Last Modified: Mon Feb 12 13:19:06 GMT 2024 - 3.3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle
} } } def apiChangesJsonFile = layout.projectDirectory.file("src/changes/accepted-public-api-changes.json") def acceptedViolations = AcceptedApiChanges.parse(providers.fileContents(apiChangesJsonFile).asText.get()) def compatibilityBaselineVersion = moduleIdentity.releasedVersions.get().mostRecentRelease.version def ARTIFACT_TYPE = Attribute.of('artifactType', String) def RUNTIME_ATTRIBUTE = objects.named(Usage, Usage.JAVA_RUNTIME)
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Apr 11 12:20:44 GMT 2024 - 8.6K bytes - Viewed (0)