- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 148 for TestFile (0.36 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationTest.java
return testDirectoryProvider; } public TestFile getTestDirectory() { return getTestDirectoryProvider().getTestDirectory(); } public TestFile file(Object... path) { return getTestDirectory().file(path); } public TestFile testFile(String name) { return file(name); } public List<TestFile> createDirs(String... names) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 09:04:13 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/SystemPropertiesCompositeBuildFixture.groovy
} @Override TestFile getAccessLocation(List<BuildWithSystemPropertyDefined> definitions, AbstractIntegrationSpec test) { return null } } abstract boolean isApplicableToBuild(List<BuildWithSystemPropertyDefined> definitions)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 11.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy
} protected TestFile initScript(@GroovyBuildScriptLanguage String script) { initScriptFile.text = script initScriptFile } protected TestFile getSettingsFile() { testDirectory.file(settingsFileName) } protected TestFile getInitScriptFile() { testDirectory.file(initScriptFileName) } protected TestFile getSettingsKotlinFile() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:07:53 UTC 2024 - 32.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r213/ModelsWithGradleProjectIdentifierCrossVersionSpec.groovy
class ModelsWithGradleProjectIdentifierCrossVersionSpec extends ToolingApiSpecification { static List<Class<?>> modelsHavingGradleProjectIdentifier = [BuildInvocations, ProjectPublications] TestFile rootSingle TestFile rootMulti def setup() { rootSingle = singleProjectBuild("A") rootMulti = multiProjectBuild("B", ['x', 'y']) } @TargetGradleVersion(">=3.0")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/internal/installation/CurrentGradleInstallationLocatorTest.groovy
then: installation == null where: jarDirectory << ['other', 'other/plugins'] } private void createJarFile(TestFile jar) { TestFile contents = tmpDir.createDir('contents') TestFile classFile = contents.createFile('org/gradle/MyClass.class') ClassNode classNode = new ClassNode() classNode.version = Opcodes.V1_6
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcTestFixture.groovy
file("src/test/groovy/org/gradle/testclass2.groovy") << "package org.gradle; class testclass2 { }" } TestFile report(String sourceSet, String ext = 'html') { file(reportPath(sourceSet, ext)) } TestFile report(File projectDir, String sourceSet, String ext = 'html') { new TestFile(projectDir, reportPath(sourceSet, ext)) } private String reportPath(String sourceSet, String ext) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 08:01:57 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsTestKitInjectedJavaPluginIntegrationTest.groovy
@Requires(UnitTestPreconditions.NotWindows) class UndeclaredBuildInputsTestKitInjectedJavaPluginIntegrationTest extends AbstractUndeclaredBuildInputsIntegrationTest implements JavaPluginImplementation { TestFile jar TestFile testKitDir @Override String getLocation() { return "Plugin 'sneaky'" } @Rule SetSystemProperties setSystemProperties = new SetSystemProperties(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/CommonPluginValidationTrait.groovy
} TestFile getJavaTaskSource() { source("src/main/java/MyTask.java") } TestFile getGroovyTaskSource() { buildFile """ apply plugin: "groovy" """ source("src/main/groovy/MyTask.groovy") } TestFile getKotlinTaskSource() { buildFile.delete() buildKotlinFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 14:30:05 UTC 2024 - 2.4K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/process/ShellScript.groovy
import org.gradle.test.fixtures.file.TestFile import org.gradle.util.internal.TextUtil import java.nio.file.Path /** * The cross-platform builder of shell scripts that can be used to verify correctness of the * invocation of an executable. It uses "sh" syntax on POSIX platforms and batch files on Windows. */ abstract class ShellScript { protected final TestFile scriptFile
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 8.4K bytes - Viewed (0) -
testing/smoke-ide-test/src/smokeIdeTest/groovy/org/gradle/ide/sync/AbstractIdeaSyncTest.groovy
runIdeStarterWith(gradleDist, testDirectory.toPath(), ideHome, ide) } protected TestFile getTestDirectory() { temporaryFolder.testDirectory } protected TestFile file(Object... path) { if (path.length == 1 && path[0] instanceof TestFile) { return path[0] as TestFile } testDirectory.file(path) } private void runIdeStarterWith(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 16:28:38 UTC 2024 - 4.7K bytes - Viewed (0)