- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for getKeyOfArrayToFind (0.1 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/RestTestTransformByParentArray.java
* to transform. * @return The name of key to find in the REST test that has a value that is an Array */ String getKeyOfArrayToFind();Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1004 bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/match/AddMatch.java
matchContent.set(matchKey, matchValue); matchObject.set("match", matchContent); matchParent.add(matchObject); } @Override @Internal public String getKeyOfArrayToFind() { // match objects are always in the array that is the direct child of the test name, i.e. // "my test name" : [ {"do" : ... }, { "match" : .... }] return testName; } @Input
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) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/RestTestTransformer.java
.map(transform -> (RestTestTransformByParentArray) transform) .collect(Collectors.groupingBy(RestTestTransformByParentArray::getKeyOfArrayToFind)); // transform the tests and include the global setup and teardown as part of the transform for (ObjectNode test : tests) { Iterator<Map.Entry<String, JsonNode>> testsIterator = test.fields();
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jul 12 17:42:01 GMT 2021 - 8.1K bytes - Click Count (0)