Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for isConsoleCandidate (0.08 seconds)

  1. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

        }
    
        @OutputDirectory
        DirectoryProperty getTestRoot() {
            return testRoot
        }
    /**
         * Is this snippet a candidate for conversion to `// CONSOLE`?
         */
        static isConsoleCandidate(Snippet snippet) {
            /* Snippets that are responses or already marked as `// CONSOLE` or
             * `// NOTCONSOLE` are not candidates. */
            if (snippet.console != null || snippet.testResponse) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/DocsTestPlugin.groovy

                'List snippets that probably should be marked // CONSOLE'
                defaultSubstitutions = commonDefaultSubstitutions
                perSnippet {
                    if (RestTestsFromSnippetsTask.isConsoleCandidate(it)) {
                        println(it.toString())
                    }
                }
            }
    
            Provider<Directory> restRootDir = project.getLayout().buildDirectory.dir("rest")
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.6K bytes
    - Click Count (0)
Back to Top