Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 224 for testPipe (0.19 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy

        TestFile testFile
        TestFile testFileLock
        TestFile testDir
        TestFile testDirLock
    
        List<Closeable> openedLocks = []
    
        def setup() {
            testFile = tmpDir.createFile("state.bin")
            testFileLock = tmpDir.file(testFile.name + ".lock")
            testDir = tmpDir.createDir("lockable-dir")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

            }
            setUpAgentIfNeeded(testType, executer)
            disableIfNeeded(testType, executer)
        }
    
    
    internal
    fun IntegrationTest.disableIfNeeded(testType: TestType, executer: String) {
        if (testType == TestType.INTEGRATION && executer == "isolatedProjects") {
            isEnabled = false
        }
    }
    
    
    private
    fun IntegrationTest.setUpAgentIfNeeded(testType: TestType, executer: String) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 23:14:25 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy

            "constructing a byte channel with open options" | (TestFile it) -> { UndeclaredFileAccess.filesNewByteChannelWithOpenOptions(testFilePath(it)) }
            "reading lines from a file"                     | (TestFile it) -> { UndeclaredFileAccess.fileReadLines(testFilePath(it)) }
        }
    }
    
    class FileUtils {
        static String testFilePath(TestFile testDirectory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/AbstractMavenModule.groovy

        }
    
        void assertChecksumsPublishedFor(TestFile testFile) {
            def sha1File = sha1File(testFile)
            sha1File.assertIsFile()
            assert HashCode.fromString(sha1File.text) == Hashing.sha1().hashFile(testFile)
            if (extraChecksums && !(testFile.name in missingExtraChecksums)) {
                def sha256File = sha256File(testFile)
                sha256File.assertIsFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  5. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/java/SamplesJavaTestingIntegrationTest.groovy

         * which can then be used to extract information from the XML.
         */
        private static getTestResultsFileAsXml(TestFile sampleDir, String testClassName, String taskName = "test") {
            return new XmlSlurper().parse(getTestResultsFile(sampleDir, testClassName, taskName))
        }
    
        /**
         * Returns the {@code TestFile} instance representing the required JUnit test
         * results file. Assumes the standard test results directory.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  6. pkg/controller/deployment/progress_test.go

    		Reason:             util.NewRSAvailableReason,
    		LastUpdateTime:     testTime,
    		LastTransitionTime: testTime,
    	}
    	replicaSetUpdated := apps.DeploymentCondition{
    		Type:               apps.DeploymentProgressing,
    		Status:             v1.ConditionTrue,
    		Reason:             util.ReplicaSetUpdatedReason,
    		LastUpdateTime:     testTime,
    		LastTransitionTime: testTime,
    	}
    
    	tests := []struct {
    		name            string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/wrapper-shared/src/test/groovy/org/gradle/wrapper/InstallTest.groovy

        @Shared
        @ClassRule
        TestNameTestDirectoryProvider sharedTemporaryFolder = TestNameTestDirectoryProvider.newInstance(getClass())
        @Shared TestFile templateZipFile = new TestFile(sharedTemporaryFolder.testDirectory, "template-gradle.zip")
        @Shared TestFile templateEvalZipFile = new TestFile(sharedTemporaryFolder.testDirectory, "template-eval-gradle.zip")
        @Shared String templateZipHash
        @Shared String templateEvalZipHash
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/rules/OverlappingOutputsIntegrationTest.groovy

        }
    
        def "overlapping output with localStateFileTask, dirTask then localStateFileTask, dirTask"() {
            def (String localStateFileTask, TestFile localStateFileTaskOutput, TestFile localStateFileTaskState,
            String dirTask, TestFile dirTaskOutput) = useOverlappingLocalStateFileAndOutputDirectory()
    
            when:
            withBuildCache().run(localStateFileTask, dirTask)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:54:14 UTC 2024
    - 30K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top