Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for replaceKeyInDo (0.06 seconds)

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

         * @param newKeyName the new key name directly under do.
         * @param testName   the testName to apply replacement
         * @see ReplaceKeyInDo
         */
        public void replaceKeyInDo(String oldKeyName, String newKeyName, String testName) {
            transformations.add(new ReplaceKeyInDo(oldKeyName, newKeyName, testName));
        }
    
        /**
         * A transformation to replace the key in a do section for given REST 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.replaceIsTrue("value_to_replace", "replaced_value")
                  task.replaceIsFalse("value_to_replace", "replaced_value")
                  task.replaceKeyInDo("do_.some.key_to_replace", "do_.some.key_that_was_replaced")
                  task.replaceKeyInDo("do_.some.key_to_replace_in_two", "do_.some.key_that_was_replaced_in_two", "two")
                  task.replaceKeyInMatch("match_.some.key_to_replace", "match_.some.key_that_was_replaced")
    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