Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for AddMatch (0.17 seconds)

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

         * @param value    the value used in the addition. For example "foo"
         * @param testName the testName to apply addition
         */
        public void addMatch(String subKey, Object value, String testName) {
            transformations.add(new AddMatch(subKey, MAPPER.convertValue(value, JsonNode.class), testName));
        }
    
        /**
         * Adds one or more 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.replaceValueInMatch("_source.values", ["z", "x", "y"], "one")
                  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]")
    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