Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for testFiles (0.15 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

    import static org.gradle.util.Matchers.matchesRegexp
    
    class ConfigurationCacheEncryptionIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
        TestFile keyStoreDir
        String encryptionKeyText
        String encryptionKeyAsBase64
    
        def setup() {
            keyStoreDir = new TestFile(testDirectory, 'keystores')
            encryptionKeyText = "01234567890123456789012345678901"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationInDynamicGroovyIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.inputs.process.instrument
    
    import org.gradle.integtests.fixtures.GroovyBuildScriptLanguage
    import org.gradle.test.fixtures.file.TestFile
    import spock.lang.Shared
    
    /**
     * Base class for tests that invoke external process with the dynamic Groovy code.
     * There are many different ways to run a process in Groovy, and all are producing different byte code.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/FilesInTransformIntegrationTest.groovy

    
    import org.gradle.internal.cc.impl.fixtures.TransformFixture
    import org.gradle.internal.cc.impl.inputs.process.AbstractProcessIntegrationTest
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.util.internal.TextUtil
    
    class FilesInTransformIntegrationTest extends AbstractProcessIntegrationTest {
        def setup() {
            inputFile.text = "INPUT FILE CONTENT"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/UnrelatedMethodInstrumentationInDynamicGroovyIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.inputs.process.instrument
    
    import org.gradle.integtests.fixtures.GroovyBuildScriptLanguage
    import org.gradle.test.fixtures.file.TestFile
    
    class UnrelatedMethodInstrumentationInDynamicGroovyIntegrationTest extends AbstractProcessInstrumentationIntegrationTest implements DynamicGroovyPluginMixin {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ExternalProcessFixture.groovy

    import org.gradle.process.TestJavaMain
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.util.internal.TextUtil
    
    import javax.annotation.Nullable
    import java.util.function.Function
    
    /**
     * Helper to test {@code exec} and {@code javaexec} methods on scripts and {@code ExecOperations}.
     */
    class ExternalProcessFixture {
        private final TestFile testDirectory
        private final ShellScript testExecutable = ShellScript.builder()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractSmokeTest.groovy

            'build.gradle'
        }
    
        void withKotlinBuildFile() {
            buildFile = new File(testProjectDir, "${getDefaultBuildFileName()}.kts")
        }
    
        TestFile file(String filename) {
            def file = new TestFile(testProjectDir, filename)
            def parentDir = file.getParentFile()
            assert parentDir.isDirectory() || parentDir.mkdirs()
    
            file
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 08:14:32 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIncludedBuildLogicIntegrationTest.groovy

     */
    
    package org.gradle.internal.cc.impl
    
    import org.gradle.api.Plugin
    import org.gradle.api.Project
    import org.gradle.test.fixtures.file.TestFile
    
    class ConfigurationCacheIncludedBuildLogicIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
        TestFile pluginSourceFile
    
        def setup() {
            settingsFile << "includeBuild('build-logic')"
            def rootDir = file("build-logic")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/TransformFixture.groovy

    import org.gradle.api.tasks.InputFiles
    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.api.tasks.TaskAction
    import org.gradle.test.fixtures.file.TestFile
    
    import java.nio.file.Files
    import java.util.stream.Collectors
    
    /**
     * A helper to define a plugin that applies a simple transform action to dependencies.
     */
    class TransformFixture {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

                .toString()
            return new TestFile(immutableOutputDirPath.toString())
        }
    
        TestFile gradleUserHomeOutputDir(String from, String to, Closure<String> stream = { output }) {
            outputDir(from, to, this.&gradleUserHomeOutputDirs, stream)
        }
    
        Set<TestFile> allOutputDirs(String from, String to, Closure<String> stream = { output }) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

            ignoreMissingSettingsFile = true;
            return this;
        }
    
        private void ensureSettingsFileAvailable() {
            TestFile workingDir = new TestFile(getWorkingDir());
            TestFile dir = workingDir;
            while (dir != null && getTestDirectoryProvider().getTestDirectory().isSelfOrDescendant(dir)) {
                if (hasSettingsFile(dir) || hasSettingsFile(dir.file("master"))) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top