Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 159 for testPipe (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreatorTest.groovy

        private void createJarFileWithClassFiles(TestFile jar, List<String> classNames) {
            TestFile contents = tmpDir.createDir("contents/$jar.name")
    
            classNames.each { className ->
                writeClass(contents, className)
            }
    
            contents.zipTo(jar)
        }
    
        private static void writeClass(TestFile outputDir, String className) {
            TestFile classFile = outputDir.createFile("${className}.class")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 13:39:49 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCleanupIntegrationTest.groovy

        }
    
        private TestFile createCacheEntryDir(String entry) {
            TestFile dir = cacheDir.createDir(entry)
            dir.createFile("state.bin")
            dir.createFile("fingerprint.bin")
            return dir
        }
    
        private TestFile getGcFile() {
            return cacheDir.file("gc.properties")
        }
    
        private TestFile getCacheDir() {
            return file(".gradle/configuration-cache")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/BuildLogicChangeFixture.groovy

        public final String pluginId = 'build-logic'
        public final String task = 'greet'
        public final TestFile projectDir
        public final Language language
        public final Kind kind
        public final TestFile buildFile
    
        BuildLogicChangeFixture(TestFile projectDir, Language language = Language.JAVA, Kind kind = Kind.CHANGE_SOURCE) {
            this.projectDir = projectDir
            this.language = language
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/AbstractInitIntegrationSpec.groovy

    import org.gradle.test.fixtures.file.TestFile
    
    import static org.hamcrest.MatcherAssert.assertThat
    import static org.hamcrest.Matchers.containsString
    import static org.hamcrest.Matchers.not
    
    abstract class AbstractInitIntegrationSpec extends AbstractIntegrationSpec {
        TestFile containerDir
        TestFile targetDir
        TestFile subprojectDir
    
        abstract String subprojectName()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 07:17:03 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

    }
    
    fun getTestTaskName(testCoverage: TestCoverage, subprojects: List<String>): String {
        val testTaskName =
            if (testCoverage.testType == TestType.isolatedProjects) "isolatedProjectsIntegTest" else "${testCoverage.testType.name}Test"
        return when {
            subprojects.isEmpty() -> {
                testTaskName
            }
    
            else -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 05:47:35 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top