Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for addWarning (0.04 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

        }
    
        /**
         * Adds one or more warnings to the given test
         *
         * @param testName the test name to add the warning
         * @param warnings the warning(s) to add
         */
        public void addWarning(String testName, String... warnings) {
            transformations.add(new InjectWarnings(Arrays.asList(warnings), testName));
        }
    
        /**
         * Adds one or more regex warnings to the given test
         *
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 22.3K bytes
    - Click Count (0)
  2. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy

                  task.removeMatch("_source.blah")
                  task.removeMatch("_source.junk", "two")
                  task.addMatch("_source.added", [name: 'jake', likes: 'cheese'], "one")
                  task.addWarning("one", "warning1", "warning2")
                  task.addWarningRegex("two", "regex warning here .* [a-z]")
                  task.addAllowedWarning("added allowed warning")
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 16.4K bytes
    - Click Count (0)
Back to Top