Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for cmdToVarargLiterals (0.14 sec)

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

                String getGroovy(List<String> cmd) {
                    return """String[] command = [${ShellScript.cmdToVarargLiterals(cmd)}]"""
                }
    
                @Override
                String getJava(List<String> cmd) {
                    return """String[] command = new String[] { ${ShellScript.cmdToVarargLiterals(cmd)} };"""
                }
    
                @Override
                String getKotlin(List<String> cmd) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ExternalProcessFixture.groovy

        ExternalProcessFixture(TestFile testDirectory) {
            this.testDirectory = testDirectory
        }
    
        private String getCommandLineAsVarargLiterals() {
            return ShellScript.cmdToVarargLiterals(testExecutable.commandLine)
        }
    
        interface Snippets {
            abstract String getBody()
    
            abstract String getImports()
        }
    
        interface SnippetsFactory {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. subprojects/core/src/testFixtures/groovy/org/gradle/process/ShellScript.groovy

         *
         * @param cmd the command line elements to be converted
         * @return a comma-separated list of string literals
         */
        static String cmdToVarargLiterals(List<String> cmd) {
            return cmdToStringLiterals(cmd).join(", ")
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top