Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for addMatch (0.29 seconds)

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

     */
    public class AddMatch implements RestTestTransformByParentArray {
        private static JsonNodeFactory jsonNodeFactory = JsonNodeFactory.withExactBigDecimals(false);
        private final String matchKey;
        private final String testName;
        private final JsonNode matchValue;
    
        public AddMatch(String matchKey, JsonNode matchValue, String testName) {
            this.matchKey = matchKey;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java

         * @throws SQLRuntimeException
         *             If a {@link SQLException} occurs.
         */
        public static void addBatch(final PreparedStatement ps) throws SQLRuntimeException {
            assertArgumentNotNull("ps", ps);
    
            try {
                ps.addBatch();
            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.9K bytes
    - Click Count (0)
Back to Top