Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

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

     * For example, change from "length":{"index._doc": 1} to "length":{"index._doc": 2}
     */
    public class ReplaceValueInLength extends ReplaceByKey {
    
        public ReplaceValueInLength(String replaceKey, NumericNode replacementNode) {
            this(replaceKey, replacementNode, null);
        }
    
        public ReplaceValueInLength(String replaceKey, NumericNode replacementNode, String testName) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 14:44:05 GMT 2021
    - 1.5K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

         * @param subKey the key name directly under match to replace. For example "x"
         * @param value  the value used in the replacement. For example 99
         */
        public void replaceValueInLength(String subKey, int value) {
            transformations.add(new ReplaceValueInLength(subKey, MAPPER.convertValue(value, NumericNode.class)));
        }
    
        /**
         * Replaces all the values of a length assertion for the 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)
  3. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy

    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