Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for readLines (0.41 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/ProcessInstrumentationInStaticGroovyIntegrationTest.groovy

            configurationCacheFails(":help")
    
            then:
            failure.assertOutputContains("FOOBAR=$expectedEnvVar\nCWD=${cwd.path}")
            problems.assertFailureHasProblems(failure) {
                def line = 7 + command.readLines().size()
                withProblem("Build file 'build.gradle': line $line: external process started")
            }
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. build-logic/performance-testing/src/main/kotlin/gradlebuild/performance/PerformanceTestPlugin.kt

        val scenarioFile = repoRoot().file("performance-test-splits/include-$testProject-performance-scenarios.csv").asFile
        return if (scenarioFile.isFile)
            scenarioFile.readLines(StandardCharsets.UTF_8)
                .filter { it.isNotEmpty() }
                .map {
                    val (className, scenario) = it.split(";")
                    "$className.$scenario"
                }
        else listOf()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

                    it.getMyInputs().from(inputs)
                }
            '''
            def configurationCache = newConfigurationCacheFixture()
            def consumedFileNames = {
                file('build/consumer/out.txt').readLines().collect {
                    new File(it).name
                }.toSet()
            }
    
            when:
            configurationCacheRun('consumer', '-DgenerateInputs=4')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSupportedTypesIntegrationTest.groovy

                    }
                }
                tasks.register("ok", SomeTask)
            """
    
            when:
            configurationCacheRun "ok"
            def expected = result.output.readLines().find { it.startsWith("ORDER=") }.substring(6)
    
            and:
            configurationCacheRun "ok"
    
            then:
            outputContains(expected)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/JavaObjectSerializationCodec.kt

     * - the following methods of [ObjectInputStream] are not supported and will throw [UnsupportedOperationException]:
     *    - `readLine()`, `readFully(ByteArray)`, `readFully(ByteArray, Int, Int)`, `readUnshared()`, `readFields()`, `transferTo(OutputStream)` and `readAllBytes()`.
     * - validations registered via [ObjectInputStream.registerValidation] are simply ignored;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top