Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for randomAlphanumeric (0.22 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/FileUtilsTest.groovy

            when:
            File inputFile = new File(RandomStringUtils.randomAlphanumeric(10))
            then:
            inputFile == assertInWindowsPathLengthLimitation(inputFile);
    
            when:
            inputFile = new File(RandomStringUtils.randomAlphanumeric(261))
            assertInWindowsPathLengthLimitation(inputFile);
            then:
            def e = thrown(GradleException);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitIntegrationTest.groovy

            // we create a path that is 260 +1 (offset + "/" + randompath)
            def pathoffset = 260 - testDirectory.getAbsolutePath().length()
            def alphanumeric = RandomStringUtils.randomAlphanumeric(pathoffset)
            def testWorkingDir = testDirectory.createDir("$alphanumeric")
    
            buildFile << """
                apply plugin: 'java'
                ${mavenCentralRepository()}
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy

            def processIdentifier = RandomStringUtils.randomAlphanumeric(1000)
            1 * customMetaDataProvider.processIdentifier >> processIdentifier
            def customManager = new DefaultFileLockManager(customMetaDataProvider, 5000, contentionHandler, generator)
            def operationalDisplayName = RandomStringUtils.randomAlphanumeric(1000)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/process/internal/PathLimitationIntegrationTest.groovy

            def testDirectory = tmpDir.getTestDirectory()
            def pathoffset = absolutePathLength - 1 - testDirectory.getAbsolutePath().length()
            def alphanumeric = RandomStringUtils.randomAlphanumeric(pathoffset)
            return testDirectory.createDir("$alphanumeric")
        }
    
        public static class HelloWorldRemoteProcess implements Action<WorkerProcessContext>, Serializable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top