Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

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

         *
         * @param oldValue the value that has to match and will be replaced
         * @param newValue the value used in the replacement
         */
        public void replaceIsTrue(String oldValue, Object newValue) {
            transformations.add(new ReplaceIsTrue(oldValue, MAPPER.convertValue(newValue, TextNode.class)));
        }
    
        /**
         * Replaces all the values of a is_false assertion for all project REST tests.
    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.addAllowedWarning("added allowed warning")
                  task.addAllowedWarningRegex("added allowed warning regex .* [0-9]")
                  task.removeWarning("one", "warning to remove")
                  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")
    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