- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for addWarningRegex (0.06 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java
* Adds one or more regex warnings to the given test * * @param testName the test name to add the regex warning * @param warningsRegex the regex warning(s) to add */ public void addWarningRegex(String testName, String... warningsRegex) { transformations.add(new InjectWarnings(true, Arrays.asList(warningsRegex), testName)); } /** * Removes one or more warnings *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) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy
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]") task.addAllowedWarning("added allowed warning") task.addAllowedWarningRegex("added allowed warning regex .* [0-9]")
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)