Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for replaceIsTrue (0.08 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/text/ReplaceIsTrue.java

     * Side Public License, v 1.
     */
    
    package org.elasticsearch.gradle.internal.test.rest.transform.text;
    
    import com.fasterxml.jackson.databind.node.TextNode;
    
    public class ReplaceIsTrue extends ReplaceTextual {
        public ReplaceIsTrue(String valueToBeReplaced, TextNode replacementNode) {
            super("is_true", valueToBeReplaced, replacementNode);
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 679 bytes
    - Click Count (0)
  2. 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)
  3. 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